|  |  |  | 
|---|
|  |  |  | sortName: "AreaCode" | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | const editFormFields = ref({ | 
|---|
|  |  |  | // "toArea": "", | 
|---|
|  |  |  | // "fromArea": "", | 
|---|
|  |  |  | // "barcodeType": "", | 
|---|
|  |  |  | "toArea": "", | 
|---|
|  |  |  | "fromArea": "", | 
|---|
|  |  |  | "barcodeType": "", | 
|---|
|  |  |  | "productLine": "", | 
|---|
|  |  |  | "inLineNum": "", | 
|---|
|  |  |  | "cacheNum":"" | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | const editFormOptions = ref([ | 
|---|
|  |  |  | // [ | 
|---|
|  |  |  | //     { "title": "目标库区", "field": "toArea", type: "text" }, | 
|---|
|  |  |  | //     { "title": "来源库区", "field": "fromArea", type: "text" }, | 
|---|
|  |  |  | //     { "title": "托盘类型", "field": "barcodeType", type: "text" }, | 
|---|
|  |  |  | // ], | 
|---|
|  |  |  | [ | 
|---|
|  |  |  | { "title": "目标库区", "field": "toArea", type: "text" }, | 
|---|
|  |  |  | { "title": "来源库区", "field": "fromArea", type: "text" }, | 
|---|
|  |  |  | { "title": "托盘类型", "field": "barcodeType", type: "text" }, | 
|---|
|  |  |  | ], | 
|---|
|  |  |  | [ | 
|---|
|  |  |  | { "title": "所属产线", "field": "productLine", type: "text" }, | 
|---|
|  |  |  | { "title": "在途数量", "field": "inLineNum", type: "text" }, | 
|---|
|  |  |  | 
|---|
|  |  |  | ]); | 
|---|
|  |  |  | const searchFormFields = ref({}); | 
|---|
|  |  |  | const searchFormOptions = ref([ | 
|---|
|  |  |  | // [ | 
|---|
|  |  |  | //     { "title": "目标库区", "field": "toArea", type: "text" }, | 
|---|
|  |  |  | //     { "title": "来源库区", "field": "fromArea", type: "text" }, | 
|---|
|  |  |  | //     { "title": "托盘类型", "field": "barcodeType", type: "text" }, | 
|---|
|  |  |  | // ], | 
|---|
|  |  |  | [ | 
|---|
|  |  |  | { "title": "目标库区", "field": "toArea", type: "text" }, | 
|---|
|  |  |  | { "title": "来源库区", "field": "fromArea", type: "text" }, | 
|---|
|  |  |  | { "title": "托盘类型", "field": "barcodeType", type: "text" }, | 
|---|
|  |  |  | ], | 
|---|
|  |  |  | [ | 
|---|
|  |  |  | { "title": "所属产线", "field": "productLine", type: "text" }, | 
|---|
|  |  |  | { "title": "在途数量", "field": "inLineNum", type: "text" }, | 
|---|
|  |  |  | 
|---|
|  |  |  | ] | 
|---|
|  |  |  | ]); | 
|---|
|  |  |  | const columns = ref([{ field: 'ID', title: '主键', type: 'int', sort: true, hidden: true, width: 110, readonly: true, require: true, align: 'left' }, | 
|---|
|  |  |  | //{ field: 'toArea', title: '目标库区', type: 'string', sort: true, width: 110, require: true, align: 'left', sort: true }, | 
|---|
|  |  |  | //{ field: 'fromArea', title: '来源库区', type: 'string', sort: true, width: 110, align: 'left' }, | 
|---|
|  |  |  | //{ field: 'barcodeType', title: '托盘类型', type: 'string', sort: true, width: 110, align: 'left' }, | 
|---|
|  |  |  | { field: 'productLine', title: '所属产线', type: 'string', sort: true, width: 110, align: 'left',}, | 
|---|
|  |  |  | { field: 'toArea', title: '目标库区', type: 'string', sort: true, width: 110, require: true, align: 'left', sort: true }, | 
|---|
|  |  |  | { field: 'fromArea', title: '来源库区', type: 'string', sort: true, width: 110, align: 'left' }, | 
|---|
|  |  |  | { field: 'barcodeType', title: '托盘类型', type: 'string', sort: true, width: 110, align: 'left' }, | 
|---|
|  |  |  | { field: 'productLine', title: '所属产线', type: 'string', sort: true, width: 110, align: 'left',bind: { key: "ProductionLine", data: [] } }, | 
|---|
|  |  |  | { field: 'inLineNum', title: '在途数量', type: 'int', sort: true, width: 110, align: 'left' }, | 
|---|
|  |  |  | { field: 'cacheNum', title: '可缓存数量', type: 'int', sort: true, width: 100,  align: 'left' }, | 
|---|
|  |  |  | { field: 'creater', title: '创建人', type: 'string', sort: true, width: 110, align: 'left' }, | 
|---|