Преглед изворни кода

商机流程销售主管审批

Z пре 2 година
родитељ
комит
b0335dcb39
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      src/views/bpm/handleTask/components/businessOpportunity/submit.vue

+ 2 - 2
src/views/bpm/handleTask/components/businessOpportunity/submit.vue

@@ -228,7 +228,7 @@ export default {
       if ((this.taskDefinitionKey === 'salesManagerApprove') && status === 1) {
         let arr = await this.getTableValue();
 
-        let arrList = arr?.productList.map((item) => {
+        let arrList = arr.map((item) => {
           return {
             ...item,
             id: item.id,
@@ -247,7 +247,7 @@ export default {
         let arr = await this.getTableValue();
         let singlePrice = true;
         let totalCount = true;
-        let arrList = arr.map((item) => {
+        let arrList = arr?.productList.map((item) => {
           if (!item.singlePrice) {
             singlePrice = false;
           }