1
huanghongfeng
10 小时以前 b1c2dd1869a51b8f0e4acb9ddeb148f796db147f
ÏîÄ¿´úÂë/WMS/WIDESEA_WMSClient/src/views/widesea_wms/basicinfo/Dt_Traintype.vue
@@ -2,7 +2,7 @@
*Author:jxx
 *Contact:283591387@qq.com
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *业务请在@/extension/widesea_wms/basicinfo/Dt_AreaInfo.js此处编写
 *业务请在@/extension/widesea_wms/basicinfo/Dt_LocationInfo.js此处编写
 -->
<template>
    <view-grid ref="grid" :columns="columns" :detail="detail" :editFormFields="editFormFields"
@@ -16,7 +16,7 @@
export default defineComponent({
    setup() {
        const table = ref({
            key: 'Id',
            key: 'id',
            footer: "Foots",
            cnName: '车型管理',
            name: 'basicinfo/Dt_Traintype',
@@ -24,8 +24,8 @@
            sortName: "id"
        });
        const editFormFields = ref({
            "traintype_code": "",
            "traintype_name": ""
            traintype_code:"",
            traintype_name:""
        });
        const editFormOptions = ref([
            [
@@ -33,14 +33,17 @@
                { "title": "车型名称", "field": "traintype_name", type: "text" },
            ]
        ]);
        const searchFormFields = ref({});
        const searchFormFields = ref({
            "traintype_code": "",
            "traintype_name": ""
        });
        const searchFormOptions = ref([
            [
                { "title": "车型代码", "field": "traintype_code", type: "text" },
                { "title": "车型名称", "field": "traintype_name", type: "text" },
                { "title": "车型代码", "field": "traintype_code", type: "like" },
                { "title": "车型名称", "field": "traintype_name", type: "like" },
            ]
        ]);
        const columns = ref([{ field: 'ID', title: '主键', type: 'int', sort: true, hidden: true, width: 110, readonly: true, require: true, align: 'left' },
        const columns = ref([{ field: 'id', title: '主键', type: 'int', sort: true, hidden: true, width: 110, readonly: true, require: true, align: 'left' },
        { field: 'traintype_code', title: '车型代码', type: 'string', sort: true, width: 90, align: 'left',},
        { field: 'traintype_name', title: '车型名称', type: 'int', sort: true, width: 90, align: 'left' },
        { field: 'traintype_des', title: '描述', type: 'int', sort: true, width: 200,  align: 'left' },