1
huanghongfeng
4 天以前 b1c2dd1869a51b8f0e4acb9ddeb148f796db147f
ÏîÄ¿´úÂë/WMS/WIDESEA_WMSClient/src/views/widesea_wms/basicinfo/Dt_LocationInfo.vue
@@ -26,11 +26,18 @@
        const editFormFields = ref({ "locationStatus": "" });
        const editFormOptions = ref([
            [
                { "title": "货位状态", "field": "locationStatus", "type": "select", dataKey: "LocationState", data: [] },
                { "title": "是否禁用", "field": "enalbeStatus", "type": "select", dataKey: "EnalbeStatus", data: [] },
                { "title": "货位状态", "field": "locationStatus", "type": "select", dataKey: "LocationState", data: [] },
                { "title": "是否禁用", "field": "enalbeStatus", "type": "select", dataKey: "EnalbeStatus", data: [] },
            ]
        ]);
        const searchFormFields = ref({ "LocationID": "",roadWayNO:"","column":"","row":"","layer":"" });
        const searchFormFields = ref({
            locationCode:"",
            locationStatus:"",
            roadWayNO:"",
            column:"",
            enalbeStatus:"",
            depth:"",
        });
        const searchFormOptions = ref([
            [
                { "title": "货位编号", "field": "locationCode", type: "text" },
@@ -38,9 +45,9 @@
                { "title": "巷道编号", "field": "roadWayNO", type: "text" },
            ],
            [
                { "title": "行", "field": "row", type: "int" },
                { "title": "列", "field": "column", type: "int" },
                { "title": "层", "field": "layer", type: "int" },
                { "title": "行", "field": "row", type: "text" },
                { "title": "列", "field": "column", type: "text" },
                { "title": "层", "field": "layer", type: "text" },
            ],
            [
                { "title": "是否禁用", "field": "enalbeStatus", "type": "select", dataKey: "EnalbeStatus", data: [] },
@@ -51,23 +58,23 @@
        const columns = ref([{ field: 'id', 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'},
        { field: 'roadwayNo', title: '巷道号', type: 'string', width: 110, require: true, align: 'left' },
        { field: 'row', title: '行', type: 'int', width: 70, align: 'left' },
        { field: 'column', title: '列', type: 'int', width: 70, align: 'left' },
        { field: 'layer', title: '层', type: 'int', width: 70, align: 'left' },
        { field: 'depth', title: '深度', type: 'string', width: 110, align: 'left' },
        { 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: '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: 'enalbeStatus', title: '是否禁用', type: 'int', width: 75, align: 'left', bind: { key: "EnalbeStatus", data: [] }},
        { field: 'enalbeStatus', title: '是否禁用', type: 'int', width: 75, align: 'left', bind: { key: "EnalbeStatus", data: [] } },
        // { 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' ,bind: { key: "AllowStatus", data: [] }},
        { field: 'remark', title: '备注', type: 'string', width: 110, align: 'left', bind: { key: "AllowStatus", data: [] } },
        { field: 'creater', title: '创建人', type: 'string', sort: true, width: 110, align: 'left' },
        { field: 'createDate', title: '创建时间', type: 'datetime', sort: true, width: 150, align: 'left', sort: true },
        { field: 'modifier', title: '修改人', type: 'string', sort: true, width: 100, align: 'left' },
        { field: 'modifyDate', title: '修改时间', type: 'datetime', sort: true, width: 150, align: 'left', sort: true },
    ]);
        ]);
        const detail = ref({
            cnName: "#detailCnName",
            table: "#detailTable",