|
|
@@ -49,7 +49,7 @@
|
|
|
type="datetime"
|
|
|
format="yyyy-MM-dd HH:mm:ss"
|
|
|
placeholder="请选择"
|
|
|
- :disabled="formData.dateType==2"
|
|
|
+ :disabled="formData.dateType == 2"
|
|
|
></el-date-picker
|
|
|
></el-form-item>
|
|
|
</div>
|
|
|
@@ -125,7 +125,6 @@
|
|
|
<el-form-item
|
|
|
label=""
|
|
|
required
|
|
|
- ,
|
|
|
label-width="0"
|
|
|
class="w100"
|
|
|
prop="productInfo.standardNum"
|
|
|
@@ -261,10 +260,10 @@
|
|
|
type: Object,
|
|
|
default: () => ({})
|
|
|
},
|
|
|
- formData: {
|
|
|
- type: Object,
|
|
|
- default: () => ({})
|
|
|
- }
|
|
|
+ formData: {
|
|
|
+ type: Object,
|
|
|
+ default: () => ({})
|
|
|
+ }
|
|
|
},
|
|
|
data () {
|
|
|
return {
|
|
|
@@ -349,14 +348,18 @@
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- formData: {
|
|
|
- immediate: true,
|
|
|
- handler () {
|
|
|
- if (this.formData.dateType==2) {
|
|
|
- this.$set(this.workReport,'executeTime',this.formData.appointTime);
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
+ formData: {
|
|
|
+ immediate: true,
|
|
|
+ handler () {
|
|
|
+ if (this.formData.dateType == 2) {
|
|
|
+ this.$set(
|
|
|
+ this.workReport,
|
|
|
+ 'executeTime',
|
|
|
+ this.formData.appointTime
|
|
|
+ );
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
},
|
|
|
created () {
|
|
|
this.workReport.executorId = this.$store.state.user.info?.userId;
|