haoxuan
2024-04-19 7b5e1c2372faf11b6211126410d2713f2b47f147
src/views/overview/AddOverviewDialog.vue
@@ -1498,8 +1498,8 @@
          return {
            ...res,
            amount: 1,
            productName: res.name,
            productId: res.id,
            productName: res.productId?res.productName:res.name,
            productId:  res.productId?res.productId:res.id,
            auxiliaryUnit:adjunctUnit,
            auxiliaryAmount:adjunctAmount?(1/Number(adjunctAmount)).toFixed(2):0,
            auxiliaryAmountInfo:adjunctAmount?Number(adjunctAmount):0,
@@ -1613,6 +1613,7 @@
    },
    // 新增方式修改
    getSelectArray(val, index) {
      debugger
      if (this.tableData.length == 1 && this.tableData[0].number&&this.tableData[0].number.length == 0) {
        this.tableData = [];
      }
@@ -1749,7 +1750,7 @@
              baseOperationType:
                this.editConfig.infomation.baseOperationType || undefined,
              // 1是嘉联
              cutAfterWidth:name=='jialian'?52.6:
              cutAfterWidth:name=='jialian'?53.9:
               (this.editConfig.infomation.baseOperationType == 2
                  ? 50.8
                  : 53.3),