|
|
@@ -336,9 +336,10 @@ export default {
|
|
|
});
|
|
|
}
|
|
|
|
|
|
- if (this.taskObj.type == 6 && obj.singleReport ==1 ) {
|
|
|
+ if ((this.taskObj.type == 6 && obj.singleReport ==1)|| (this.clientEnvironmentId == 3 && obj.singleReport ==0)) {
|
|
|
obj.semiProductList = obj.pickOutInList;
|
|
|
obj.pickOutInList=[]
|
|
|
+ console.log('赋值了')
|
|
|
}
|
|
|
|
|
|
if (
|
|
|
@@ -376,9 +377,12 @@ export default {
|
|
|
);
|
|
|
}
|
|
|
obj.semiProductList = obj.semiProductList.map(item => {
|
|
|
- if (item['extInfo']?.reportWeight) {
|
|
|
- item['extInfo'].reportWeight = ''
|
|
|
+ if(this.taskObj.type != 6){
|
|
|
+ if (item['extInfo']?.reportWeight) {
|
|
|
+ item['extInfo'].reportWeight = ''
|
|
|
+ }
|
|
|
}
|
|
|
+
|
|
|
console.log(item, 'item')
|
|
|
return item
|
|
|
})
|