|
|
|
@ -55,8 +55,8 @@
|
|
|
|
|
<!-->保存-->
|
|
|
|
|
<!--</el-button>-->
|
|
|
|
|
<el-button size="mini" type="primary" @click.native="submit()" :loading="submitLoading"
|
|
|
|
|
v-if="splitType=='out'" style="margin-right: 8px;border-radius: 5%;"
|
|
|
|
|
:disabled="splitType=='out' && redMesg"
|
|
|
|
|
v-show="isLinkDisabled" style="margin-right: 8px;border-radius: 5%;"
|
|
|
|
|
:disabled="orderFormData.billNo == null && curQueueName == '' "
|
|
|
|
|
>上货完成
|
|
|
|
|
</el-button>
|
|
|
|
|
<!-- <el-button size="mini" type="primary" @click.native="" :loading="submitLoading" v-show="isLinkDisabled"
|
|
|
|
@ -435,7 +435,11 @@ export default {
|
|
|
|
|
resetKey: {
|
|
|
|
|
type: Function,
|
|
|
|
|
required: true
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
fifoSplitTag: {//拆零标记
|
|
|
|
|
type: Object,
|
|
|
|
|
required: true
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
watch: {
|
|
|
|
@ -1008,6 +1012,9 @@ export default {
|
|
|
|
|
this.redMesgOld = true
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (this.queueStatus == 0){
|
|
|
|
|
this.getOrder()
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
@ -1179,6 +1186,8 @@ export default {
|
|
|
|
|
|
|
|
|
|
//添加条码后提交
|
|
|
|
|
addCodeSubmit(tQuery) {
|
|
|
|
|
console.log("当前拆零标记" , this.fifoSplitTag)
|
|
|
|
|
tQuery.fifoSplitTag = this.fifoSplitTag
|
|
|
|
|
addOrderWeb(tQuery).then((response) => {
|
|
|
|
|
if (response.code === 20000) {
|
|
|
|
|
this.orderFormData.billNo = response.data.orderId
|
|
|
|
@ -2344,12 +2353,24 @@ export default {
|
|
|
|
|
getOrder() {
|
|
|
|
|
let query = {
|
|
|
|
|
workPlaceCode: this.workplaceId,
|
|
|
|
|
workPlaceQueueCode: this.curQueue.code
|
|
|
|
|
workPlaceQueueCode: this.curQueue.code,
|
|
|
|
|
action: this.orderFormData.action,
|
|
|
|
|
fifoSplitTag: this.fifoSplitTag
|
|
|
|
|
}
|
|
|
|
|
getProcessingOrder(query).then(res => {
|
|
|
|
|
if (res.code == 20000) {
|
|
|
|
|
if (res.data != null) {
|
|
|
|
|
this.refreshOrder(res.data)
|
|
|
|
|
this.orderFormData = res.data
|
|
|
|
|
this.scanCode = ''
|
|
|
|
|
this.result = ''
|
|
|
|
|
this.refreshCodesPanel()
|
|
|
|
|
// this.refreshOrder(res.data)
|
|
|
|
|
}else {
|
|
|
|
|
this.refreshCodesPanel()
|
|
|
|
|
// this.scanCode = ''
|
|
|
|
|
// this.result = ''
|
|
|
|
|
// this.refreshCodesPanel()
|
|
|
|
|
// this.init()
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
// this.redMesg = false
|
|
|
|
|