|
@@ -82,7 +82,7 @@ export default {
|
|
|
},
|
|
},
|
|
|
created() {
|
|
created() {
|
|
|
this.fields.forEach((field) => {
|
|
this.fields.forEach((field) => {
|
|
|
- if (field.type === 'date' && !this.formData[field.list]) {
|
|
|
|
|
|
|
+ if (field.label === '报价时间' && !this.formData[field.list]) {
|
|
|
this.$set(this.formData, field.list, [this.currentDate, this.currentDate]);
|
|
this.$set(this.formData, field.list, [this.currentDate, this.currentDate]);
|
|
|
this.$set(this.formData, field.name[0], this.currentDate);
|
|
this.$set(this.formData, field.name[0], this.currentDate);
|
|
|
this.$set(this.formData, field.name[1],this.currentDate );
|
|
this.$set(this.formData, field.name[1],this.currentDate );
|