|
|
|
@ -25,7 +25,8 @@
|
|
|
|
|
>结束剔除
|
|
|
|
|
</el-button>
|
|
|
|
|
<el-button size="mini" type="primary" @click.native="selectPrescribe()" :loading="submitLoading"
|
|
|
|
|
v-if="splitType=='out'" style="margin-right: 8px;border-radius: 5%;" v-show="isLinkDisabled"
|
|
|
|
|
v-if="splitType=='out' && !redMesg" style="margin-right: 8px;border-radius: 5%;"
|
|
|
|
|
v-show="isLinkDisabled"
|
|
|
|
|
>选入已完成单据
|
|
|
|
|
</el-button>
|
|
|
|
|
<el-button size="mini" type="primary" @click.native="chooseDraftOrder()" :loading="submitLoading"
|
|
|
|
@ -1087,7 +1088,7 @@ export default {
|
|
|
|
|
{
|
|
|
|
|
let item = this.allWorkPlaces.find(item => item.workplaceId == this.orderFormData.workPlaceCode)
|
|
|
|
|
this.queueStatus = item.queueStatus
|
|
|
|
|
if (this.queueStatus == 1){
|
|
|
|
|
if (this.queueStatus == 1) {
|
|
|
|
|
this.redMesg = true
|
|
|
|
|
this.redMesgOld = true
|
|
|
|
|
}
|
|
|
|
@ -1800,17 +1801,17 @@ export default {
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (this.splitType =='out'){
|
|
|
|
|
if (this.splitType == 'out') {
|
|
|
|
|
if (!this.scanCode.includes("DMQ")) {
|
|
|
|
|
if (this.queueStatus == "0" && this.orderFormData.workPlaceQueueCode) {
|
|
|
|
|
this.$message.warning('当前工位无需按货位上架')
|
|
|
|
|
return;
|
|
|
|
|
}else if (this.queueStatus == "1" && isBlank(this.orderFormData.workPlaceQueueCode)) {
|
|
|
|
|
} else if (this.queueStatus == "1" && isBlank(this.orderFormData.workPlaceQueueCode)) {
|
|
|
|
|
this.scanCode = ''
|
|
|
|
|
this.$message.warning('当前工位需按货位上架')
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
}else {
|
|
|
|
|
} else {
|
|
|
|
|
if (this.queueStatus == "0" && this.orderFormData.workPlaceQueueCode) {
|
|
|
|
|
this.$message.warning('当前工位无需按货位上架')
|
|
|
|
|
return;
|
|
|
|
@ -1992,11 +1993,11 @@ export default {
|
|
|
|
|
console.log('字符串不是有效的 JSON 格式')
|
|
|
|
|
}
|
|
|
|
|
} else if (str.includes("DMQ")) {
|
|
|
|
|
if (!isBlank(this.curQueueName)){
|
|
|
|
|
if (!isBlank(this.curQueueName)) {
|
|
|
|
|
this.scanCode = ''
|
|
|
|
|
return this.$message.warning("上货未完成")
|
|
|
|
|
}
|
|
|
|
|
if (this.queueStatus == "0"){
|
|
|
|
|
if (this.queueStatus == "0") {
|
|
|
|
|
this.scanCode = ''
|
|
|
|
|
return this.$message.warning('当前工位无需按货位上架')
|
|
|
|
|
}
|
|
|
|
@ -2019,7 +2020,7 @@ export default {
|
|
|
|
|
this.redMesg = false
|
|
|
|
|
this.orderFormData.workPlaceQueueCode = this.curQueue.code
|
|
|
|
|
this.scanCode = '';
|
|
|
|
|
}else {
|
|
|
|
|
} else {
|
|
|
|
|
this.scanCode = ''
|
|
|
|
|
this.$message.error(response.message)
|
|
|
|
|
}
|
|
|
|
|