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 = []; }