确认上料

This commit is contained in:
2023-07-26 08:40:32 +08:00
parent 504458bc8b
commit 6523295b6b

View File

@@ -108,6 +108,7 @@ export default {
async _washQuery () { async _washQuery () {
let res = await washQuery(this.value1, this.value2) let res = await washQuery(this.value1, this.value2)
if (res.code === 200) { if (res.code === 200) {
this.checkArr = []
res.content.map(el => { res.content.map(el => {
this.$set(el, 'checked', false) this.$set(el, 'checked', false)
}) })
@@ -129,8 +130,6 @@ export default {
let res = await washSubmitWash(arr) let res = await washSubmitWash(arr)
if (res.code === 200) { if (res.code === 200) {
this.toast(res.msg) this.toast(res.msg)
this.value1 = ''
this.value2 = ''
this._washQuery() this._washQuery()
} }
this.disabled1 = false this.disabled1 = false