| | |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *ä¸å¡è¯·å¨@/extension/widesea_wms/taskinfo/Dt_Task.jsæ¤å¤ç¼å |
| | | --> |
| | | <template> |
| | | <template> |
| | | <view-grid ref="grid" :columns="columns" :detail="detail" :editFormFields="editFormFields" |
| | | :editFormOptions="editFormOptions" :searchFormFields="searchFormFields" :searchFormOptions="searchFormOptions" |
| | | :table="table" :extend="extend" /> |
| | |
| | | export default defineComponent({ |
| | | setup() { |
| | | const table = ref({ |
| | | key: '', |
| | | key: "id", |
| | | footer: "Foots", |
| | | cnName: 'å
¥åºåæ®', |
| | | name: '', |
| | |
| | | sortName: "" |
| | | }); |
| | | const editFormFields = ref({ |
| | | |
| | | // id: "", |
| | | orderNo: "", |
| | | upperOrderNo: "", |
| | | materialNo: "", |
| | | materialName: "", |
| | | demandClassification: "", |
| | | orderType: "", |
| | | datetime: "", |
| | | lineNumber: "", |
| | | productDrawingNumber: "", |
| | | weight: "", |
| | | unit: "", |
| | | texture: "", |
| | | orderStatus: "" |
| | | }); |
| | | const editFormOptions = ref([ |
| | | |
| | | [ |
| | | { "title": "ä»åº", "field": "wareHouseId", "type": "select", dataKey: "WareAreaTypeEnable", data: [] }, |
| | | { "title": "æ°é", "field": "quantity", "type": "text" }, |
| | | ], |
| | | ]); |
| | | const searchFormFields = ref({ |
| | | |
| | | }); |
| | | const searchFormOptions = ref([ |
| | | [ |
| | | [ |
| | | { "title": "订åç¼å·", "field": "orderNo", "type": "text" }, |
| | | { "title": "䏿¸¸åå·", "field": "upperOrderNo", "type": "text" }, |
| | | { "title": "éæ±åç±»", "field": "demandClassification", "type": "text" }, |
| | |
| | | { "title": "æ¶é´", "field": "datetime", type: "text" }, |
| | | ], |
| | | [ |
| | | { "title": "ä»åºåç§°", "field": "warehouseName", type: "text" }, |
| | | { "title": "åé", "field": "weight", type: "text", }, |
| | | { "title": "ä»åºåç§°", "field": "wareHouseId", type: "select", dataKey: "WareAreaTypeEnable", data: [] }, |
| | | { "title": "åé", "field": "weight", type: "text", }, |
| | | { "title": "è§æ ¼", "field": "specs", type: "text" }, |
| | | { "title": "æ°é", "field": "quantity", type: "text" }, |
| | | ], |
| | |
| | | { field: 'upperOrderNo', title: '䏿¸¸åå·', type: 'string', width: 180, align: 'left' }, |
| | | { field: 'materialNo', title: 'ç©æç¼ç ', type: 'string', width: 180, align: 'left' }, |
| | | { field: 'materialName', title: 'ç©æåç§°', type: 'string', width: 180, align: 'left' }, |
| | | { field: 'quantity', title: 'æ°é', type: 'string', width: 90, align: 'left' }, |
| | | { field: 'demandClassification', title: 'éæ±åç±»', type: 'string', width: 180, align: 'left' }, |
| | | { field: 'orderType', title: 'åæ®ç±»å', type: 'string', width: 110, align: 'left' }, |
| | | { field: 'warehouseName', title: 'ä»åºåç§°', type: 'string', width: 120, align: 'left' }, |
| | | { field: 'wareHouseId', title: 'ä»åº', type: 'string', width: 120, align: 'left', bind: { key: "WareAreaTypeEnable", data: [] } }, |
| | | // { field: 'warehouseName', title: 'ä»åºåç§°', type: 'string', width: 120, align: 'left' }, |
| | | { field: 'datetime', title: 'æ¶é´', type: 'string', width: 180, align: 'left' }, |
| | | { field: 'lineNumber', title: 'è¡å·', type: 'string', width: 90, align: 'left' }, |
| | | { field: 'productDrawingNumber', title: 'å¾å·', type: 'string', width: 180, align: 'left' }, |
| | |
| | | { field: 'specs', title: 'è§æ ¼', type: 'string', width: 180, align: 'left' }, |
| | | { field: 'unit', title: 'åä½', type: 'string', width: 90, align: 'left' }, |
| | | { field: 'texture', title: 'æè´¨', type: 'string', width: 180, align: 'left' }, |
| | | {field: 'quantity', title: 'æ°é', type: 'string', width: 90, align: 'left' }, |
| | | {field: 'orderStatus', title: '订åç¶æ', type: 'string', width: 90, align: 'left' }, |
| | | { field: 'creater', title: 'å建人', type: 'string', width: 120, align: 'left' }, |
| | | { field: 'createDate', title: 'å建æ¶é´', type: 'datetime', sort: true, width: 150, align: 'left', sort: true }, |
| | | { field: 'modifier', title: 'ä¿®æ¹äºº', type: 'string', width: 120, align: 'left' }, |
| | | { field: 'modifyDate', title: 'ä¿®æ¹æ¶é´', type: 'datetime', sort: true, width: 150, align: 'left', sort: true }, |
| | | ]); |
| | | { field: 'orderStatus', title: '订åç¶æ', type: 'string', width: 90, align: 'left' }, |
| | | { field: 'creater', title: 'å建人', type: 'string', width: 120, align: 'left' }, |
| | | { field: 'createDate', title: 'å建æ¶é´', type: 'datetime', sort: true, width: 150, align: 'left', sort: true }, |
| | | { field: 'modifier', title: 'ä¿®æ¹äºº', type: 'string', width: 120, align: 'left' }, |
| | | { field: 'modifyDate', title: 'ä¿®æ¹æ¶é´', type: 'datetime', sort: true, width: 150, align: 'left', sort: true }, |
| | | ]); |
| | | const detail = ref({ |
| | | cnName: "#detailCnName", |
| | | table: "#detailTable", |