| | |
| | | categoryId: null, |
| | | searchTaskMap: [], |
| | | isCreate:false, |
| | | thatRow:{}, |
| | | thatRow: {} |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | selectBox: false, |
| | | selectIndex: true, |
| | | tableColumn: [ |
| | | { label: "当产品到达", prop: "areaName", location: true }, |
| | | { label: "当产品到达", prop: "areaName", toLocation: true }, |
| | | { label: "产品", prop: "productName", product: true }, |
| | | { label: "产品类别", prop: "productCategory", productType: true }, |
| | | { label: "存储到子位置", prop: "subLocation", sonLocation: true } |
| | |
| | | }, |
| | | // 行点击 |
| | | tableRowClick(row, rowIndex) { |
| | | |
| | | this.thatRow=row |
| | | this.tableList.rowClickIndex=rowIndex |
| | | this.rowIndex = rowIndex |
| | |
| | | }, |
| | | querySearchData(queryString,results,value){ |
| | | if(this.isCreate){ |
| | | if(queryString===''){ |
| | | if (queryString === "") { |
| | | this.tableList.tableColumn[1].product = true |
| | | this.tableList.tableColumn[2].productType = true |
| | | }else{ |
| | |
| | | this.tableList.tableColumn[2].productType = false |
| | | } |
| | | }else{ |
| | | if ( |
| | | this.tableList.tableData[newVal].productName === "" |
| | | ) { |
| | | if (this.tableList.tableData[newVal].productName === "") { |
| | | this.tableList.tableColumn[1].product = false |
| | | this.tableList.tableColumn[2].productType = true |
| | | } else { |