| | |
| | | sortName: "id" |
| | | }); |
| | | const editFormFields = ref({ |
| | | "id":"", |
| | | "carType": "", |
| | | "mttype": "", |
| | | "neworold": "", |
| | |
| | | "upperValue": "", |
| | | "isCantainGK": "", |
| | | "lowerValue_gk": "", |
| | | "upperValue_gk": "" |
| | | "upperValue_gk": "", |
| | | "postContainer":"" |
| | | }); |
| | | const editFormOptions = ref([ |
| | | [ |
| | | { "title": "éç¨è½¦å", "field": "carType", "type": "textarea" }, |
| | | ], |
| | | [ |
| | | { "title": "卿屿§", "field": "mttype", "type": "text" }, |
| | | { "title": "卿屿§", "field": "mttype", "type": "select", dataKey: "dongtuoshux", data: [] }, |
| | | { "title": "æ°æ§å±æ§", "field": "neworold", "type": "select", dataKey: "NewOld", data: [] }, |
| | | { "title": "æ¯åç级", "field": "gkdj", "type": "select", dataKey: "Level", data: [] }, |
| | | ], |
| | |
| | | [ |
| | | { "title": "æªé¢è¿çéä¸é", "field": "lowerValue_gk", "type": "decimal" }, |
| | | { "title": "æªé¢è¿çéä¸é", "field": "upperValue_gk", "type": "decimal" } |
| | | ], |
| | | [ |
| | | { "title": "å¶å¨çæ¹å", "field": "postContainer", "type": "select", dataKey: "", data: [{key:"ä¸",value:"ä¸"},{key:"ä¾§",value:"ä¾§"}] }, |
| | | ] |
| | | ]); |
| | | const searchFormFields = ref({ |
| | | "carType":"", |
| | | mttype:"" |
| | | "mttype":"" |
| | | }); |
| | | const searchFormOptions = ref([ |
| | | [ |
| | | { "title": "éç¨è½¦å", "field": "carType", type: "like" }, |
| | | { "title": "éç¨è½¦å", "field": "carType", type: "text" }, |
| | | //{ "title": "è´§ä½ç¶æ", "field": "locationStatus", "type": "select", dataKey: "LocationState", data: [] }, |
| | | { "title": "卿屿§", "field": "mttype", type: "text" }, |
| | | { "title": "卿屿§", "field": "mttype", "type": "select", dataKey: "dongtuoshux", data: [] }, |
| | | ], |
| | | [ |
| | | //{ "title": "æ¯å¦ç¦ç¨", "field": "enalbeStatus", "type": "select", dataKey: "EnalbeStatus", data: [] } |
| | |
| | | ]); |
| | | const columns = ref([{ field: 'id', title: 'ID', type: 'int', width: 110, hidden: true, readonly: true, require: true, align: 'left' }, |
| | | { field: 'carType', title: 'éç¨è½¦å', type: 'string', width: 200, require: true, align: 'left' }, |
| | | { field: 'mttype', title: '卿屿§', type: 'string', width: 90, align: 'left' }, |
| | | { field: 'mttype', title: '卿屿§', type: 'string', width: 110, align: 'left', bind: { key: "dongtuoshux", data: [] } }, |
| | | { field: 'neworold', title: 'æ°æ§å±æ§', type: 'string', width: 90, require: true, align: 'left',bind: { key: "NewOld", data: []} }, |
| | | { field: 'gkdj', title: 'æ¯åç级', type: 'string', width: 90, align: 'left',bind: { key: "Level", data: []} }, |
| | | { field: 'lowerValue', title: 'è¿çéä¸é', type: 'decimal', width: 90, align: 'left' }, |
| | |
| | | { field: 'createDate', title: 'å建æ¶é´', type: 'datetime', sort: true, width: 90, align: 'left', sort: true }, |
| | | //{ field: 'modifier', title: 'ä¿®æ¹äºº', type: 'string', sort: true, width: 90, align: 'left' }, |
| | | //{ field: 'modifyDate', title: 'ä¿®æ¹æ¶é´', type: 'datetime', sort: true, width: 90, align: 'left', sort: true }, |
| | | { field: 'postContainer', title: 'å¶å¨çæ¹å', type: 'bool', width: 120, align: 'left', bind: { key: "", data: [{key:"ä¸",value:"ä¸"},{key:"ä¾§",value:"ä¾§"}]} }, |
| | | ]); |
| | | const detail = ref({ |
| | | cnName: "#detailCnName", |