|
@@ -794,6 +794,23 @@
|
|
|
setTaskReportInfo(index, data) {
|
|
setTaskReportInfo(index, data) {
|
|
|
if (this.List[index]) {
|
|
if (this.List[index]) {
|
|
|
this.$set(this.List[index], 'taskReportInfo', data || {});
|
|
this.$set(this.List[index], 'taskReportInfo', data || {});
|
|
|
|
|
+ if (
|
|
|
|
|
+ this.clientEnvironmentId == 9 &&
|
|
|
|
|
+ data &&
|
|
|
|
|
+ data.isAssign == 1 &&
|
|
|
|
|
+ data.reportQuantity !== undefined &&
|
|
|
|
|
+ data.reportQuantity !== null &&
|
|
|
|
|
+ data.reportQuantity !== ''
|
|
|
|
|
+ ) {
|
|
|
|
|
+ if (!this.List[index].workReportInfo) {
|
|
|
|
|
+ this.$set(this.List[index], 'workReportInfo', {});
|
|
|
|
|
+ }
|
|
|
|
|
+ this.$set(
|
|
|
|
|
+ this.List[index].workReportInfo,
|
|
|
|
|
+ 'formedNum',
|
|
|
|
|
+ data.reportQuantity
|
|
|
|
|
+ );
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
|