|
|
@ -264,11 +264,11 @@ |
|
|
|
}, |
|
|
|
|
|
|
|
commit() { |
|
|
|
if (this.customerText == "") { |
|
|
|
this.showMessage("请先选择客户") |
|
|
|
return; |
|
|
|
} |
|
|
|
console.log("客户", this.customerText) |
|
|
|
// if (this.customerText == "") { |
|
|
|
// this.showMessage("请先选择客户") |
|
|
|
// return; |
|
|
|
// } |
|
|
|
// console.log("客户", this.customerText) |
|
|
|
if (this.toLocationCode == "") { |
|
|
|
this.showMessage("请先选择目标库位") |
|
|
|
return; |
|
|
@ -290,7 +290,7 @@ |
|
|
|
deliverRecordSubmit(params).then(res => { |
|
|
|
uni.hideLoading() |
|
|
|
if (res.data) { |
|
|
|
this.showCommitSuccessMessage("提交成功\n生成制品发货记录\n" + res.data) |
|
|
|
this.showCommitSuccessMessage("提交成功\n生成发货记录\n" + res.data) |
|
|
|
} else { |
|
|
|
this.showErrorMessage("提交失败[" + res.msg + "]") |
|
|
|
} |
|
|
|