| | |
| | | export default defineComponent({ |
| | | setup() { |
| | | const table = ref({ |
| | | key: 'historyId', |
| | | key: 'id', |
| | | footer: "Foots", |
| | | cnName: 'åå²å
¥åºåæç»', |
| | | name: 'dtCabinOrderDetailHty', |
| | | url: "/DtCabinOrderDetailHty/", |
| | | sortName: "historyId" |
| | | sortName: "id" |
| | | }); |
| | | const editFormFields = ref({}); |
| | | const editFormOptions = ref([]); |
| | |
| | | ]); |
| | | const columns = ref([ |
| | | { |
| | | field: 'historyId', |
| | | field: 'id', |
| | | title: 'åå²è®°å½ä¸»é®', |
| | | type: 'int', |
| | | width: 120, |
| | |
| | | align: 'left' |
| | | }, |
| | | { |
| | | field: 'id', |
| | | field: 'sourceId', |
| | | title: 'å主é®', |
| | | type: 'int', |
| | | width: 100, |
| | |
| | | type: 'string', |
| | | width: 120, |
| | | align: 'left', |
| | | bind: { key: "reservoirArea", data: [] } |
| | | bind: { key: "warehouseNuber", data: [] } |
| | | }, |
| | | { |
| | | field: 'goodsNo', |
| | |
| | | ]); |
| | | const detail = ref({ |
| | | cnName: "åå²å
¥åºåæç»è¯¦æ
", |
| | | table: "DtCabinOrderDetailHtyDetail", |
| | | table: "Dt_CabinOrderDetailHtyDetail", |
| | | columns: [ |
| | | { |
| | | field: 'historyId', |
| | | field: 'id', |
| | | title: 'åå²è®°å½ä¸»é®', |
| | | type: 'int', |
| | | width: 120, |
| | |
| | | align: 'left' |
| | | }, |
| | | { |
| | | field: 'id', |
| | | field: 'sourceId', |
| | | title: 'å主é®', |
| | | type: 'int', |
| | | width: 100, |
| | |
| | | type: 'string', |
| | | width: 120, |
| | | align: 'left', |
| | | bind: { key: "reservoirArea", data: [] } |
| | | bind: { key: "warehouseNuber", data: [] } |
| | | }, |
| | | { |
| | | field: 'goodsNo', |
| | |
| | | sort: true |
| | | } |
| | | ], |
| | | sortName: "historyId", |
| | | key: "historyId" |
| | | sortName: "sourceId", |
| | | key: "sourceId" |
| | | }); |
| | | return { |
| | | table, |