| | |
| | | :addTypeIdMultiple="true" |
| | | :product-table-list="productTableList" |
| | | :detail-enter="!showFooter" |
| | | @selProductClick="selProductClick" |
| | | @inputContent="inputContent" |
| | | @addProductClick="addProductClick('操作')" |
| | | @getSelectArray="getSelectArray" |
| | |
| | | moreUnit:res.product.moreUnit, |
| | | moreUnitList:res.product.moreUnitList, |
| | | auxiliaryUnit:res.auxiliaryUnit, |
| | | auxiliaryAmount:res.amount&&adjunctAmount?Number(adjunctAmount)*Number(res.amount):0, |
| | | // auxiliaryAmount:res.amount&&adjunctAmount?Number(adjunctAmount)*Number(res.amount):0, |
| | | auxiliaryAmount:res.auxiliaryAmount, |
| | | auxiliaryAmountInfo:adjunctAmount?Number(adjunctAmount):0, |
| | | inputFloatAuxiliaryAmount:isValue, |
| | | grossWeight:res.product.grossWeight==0?'':res.product.grossWeight, |
| | |
| | | // } |
| | | // } |
| | | }, |
| | | selProductClick(value, prop,row,scope){ |
| | | this.getSelectArray([value],scope.$index) |
| | | }, |
| | | // 新增方式修改 |
| | | getSelectArray(val, index) { |
| | | debugger |
| | | if (this.tableData.length == 1 && this.tableData[0].number&&this.tableData[0].number.length == 0) { |
| | | this.tableData = []; |
| | | } |