|
@@ -212,9 +212,7 @@ export default {
|
|
|
productSn: row.productSn,
|
|
|
price: row.price
|
|
|
}).then(res => {
|
|
|
- if (res.status == 200) {
|
|
|
- this.resetSearchForm(true)
|
|
|
- }
|
|
|
+ this.resetSearchForm(true)
|
|
|
this.$message.info(res.message)
|
|
|
})
|
|
|
}
|
|
@@ -223,8 +221,8 @@ export default {
|
|
|
id: row.id,
|
|
|
qty: row.qty
|
|
|
}).then(res => {
|
|
|
+ this.resetSearchForm(true)
|
|
|
if (res.status == 200) {
|
|
|
- this.resetSearchForm(true)
|
|
|
this.$refs.partQuery.resetCurForm()
|
|
|
}
|
|
|
this.$message.info(res.message)
|