1
dengjunjie
8 天以前 a770206c91e495b802b3e9371e06834586ad7715
н¨Îļþ¼Ð/WMS/src/views/outbound/outboundOrder_Hty.vue
@@ -22,12 +22,12 @@
    export default defineComponent({
        setup() {
            const table = ref({
                key: 'historyId',
                key: 'id',
                footer: "Foots",
                cnName: '历史出库单',
                name: 'DeliveryOrderHty',
                url: "/DeliveryOrderHty/",
                sortName: "historyId"
                sortName: "id"
            });
            const editFormFields = ref({});
            const editFormOptions = ref([]);
@@ -66,7 +66,7 @@
            ]);
            const columns = ref([
                {
                    field: 'historyId',
                    field: 'id',
                    title: '历史记录主键',
                    type: 'int',
                    width: 120,
@@ -76,7 +76,7 @@
                    align: 'left'
                },
                {
                    field: 'id',
                    field: 'sourceId',
                    title: '原主键',
                    type: 'int',
                    width: 100,
@@ -117,11 +117,11 @@
                },
                {
                    field: 'warehouse_no',
                    title: '库房号',
                    title: '库发号',
                    type: 'string',
                    width: 100,
                    align: 'left',
                    bind: { key: "warehouse", data: [] }
                    bind: { key: "warehouseNuber", data: [] }
                },
                {
                    field: 'account_time',
@@ -132,7 +132,7 @@
                },
                {
                    field: 'outStatus',
                    title: '状态',
                    title: '头标状态',
                    type: 'string',
                    width: 120,
                    align: 'left',
@@ -174,7 +174,7 @@
                table: "DtDeliveryOrderDetailHty",
                columns: [
                    {
                        field: 'historyId',
                        field: 'id',
                        title: '历史记录主键',
                        type: 'int',
                        width: 120,
@@ -184,29 +184,39 @@
                        align: 'left'
                    },
                    {
                        field: 'id',
                        field: 'sourceId',
                        title: '原主键',
                        type: 'int',
                        width: 100,
                        align: 'left'
                    },
                    {
                        field: 'deliveryOrderId',
                        title: '关联出库单ID',
                        type: 'int',
                        width: 120,
                        require: true,
                        align: 'left',
                        sort: true,
                        hidden: true
                    },
                    // {
                    //     field: 'deliveryOrderId',
                    //     title: '关联出库单ID',
                    //     type: 'int',
                    //     width: 120,
                    //     require: true,
                    //     align: 'left',
                    //     sort: true,
                    //     hidden: true
                    // },
                    {
                        field: 'reservoirarea',
                        title: '库区',
                        type: 'string',
                        width: 120,
                        align: 'left',
                        bind: { key: "reservoirArea", data: [] }
                        bind: { key: "warehouseNuber", data: [] }
                    },
                        {
                        field: "goods_no",
                        title: "物料名称",
                        type: "string",
                        width: 150,
                        align: "left",
                        required: true,
                        edit:{type:""},
                        bind: { key: "MaterielNames", data: [] },
                    },
                    {
                        field: 'goods_no',
@@ -287,8 +297,8 @@
                        sort: true
                    }
                ],
                sortName: "historyId",
                key: "historyId"
                sortName: "id",
                key: "id"
            });
            return {
                table,