| | |
| | | selectBox: false, |
| | | selectIndex: true, |
| | | tableColumn: [ |
| | | { label: "产品", prop: "productName", product: true }, |
| | | { label: "产品", prop: "productName", product: true,width:"150px" }, |
| | | { label: "位置", prop: "locationName", defaultLocation: true }, |
| | | { label: "在库数量", prop: "amount" }, |
| | | { label: "预测数量", prop: "prediction" }, |
| | |
| | | } |
| | | return { |
| | | ...item, |
| | | productName: { label: item.product.name, value: item.product.id }, |
| | | productName:item.product.name, |
| | | locationName: item.location.name, |
| | | isSet: false, |
| | | isEdit: true, |
| | |
| | | this.tableData.map((item, index) => { |
| | | if (index === rowIndex) { |
| | | item.isEdit = false |
| | | item.editable = true |
| | | item.editable = false |
| | | item.isOrder = true |
| | | } else { |
| | | item.isEdit = true |