|
@@ -67,12 +67,12 @@ export default {
|
|
|
},
|
|
|
handleOpen(params = {}) {
|
|
|
this.modalOptions.title = '自定义虚拟销量'
|
|
|
+ this.$refs.formData && this.$refs.formData.resetFields()
|
|
|
this.formData.productId = params.productId
|
|
|
this.formData.fictitiousNumber = params.fictitiousNumber || 0
|
|
|
// this.formData = Object.assign(this.$options.data().formData, params)
|
|
|
this.visible = true
|
|
|
this.initList()
|
|
|
- this.$refs.formData && this.$refs.formData.resetFields()
|
|
|
},
|
|
|
handleSubmit() {
|
|
|
this.$refs.formData.validate(async (valid) => {
|