|
|
@ -189,7 +189,7 @@ |
|
|
|
this.scanMessage = option.scanMessage; |
|
|
|
this.operation = option.operation; |
|
|
|
this.status = option.status; |
|
|
|
this.source_type = option.source_type; |
|
|
|
this.source_type = option.source_type; |
|
|
|
this.switchCode = "purchasereceiptPrintPDA" //采购收货PDA打印开关 |
|
|
|
this.switchCode1 = "EnableQms" //根据开关中是否启用QMS去判断,如果为TRUE显示检验指引单,如果为FALSE不显示检验指引单 |
|
|
|
}, |
|
|
@ -853,7 +853,8 @@ |
|
|
|
let that = this |
|
|
|
console.log(877,params) |
|
|
|
// return; |
|
|
|
purchaseReceiptJobSubmit(params).then(res => { |
|
|
|
purchaseReceiptJobSubmit(params).then(res => { |
|
|
|
|
|
|
|
if (res.data) { |
|
|
|
let isCheckPrint = getSwitchInfoByCode(this.switchCode)//是否显示上架指引单 |
|
|
|
let isCheckPrint1 = getSwitchInfoByCode(this.switchCode1)//是否显示采购收货检验指引单 |
|
|
@ -865,7 +866,7 @@ |
|
|
|
}) |
|
|
|
}else if(!isCheckPrint1 && !isCheckPrint){ |
|
|
|
this.showCommitSuccessMessage("提交成功\n生成采购收货记录\n" + res.data.number) |
|
|
|
}else if(this.source_type!='TOOL'&&this.source_type!='Develop'){ |
|
|
|
}else if(that.source_type!='TOOL'&&that.source_type!='Develop'){ |
|
|
|
// if (res.data == '打印任务已发送,等待打印机处理!') { |
|
|
|
// this.showCommitSuccessMessage(res.data) |
|
|
|
// const purchaseReceiptDetailPointParams = { |
|
|
@ -939,6 +940,9 @@ |
|
|
|
}) |
|
|
|
}, 2000) |
|
|
|
|
|
|
|
}else if(that.source_type=='TOOL'||that.source_type=='Develop'){ |
|
|
|
uni.hideLoading() |
|
|
|
this.showCommitSuccessMessage("提交成功\n生成采购收货记录\n" + res.data.number) |
|
|
|
} |
|
|
|
|
|
|
|
} else { |
|
|
|