Commit 10a23b9a by LJM

add

parent 4b2d41b6
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
<!-- 左侧 --> <!-- 左侧 -->
<view class="bar" style="width: 60%;"> <view class="bar" style="width: 60%;">
<template v-if="curr == 3"> <template v-if="curr == 3">
<view class="t1 mb16" style="white-space: nowrap;">{{item.abnormal_batch}}{{item.sync_status_cn}} {{item.tally_status_cn || ''}}</view> <view class="t1 mb16" style="white-space: nowrap;">{{item.abnormal_batch}}{{item.sync_status_cn}} {{item.box_tally_status_cn || ''}}</view>
</template> </template>
<template v-else> <template v-else>
<view class="t1 mb16">{{item.abnormal_batch}}</view> <view class="t1 mb16">{{item.abnormal_batch}}</view>
......
...@@ -37,6 +37,10 @@ ...@@ -37,6 +37,10 @@
<view class="staus_type_val row rowCenter verCenter" v-if="item.is_goods_check">商检</view> <view class="staus_type_val row rowCenter verCenter" v-if="item.is_goods_check">商检</view>
</view> </view>
<view class="input-box row verCenter" style="flex: 00 100%;"> <view class="input-box row verCenter" style="flex: 00 100%;">
<text class="label">入仓号:</text>
<text class="text">{{item.erp_order_sn}}</text>
</view>
<view class="input-box row verCenter" style="flex: 00 100%;">
<text class="label">型号:</text> <text class="label">型号:</text>
<text class="text">{{ item.goods_type }}</text> <text class="text">{{ item.goods_type }}</text>
<text class="tt" style="margin-left: 8rpx;">{{ item.sync_status_cn }}</text> <text class="tt" style="margin-left: 8rpx;">{{ item.sync_status_cn }}</text>
......
...@@ -878,6 +878,8 @@ ...@@ -878,6 +878,8 @@
this.$refs.popupTallyNum.close(); this.$refs.popupTallyNum.close();
//理货提交成功后自动清空型号查询框 //理货提交成功后自动清空型号查询框
this.clearInput(3); this.clearInput(3);
// 用户点击确定按钮后的操作
this.getTallyData();
}, 2000); }, 2000);
} else if (res.err_code === 10000) { } else if (res.err_code === 10000) {
uni.showModal({ uni.showModal({
...@@ -886,6 +888,9 @@ ...@@ -886,6 +888,9 @@
showCancel: false, showCancel: false,
success: (res) => { success: (res) => {
if (res.confirm) { if (res.confirm) {
this.$refs.popupTallyNum.close();
//理货提交成功后自动清空型号查询框
this.clearInput(3);
// 用户点击确定按钮后的操作 // 用户点击确定按钮后的操作
this.getTallyData(); this.getTallyData();
} }
...@@ -948,6 +953,7 @@ ...@@ -948,6 +953,7 @@
if (this.form[index].wait_tally_num != this.form[index].tally_num) { if (this.form[index].wait_tally_num != this.form[index].tally_num) {
//当本次理货数量≠待收数量时,则弹出警示弹窗,需用户再次输入理货数量并再次点击【确认提交】时,才执行理货提交 //当本次理货数量≠待收数量时,则弹出警示弹窗,需用户再次输入理货数量并再次点击【确认提交】时,才执行理货提交
this.tally_info = this.form[index] this.tally_info = this.form[index]
this.tally_info.tally_num_temp = '';
this.$refs.popupTallyNum.open('center'); this.$refs.popupTallyNum.open('center');
return false; return false;
} }
...@@ -962,6 +968,7 @@ ...@@ -962,6 +968,7 @@
setTimeout(() => { setTimeout(() => {
//理货提交成功后自动清空型号查询框 //理货提交成功后自动清空型号查询框
this.getTallyData();
this.clearInput(3); this.clearInput(3);
}, 2000); }, 2000);
} else if (res.err_code === 10000) { } else if (res.err_code === 10000) {
...@@ -973,6 +980,7 @@ ...@@ -973,6 +980,7 @@
if (res.confirm) { if (res.confirm) {
// 用户点击确定按钮后的操作 // 用户点击确定按钮后的操作
this.getTallyData(); this.getTallyData();
this.clearInput(3);
} }
} }
}); });
......
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