|
@ -156,10 +156,6 @@ export default { |
|
|
return items |
|
|
return items |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
updateData() { |
|
|
|
|
|
this.calcHandleQty() |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
removeItem(index, item) { |
|
|
removeItem(index, item) { |
|
|
this.detailSource.splice(index, 1) |
|
|
this.detailSource.splice(index, 1) |
|
|
}, |
|
|
}, |
|
@ -244,7 +240,7 @@ export default { |
|
|
.then((res) => { |
|
|
.then((res) => { |
|
|
uni.hideLoading() |
|
|
uni.hideLoading() |
|
|
if (res.data) { |
|
|
if (res.data) { |
|
|
this.showCommitSuccessMessage(`提交成功<br>生成器具绑定记录<br>${res.data}`) |
|
|
this.showCommitSuccessMessage(`提交成功\n生成器具绑定记录\n${res.data}`) |
|
|
this.clear() |
|
|
this.clear() |
|
|
} else { |
|
|
} else { |
|
|
this.showErrorMessage(`提交失败[${res.msg}]`) |
|
|
this.showErrorMessage(`提交失败[${res.msg}]`) |
|
|