Commit 88d01be6 by LJM

移动端--按货品复核,输入符号自动回到入库批次号中 以及复核任务展示、打快递单展示错误

parent 06700c58
Showing with 37 additions and 25 deletions
......@@ -208,7 +208,7 @@
<uni-drawer ref="showRight" mode="right">
<view class="uni-drawer-picking" v-if="detail">
<view class="title row rowCenter verCenter">
<text class="iconfont icon-juxing2" @click="closeDrawer(1)"></text>
<text class="iconfont icon-juxing2" @click="closeDrawer()"></text>
<text class="text">按货品复核单个</text>
</view>
<view class="pack">
......@@ -226,7 +226,7 @@
</view>
</view>
</view>
<view class="field-item row" style="margin-top: 39rpx;">
<view class="field-item row" style="margin-top: 10rpx;">
<view class="item row verCenter" style="flex: 0 0 100%;">
<text class="label">入库批次号:</text>
<text class="text">{{ detail.stock_in_batch_sn }}</text>
......@@ -315,12 +315,12 @@
<text class="tt" style="color: #F98119;">{{ detail.no_recheck_qty }}</text>
</view>
</view>
<view class="form-input" style="margin-top: 17rpx;">
<view class="form-input">
<view class="input-title"><text class="input-title-t1">复核数量:</text></view>
<view class="input-box"><input type="text" class="uni-input" placeholder-style="color:#919399" placeholder="请输入复核数量" v-model="formParams.recheck_qty" /></view>
</view>
<view class="field-item row">
<view class="item row verCenter" style="flex: 0 0 100%;">
<view class="item row verCenter" style="flex: 0 0 100%;margin-bottom: 0;">
<text class="label">销 售 员:</text>
<text class="tt">{{ detail.sale_name }}</text>
</view>
......@@ -362,7 +362,7 @@
</view>
</view>
<view class="btn row verCenter bothSide">
<view class="btn0 row rowCenter verCenter" @click="closeDrawer(1)">取 消</view>
<view class="btn0 row rowCenter verCenter" @click="closeDrawer()">取 消</view>
<view class="btn1 row rowCenter verCenter" style="width: 50%;" @click="markChecked(detail.stock_out_item_id, formParams.recheck_qty, searchParams.box_name)">复 核</view>
</view>
</view>
......@@ -371,7 +371,7 @@
<uni-drawer ref="showRightPack" mode="right">
<view class="uni-drawer-picking">
<view class="title row rowCenter verCenter">
<text class="iconfont icon-juxing2" @click="closeDrawer(2)"></text>
<text class="iconfont icon-juxing2" @click="closeDrawer()"></text>
<text class="text">按容器复核</text>
</view>
<view class="pack">
......@@ -519,7 +519,7 @@
<uni-drawer ref="showRightAll" mode="right">
<view class="uni-drawer-picking">
<view class="title row rowCenter verCenter">
<text class="iconfont icon-juxing2" @click="closeDrawer(0)"></text>
<text class="iconfont icon-juxing2" @click="closeDrawer()"></text>
<text class="text">一键复核</text>
</view>
<view class="p-text">
......@@ -562,7 +562,7 @@
<view class="default row rowCenter verCenter" @click="chooseImageChange()" v-if="image_list.length < maxNum"><text class="iconfont icon-a-juxing3"></text></view>
</view>
<view class="btn row verCenter bothSide">
<view class="btn0 row rowCenter verCenter" @click="closeDrawer(0)">取 消</view>
<view class="btn0 row rowCenter verCenter" @click="closeDrawer()">取 消</view>
<view class="btn1 row rowCenter verCenter" style="width: 50%;" @click="multiMarkChecked">一键复核</view>
</view>
</view>
......@@ -768,7 +768,7 @@
this.isFocus = false;
setTimeout(() => {
this.isFocus = true;
}, 1000);
}, 800);
this.getData();
}
},
......@@ -1243,9 +1243,18 @@
icon: 'success'
});
setTimeout(() => {
this.search_keyword = '';
this.searchParams.stock_in_batch_sn = '';
this.history_id = [];
this.filter_id = []; //清空选中状态
this.getData();
this.closeDrawer(1);
this.filter_id = []; //清空
this.closeDrawer();
this.isFocus = false;
setTimeout(() => {
this.isFocus = true;
}, 500);
}, 2000);
} else {
uni.showModal({
......@@ -1280,10 +1289,16 @@
icon: 'success'
});
setTimeout(() => {
this.search_keyword = '';
this.searchParams.stock_in_batch_sn = '';
this.history_id = [];
this.filter_id = []; //清空选中状态
this.getData();
this.closeDrawer(2);
this.closeDrawer(0);
this.filter_id = []; //清空
this.closeDrawer();
this.isFocus = false;
setTimeout(() => {
this.isFocus = true;
}, 500);
}, 2000);
} else {
uni.showModal({
......@@ -1399,17 +1414,14 @@
this.image_list = []; //清空图片列表
}
},
closeDrawer(type) {
if (type == 1) {
//按货品复核
this.$refs.showRight.close();
} else if (type == 2) {
//按容器复核
this.$refs.showRightPack.close();
} else if (type == 0) {
//一键复核
this.$refs.showRightAll.close();
}
/**
* @param {Object} type
* 一键关闭弹窗
*/
closeDrawer() {
this.$refs.showRight.close(); //按货品复核
this.$refs.showRightPack.close(); //按容器复核
this.$refs.showRightAll.close(); //一键复核
}
}
};
......
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