| | |
| | | export default defineComponent({ |
| | | setup() { |
| | | const table = ref({ |
| | | key: 'historyId', |
| | | key: 'id', |
| | | footer: "Foots", |
| | | cnName: 'åå²å
¥åºå', |
| | | name: 'CabinOrderHty', |
| | | url: "/CabinOrderHty/", |
| | | sortName: "historyId" |
| | | sortName: "id" |
| | | }); |
| | | const editFormFields = ref({}); |
| | | const editFormOptions = ref([]); |
| | |
| | | field: "order_type", |
| | | type: "select", |
| | | dataKey: "order_type", |
| | | data: [], |
| | | data: [] |
| | | }, |
| | | ], |
| | | [ |
| | | { |
| | | title: "è¡¨å¤´ç¶æ", |
| | | field: "odrderStatus", |
| | | title: "åºæ¿å·", |
| | | field: "warehouse_no", |
| | | type: "select", |
| | | dataKey: "odrderStatus", |
| | | data: [], |
| | | }, |
| | | { title: "ä¾åºååç§°", field: "supplier_name", type: "like" }, |
| | | { title: "å
¥åºè®°è´¦æ¶é´", field: "account_tiem", type: "datetime" }, |
| | | dataKey: "warehouseNuber", |
| | | data: [] |
| | | }, |
| | | ], |
| | | ]); |
| | | 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: "order_type", data: [] } |
| | | bind: { key: "order_type", data: [] } |
| | | }, |
| | | { |
| | |
| | | type: 'string', |
| | | width: 100, |
| | | align: 'left', |
| | | bind: { key: "warehouse", data: [] } |
| | | bind: { key: "warehouseNuber", data: [] }, |
| | | }, |
| | | { |
| | | field: 'account_tiem', |
| | |
| | | url: "/CabinOrderDetailHty/", |
| | | 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: "goods_no", |
| | | title: "ç©æåç§°", |
| | | type: "string", |
| | | width: 150, |
| | | align: "left", |
| | | required: true, |
| | | edit:{type:""}, |
| | | bind: { key: "MaterielNames", data: [] }, |
| | | }, |
| | | { |
| | | field: 'goods_no', |
| | |
| | | }, |
| | | { |
| | | field: 'order_Inqty', |
| | | title: 'å
¥åºå®ææ°é', |
| | | title: '宿æ°é', |
| | | type: 'decimal', |
| | | width: 120, |
| | | align: 'left' |
| | |
| | | sort: true |
| | | } |
| | | ], |
| | | sortName: "historyId", |
| | | key: "historyId" |
| | | sortName: "id", |
| | | key: "id" |
| | | }); |
| | | return { |
| | | table, |