|
@@ -207,7 +207,12 @@ export default {
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
_this.$emit('ok', res.data)
|
|
_this.$emit('ok', res.data)
|
|
_this.spinning = false
|
|
_this.spinning = false
|
|
- _this.resetData()
|
|
|
|
|
|
+ _this.form.productSn = undefined
|
|
|
|
+ _this.form.productName = ''
|
|
|
|
+ _this.form.productCode = ''
|
|
|
|
+ _this.form.productOrigCode = ''
|
|
|
|
+ _this.form.productCost = ''
|
|
|
|
+ _this.form.productQty = ''
|
|
}, 1000)
|
|
}, 1000)
|
|
} else {
|
|
} else {
|
|
_this.spinning = false
|
|
_this.spinning = false
|