增加货位信息手动盘点出库功能
This commit is contained in:
@@ -58,8 +58,8 @@
|
||||
<!-- 操作按钮 -->
|
||||
<view class="btn-section" >
|
||||
<button class="btn btn-blue" v-if="outboundList" @click="handleBarcode">查询</button>
|
||||
<button class="btn btn-orange" v-if="outboundList" @click="stockoutComplete">托盘确认出库</button>
|
||||
<button class="btn btn-green" v-if="outboundList" @click="stockoutCompleteAll">一键确认出库</button>
|
||||
<button class="btn btn-orange" v-if="outboundList" @click="stockoutComplete">托盘确认出库(部分拣选确认)</button>
|
||||
<button class="btn btn-green" v-if="outboundList" @click="stockoutCompleteAll">一键确认出库(整托确认)</button>
|
||||
<button class="btn btn-default" @click="resetForm">重置</button>
|
||||
</view>
|
||||
</view>
|
||||
@@ -194,13 +194,23 @@
|
||||
|
||||
// console.log(this.barcode)
|
||||
// var that = this
|
||||
stockoutTrayCodeComplete(this.barcode).then(() => {
|
||||
that.$modal.msgSuccess(this.barcode + '出库确认成功')
|
||||
that.resetForm()
|
||||
}).catch(() => {
|
||||
// 全局拦截器通常已处理错误弹窗,这里可只处理状态重置
|
||||
// console.log('出库确认失败')
|
||||
})
|
||||
|
||||
this.$modal.confirm('该操作需要确认版辊数量再统一执行确认出库,点击【确定】后继续执行').then(() => {
|
||||
stockoutTrayCodeComplete(this.barcode).then(() => {
|
||||
that.$modal.msgSuccess(this.barcode + '出库确认成功')
|
||||
that.resetForm()
|
||||
}).catch(() => {
|
||||
// 全局拦截器通常已处理错误弹窗,这里可只处理状态重置
|
||||
// console.log('出库确认失败')
|
||||
})
|
||||
}).then(() => {
|
||||
this.$modal.msgSuccess(this.barcode + '出库确认成功');
|
||||
this.resetForm();
|
||||
}).catch(() => {
|
||||
// 全局拦截器通常已处理错误弹窗,这里可只处理状态重置
|
||||
// console.log('出库确认失败或用户取消')
|
||||
});
|
||||
|
||||
},
|
||||
|
||||
stockoutCompleteAll() {
|
||||
|
||||
Reference in New Issue
Block a user