刘磊
2025-08-25 4c308eab6106324bd40e6ad7fd9e769a5cedcedf
ÏîÄ¿´úÂë/WMS/WIDESEA_WMSClient/src/views/widesea_wms/stock/Dt_PalletStockInfo.vue
@@ -16,12 +16,12 @@
export default defineComponent({
    setup() {
        const table = ref({
            key: 'Id',
            key: 'id',
            footer: "Foots",
            cnName: '库存信息',
            name: 'stock/Dt_PalletStockInfo',
            url: "/Dt_PalletStockInfo/",
            sortName: "Id"
            sortName: "id"
        });
        const editFormFields = ref({
        });
@@ -33,19 +33,24 @@
        });
        const searchFormOptions = ref([
            [
                { "title": "料箱号/托盘号", "field": "palletCode", type: "text" },
                { "title": "条码", "field": "palletCode", type: "text" },
                { "title": "库位号", "field": "locationCode", type: "text" },
                { "title": "库存状态", "field": "stockStatus", type: "select", dataKey: "CurrentStatue", data: [] },
            ],
            [
                { "title": "物料名", "field": "materielName", type: "text" },
                { "title": "库区", "field": "areaCode", "type": "select", dataKey: "AreaName", data: [] },
            ]
        ]);
        const columns = ref([
            { field: 'Id', title: '主键ID', type: 'int', width: 110, readonly: true, hidden: true, require: true, align: 'left' },
            //{ field: 'palletCode', title: '料箱号/托盘号', type: 'string', width: 110, align: 'left' },
            { field: 'areaCode', title: '库区', type: 'string', width: 110, align: 'left', bind: { key: "AreaType", data: [] } },
            { field: 'id', title: '主键ID', type: 'int', width: 110, readonly: true, hidden: true, require: true, align: 'left' },
            { field: 'palletCode', title: '条码', type: 'string', width: 110, align: 'left' },
            { field: 'areaCode', title: '库区', type: 'string', width: 110, align: 'left',bind: { key: "AreaName", data: [] }},
            { field: 'locationCode', title: '库位号', type: 'string', width: 110, align: 'left' },
            //{ field: 'SequenceNum', title: '序列号', type: 'string', width: 110, align: 'left', sort: true, link: true, },
            { field: 'materielName', title: '物料名', type: 'string', width: 110, align: 'left' },
            { field: 'quantity', title: '数量', type: 'int', width: 110, align: 'left' },
            { field: 'stockStatus', title: '库存状态', type: 'string', width: 110, align: 'left', bind: { key: "CurrentStatue", data: [] } },
            { field: 'creater', title: '创建时间', type: 'string', width: 100, align: 'left' },
            { field: 'creater', title: '创建人', type: 'string', width: 100, align: 'left' },
            { field: 'createDate', title: '创建时间', type: 'datetime', sort: true, width: 100, align: 'left' },
        ]);