增加货位信息手动盘点出库功能
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
</view>
|
||||
<view class="card-info">
|
||||
<text class="card-title">选择托盘作废绑定信息</text>
|
||||
<text class="card-desc">扫描或输入托盘条码选择版辊绑盘信息作废</text>
|
||||
<text class="card-desc">扫描或输入托盘条码作废全部绑定信息</text>
|
||||
</view>
|
||||
</view>
|
||||
<uni-icons type="right" size="18" color="#ccc"></uni-icons>
|
||||
@@ -34,8 +34,8 @@
|
||||
<uni-icons type="scan" size="24" color="#fff"></uni-icons>
|
||||
</view>
|
||||
<view class="card-info">
|
||||
<text class="card-title">版辊绑定信息作废</text>
|
||||
<text class="card-desc">扫描或输入辊号执行当前版辊绑盘信息作废</text>
|
||||
<text class="card-title">单版辊绑定作废</text>
|
||||
<text class="card-desc">扫描或输入辊号执行单独版辊绑盘信息作废</text>
|
||||
</view>
|
||||
</view>
|
||||
<uni-icons type="right" size="18" color="#ccc"></uni-icons>
|
||||
|
||||
@@ -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