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