Commit ef72aff3 by LJM

理货数量必填

parent 1c3c10ae
Showing with 1 additions and 1 deletions
...@@ -859,6 +859,7 @@ ...@@ -859,6 +859,7 @@
* 理货明细提交提醒确认 * 理货明细提交提醒确认
*/ */
submitTallyDetailConfirm() { submitTallyDetailConfirm() {
this.tally_info.tally_num = this.tally_info.tally_num_temp; //更新理货数量
if (!this.tally_info.tally_num) { if (!this.tally_info.tally_num) {
uni.showToast({ uni.showToast({
title: '请填写理货数量', title: '请填写理货数量',
...@@ -866,7 +867,6 @@ ...@@ -866,7 +867,6 @@
}); });
return false; return false;
} }
this.tally_info.tally_num = this.tally_info.tally_num_temp; //更新理货数量
this.request(API.submitTallyDetail, 'POST', this.tally_info, true).then(res => { this.request(API.submitTallyDetail, 'POST', this.tally_info, true).then(res => {
if (res.err_code === 0) { if (res.err_code === 0) {
uni.showToast({ uni.showToast({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment