|
|
@ -854,6 +854,7 @@ |
|
|
|
console.log(877,params) |
|
|
|
// return; |
|
|
|
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 { |
|
|
|