|
@@ -206,6 +206,9 @@
|
|
|
|
|
|
|
|
// this.getOrderCode();
|
|
// this.getOrderCode();
|
|
|
}
|
|
}
|
|
|
|
|
+ },
|
|
|
|
|
+ holderTypeChange() {
|
|
|
|
|
+
|
|
|
},
|
|
},
|
|
|
async getOrderCode() {
|
|
async getOrderCode() {
|
|
|
const data = await getCode('license_code');
|
|
const data = await getCode('license_code');
|
|
@@ -226,7 +229,7 @@
|
|
|
|
|
|
|
|
close() {
|
|
close() {
|
|
|
this.dialogVisible = false;
|
|
this.dialogVisible = false;
|
|
|
- this.form = { defaultForm };
|
|
|
|
|
|
|
+ this.form = { ...defaultForm };
|
|
|
this.$refs.productTableRef.initData();
|
|
this.$refs.productTableRef.initData();
|
|
|
},
|
|
},
|
|
|
|
|
|
|
@@ -246,6 +249,7 @@
|
|
|
this.form.validityStartTime = this.form.date[0];
|
|
this.form.validityStartTime = this.form.date[0];
|
|
|
this.form.validityEndTime = this.form.date[1];
|
|
this.form.validityEndTime = this.form.date[1];
|
|
|
}
|
|
}
|
|
|
|
|
+ console.log(this.form, 'this.form~~~~~');
|
|
|
|
|
|
|
|
const data = {
|
|
const data = {
|
|
|
...this.form
|
|
...this.form
|