| | |
| | | </view-grid> |
| | | </template> |
| | | <script> |
| | | import extend from "@/extension/widesea_wms/basicinfo/Dt_LocationInfo.js"; |
| | | import extend from "@/extension/widesea_wms/basicinfo/Dt_LocationInfo.jsx"; |
| | | import { ref, defineComponent } from "vue"; |
| | | export default defineComponent({ |
| | | setup() { |
| | | const table = ref({ |
| | | key: 'locationID', |
| | | key: 'id', |
| | | footer: "Foots", |
| | | cnName: '货位信息', |
| | | name: 'basicinfo/Dt_LocationInfo', |
| | | url: "/LocationInfo/", |
| | | sortName: "LocationID" |
| | | sortName: "id" |
| | | }); |
| | | const editFormFields = ref({ "status": "", "scNo": "", "roadWayNO": "", "locationCode": "", "wareAreaCode": "" }); |
| | | const editFormFields = ref({ "locationStatus": "" }); |
| | | const editFormOptions = ref([ |
| | | [ |
| | | { "title": "货位编号", "field": "locationCode", type: "text" }, |
| | | { "title": "货位状态", "field": "status", "type": "select", dataKey: "LocationState", data: [] }, |
| | | { "title": "对应堆垛机号", "field": "scNo", type: "text" }, |
| | | { "title": "巷道编号", "field": "roadWayNO", type: "text" }, |
| | | |
| | | ], [ |
| | | { "title": "库区编号", "field": "wareAreaCode", type: "text" }, |
| | | { "title": "货位状态", "field": "locationStatus", "type": "select", dataKey: "LocationState", data: [] }, |
| | | ] |
| | | ]); |
| | | const searchFormFields = ref({ "LocationID": "" }); |
| | |
| | | const columns = ref([{ field: 'locationID', title: '货位ID', type: 'int', width: 110, hidden: true, readonly: true, require: true, align: 'left' }, |
| | | { field: 'locationCode', title: '货位编号', type: 'string', width: 110, require: true, align: 'left' }, |
| | | { field: 'locationName', title: '货位名称', type: 'string', width: 120, align: 'left' }, |
| | | { field: 'roadWayNO', title: '巷道号', type: 'string', width: 110, require: true, align: 'left', sort: true }, |
| | | { field: 'roadwayNo', title: '巷道号', type: 'string', width: 110, require: true, align: 'left', sort: true }, |
| | | { field: 'row', title: '行', type: 'string', width: 70, align: 'left' }, |
| | | { field: 'column', title: '列', type: 'string', width: 70, align: 'left' }, |
| | | { field: 'layer', title: '层', type: 'string', width: 110, align: 'left' }, |
| | | { field: 'depth', title: '深度', type: 'string', width: 110, align: 'left' }, |
| | | { field: 'scNo', title: '对应堆垛机号', type: 'string', width: 110, align: 'left' }, |
| | | { field: 'locationType', title: '货位类型', type: 'int', width: 110, align: 'left' }, |
| | | { field: 'depth', title: '深度', type: 'string', width: 110, align: 'left', hidden: true }, |
| | | { field: 'scNo', title: '对应堆垛机号', type: 'string', width: 110, align: 'left', hidden: true }, |
| | | { field: 'locationType', title: '货位类型', type: 'int', width: 110, align: 'left',bind: { key: "LocationType", data: [] } }, |
| | | { field: 'locationStatus', title: '货位状态', type: 'int', width: 110, align: 'left', bind: { key: "LocationState", data: [] } }, |
| | | { field: 'isLocked', title: '是否锁定', type: 'bool', width: 110, align: 'left' , bind: { key: "IsLocked", data: [] } }, |
| | | { field: 'locationDesc', title: '货位描述', type: 'string', width: 110, align: 'left' }, |
| | | { field: 'isLocked', title: '是否锁定', type: 'bool', width: 110, align: 'left', bind: { key: "IsLocked", data: [] } }, |
| | | { field: 'locationDesc', title: '货位描述', type: 'string', width: 110, align: 'left', hidden: true }, |
| | | { field: 'remark', title: '备注', type: 'string', width: 110, align: 'left' }, |
| | | { field: 'wareAreaCode', title: '库区编号', type: 'string', width: 110, align: 'left', hidden: true }, |
| | | { field: 'roadway', title: '巷道', type: 'string', width: 110, align: 'left', hidden: true }, |