| | |
| | | const editFormFields = ref({ |
| | | areaCode: "", |
| | | areaName: "", |
| | | areaType: "", |
| | | areaStatus: "", |
| | | warehouseId: "", |
| | | areaDes: "", |
| | | }); |
| | |
| | | dataKey: "warehouse", |
| | | data: [], |
| | | }, |
| | | |
| | | ], |
| | | [ |
| | | { |
| | | title: "åºåç±»å", |
| | | required: true, |
| | | field: "areaType", |
| | | type: "int", |
| | | }, |
| | | { |
| | | title: "åºåæè¿°", |
| | | field: "areaDes", |
| | | type: "textarea", |
| | | }, |
| | | { title: "åºåç¶æ", field: "areaStatus" ,type: "select",dataKey: "enableEnum",data: [],}, |
| | | ], |
| | | ]); |
| | | const searchFormFields = ref({ |
| | |
| | | [ |
| | | { title: "åºåç¼å·", field: "areaCode", type: "like" }, |
| | | { title: "åºååç§°", field: "areaName", type: "like" }, |
| | | { title: "åºåç±»å", field: "areaType" }, |
| | | |
| | | { |
| | | title: "åºåç¶æ", |
| | | field: "areaStatus", |
| | |
| | | type: "select", |
| | | dataKey: "warehouse", |
| | | data: [], |
| | | }, |
| | | },{ title: "åºåç±»å", field: "areaType" }, |
| | | ], |
| | | ]); |
| | | const columns = ref([ |
| | |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "areaCode", |
| | | title: "åºåç¼å·", |
| | | type: "string", |
| | | width: 80, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "warehouseId", |
| | | title: "ä»åºä¸»é®", |
| | | type: "string", |
| | |
| | | bind:{ key: "warehouse", data: [] }, |
| | | }, |
| | | { |
| | | field: "areaCode", |
| | | title: "åºåç¼å·", |
| | | type: "string", |
| | | width: 150, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "areaName", |
| | | title: "åºååç§°", |
| | | type: "string", |
| | | width: 150, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "areaType", |
| | | title: "åºåç±»å", |
| | | type: "decimal", |
| | | width: 90, |
| | | align: "left", |
| | | }, |
| | | // { |
| | | // field: "areaType", |
| | | // title: "åºåç±»å", |
| | | // type: "decimal", |
| | | // width: 90, |
| | | // align: "left", |
| | | // }, |
| | | { |
| | | field: "areaStatus", |
| | | title: "åºåç¶æ", |
| | |
| | | field: "areaDes", |
| | | title: "åºåæè¿°", |
| | | type: "int", |
| | | width: 120, |
| | | width: 160, |
| | | align: "left", |
| | | }, |
| | | { |
| | |
| | | field: "createDate", |
| | | title: "å建æ¶é´", |
| | | type: "datetime", |
| | | width: 160, |
| | | width: 120, |
| | | align: "left", |
| | | sort: true, |
| | | }, |
| | | { |
| | | field: "modifier", |
| | | title: "ä¿®æ¹äºº", |
| | | type: "string", |
| | | width: 100, |
| | | width: 90, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "modifyDate", |
| | | title: "ä¿®æ¹æ¶é´", |
| | | type: "datetime", |
| | | width: 160, |
| | | width: 120, |
| | | align: "left", |
| | | sort: true, |
| | | }, |
| | | { |
| | | field: "remark", |
| | | title: "夿³¨", |
| | | type: "string", |
| | | width: 100, |
| | | align: "left", |
| | | }, |
| | | // { |
| | | // field: "remark", |
| | | // title: "夿³¨", |
| | | // type: "string", |
| | | // width: 100, |
| | | // align: "left", |
| | | // }, |
| | | ]); |
| | | const detail = ref({ |
| | | cnName: "#detailCnName", |