| | |
| | | *ä¸å¡è¯·å¨@/extension/widesea_wms/invoices/Dt_OutOrder.jsæ¤å¤ç¼å |
| | | --> |
| | | <template> |
| | | <view-grid ref="grid" |
| | | :columns="columns" |
| | | :detail="detail" |
| | | :editFormFields="editFormFields" |
| | | :editFormOptions="editFormOptions" |
| | | :searchFormFields="searchFormFields" |
| | | :searchFormOptions="searchFormOptions" |
| | | :table="table" |
| | | :extend="extend"> |
| | | <view-grid ref="grid" :columns="columns" :detail="detail" :editFormFields="editFormFields" |
| | | :editFormOptions="editFormOptions" :searchFormFields="searchFormFields" :searchFormOptions="searchFormOptions" |
| | | :table="table" :extend="extend"> |
| | | </view-grid> |
| | | </template> |
| | | <script> |
| | | import extend from "@/extension/widesea_wms/OrderInfo/Dt_PaintingOrderInfo.js"; |
| | | import { ref, defineComponent } from "vue"; |
| | | export default defineComponent({ |
| | | setup() { |
| | | const table = ref({ |
| | | key: 'id', |
| | | footer: "Foots", |
| | | cnName: 'æ¶è£
å·¥å', |
| | | name: 'Orderinfo/Dt_PaintingOrderInfo', |
| | | url: "/Dt_PaintingOrderInfo/", |
| | | sortName: "Id" |
| | | }); |
| | | const editFormFields = ref({ |
| | | "orderNumber":"", |
| | | "status":"", |
| | | "orderDate":"", |
| | | "warehouseId":"", |
| | | "upperOutOrderId":"", |
| | | "remarks":"", |
| | | import extend from "@/extension/widesea_wms/OrderInfo/Dt_PaintingOrderInfo.js"; |
| | | import { ref, defineComponent } from "vue"; |
| | | export default defineComponent({ |
| | | setup() { |
| | | const table = ref({ |
| | | key: 'id', |
| | | footer: "Foots", |
| | | cnName: 'æ¶è£
å·¥å', |
| | | name: 'Orderinfo/Dt_PaintingOrderInfo', |
| | | url: "/Dt_PaintingOrderInfo/", |
| | | sortName: "Id" |
| | | }); |
| | | const editFormFields = ref({ |
| | | "orderNumber": "", |
| | | "status": "", |
| | | "orderDate": "", |
| | | "warehouseId": "", |
| | | "upperOutOrderId": "", |
| | | "remarks": "", |
| | | |
| | | }); |
| | | const editFormOptions = ref([ |
| | | ]); |
| | | const searchFormFields = ref({}); |
| | | const searchFormOptions = ref([ |
| | | }); |
| | | const editFormOptions = ref([ |
| | | ]); |
| | | const searchFormFields = ref({}); |
| | | const searchFormOptions = ref([ |
| | | [ |
| | | { "title": "å·¥åå·", "field": "workOrderNo", "type": "text" }, |
| | | { "title": "pvi", "field": "pvi", "type": "text" }, |
| | | { "title": "å·¥åç±»å", "field": "workOrderType", "type": "select", dataKey: "OrderType", data: [] }, |
| | | { "title": "åºåºæ¥æ", "field": "orderDate", "type": "datetime" }, |
| | | ], [ |
| | | { "title": "ç½è½¦èº«ç©æå·", "field": "biwMaterial", "type": "text" }, |
| | | { "title": "å½©è½¦èº«ç©æå·", "field": "pbMaterial", "type": "text" }, |
| | | { "title": "车åç¹å¾å¼", "field": "vehicleCharacteristic", "type": "string" }, |
| | | { "title": "天çªç¹å¾å¼", "field": "skylightCharacteristic", "type": "string" }, |
| | | ], [ |
| | | { "title": "车身é¢è²", "field": "carBodyCharacteristic", "type": "text" }, |
| | | { "title": "åè²è½¦èº«", "field": "twoToneCharacteristic", "type": "text" }, |
| | | { "title": "å·¥å顺åºå·", "field": "sequenceNo", "type": "string" }, |
| | | { "title": "CTCé
ç½®", "field": "config1", "type": "string" }, |
| | | ], |
| | | ]); |
| | | const columns = ref([{field:'Id',title:'主é®',type:'int',width:110,hidden:true,readonly:true,require:true,align:'left'}, |
| | | {field:'plantCode',title:'å·¥å',type:'string',width:100,require:true,align:'left'}, |
| | | //{field:'workshopCode',title:'车é´',type:'string',width:70,require:true,align:'left'}, |
| | | //{field:'splitStrategy',title:'ç产模å¼',type:'string',width:110,require:true,align:'left'}, |
| | | {field:'workOrderNo',title:'å·¥åå·',type:'string',width:220,require:true,align:'left'}, |
| | | {field:'workOrderType',title:'å·¥åç±»å',type:'string',width:110,require:true,align:'left',bind: { key: "OrderType", data: []}}, |
| | | {field:'pvi',title:'pvi',type:'string',width:100,require:true,align:'left'}, |
| | | {field:'biwMaterial',title:'ç½è½¦èº«ç©æå·',type:'string',width:120,require:true,align:'left'}, |
| | | {field:'vehicleCharacteristic',title:'车åç¹å¾å¼',type:'string',width:100,require:true,align:'left'}, |
| | | {field:'skylightCharacteristic',title:'天çªç¹å¾å¼',type:'string',width:100,require:true,align:'left'}, |
| | | {field:'carBodyCharacteristic',title:'车身é¢è²',type:'string',width:100,require:true,align:'left'}, |
| | | {field:'twoToneCharacteristic',title:'åè²è½¦èº«',type:'string',width:100,require:true,align:'left'}, |
| | | {field:'sequenceNo',title:'å·¥å顺åºå·',type:'string',width:90,require:true,align:'left'}, |
| | | {field:'config1',title:'CTCé
ç½®',type:'string',width:110,require:true,align:'left'}, |
| | | {field:'pbMaterial',title:'å½©è½¦èº«ç©æå·',type:'string',width:220,require:true,align:'left'}, |
| | | //{field:'config3',title:'å¤ç¨3',type:'string',width:110,require:true,align:'left'}, |
| | | {field:'workOrderSendStatus',title:'å·¥åä¸åç¶æ',type:'string',width:220,require:true,align:'left'}, |
| | | {field:'creater',title:'å建人',type:'string',sort:true,width:110,align:'left'}, |
| | | {field:'createDate',title:'å建æ¶é´',type:'datetime',sort:true,width:150,align:'left',sort:true}, |
| | | {field:'modifier',title:'ä¿®æ¹äºº',type:'string',sort:true,width:100,align:'left'}, |
| | | {field:'modifyDate',title:'ä¿®æ¹æ¶é´',type:'datetime',sort:true,width:150,align:'left',sort:true}, |
| | | ]); |
| | | const detail = ref({ |
| | | cnName: "åºåºæç»è®¢å", |
| | | table: "#detailTable", |
| | | columns: [ |
| | | ], |
| | | sortName: "id", |
| | | key: "iD" |
| | | }); |
| | | return { |
| | | table, |
| | | extend, |
| | | editFormFields, |
| | | editFormOptions, |
| | | searchFormFields, |
| | | searchFormOptions, |
| | | columns, |
| | | detail, |
| | | }; |
| | | }, |
| | | }); |
| | | ]); |
| | | const columns = ref([{ field: 'Id', title: '主é®', type: 'int', width: 110, hidden: true, readonly: true, require: true, align: 'left' }, |
| | | { field: 'plantCode', title: 'å·¥å', type: 'string', width: 100, require: true, align: 'left' }, |
| | | //{field:'workshopCode',title:'车é´',type:'string',width:70,require:true,align:'left'}, |
| | | //{field:'splitStrategy',title:'ç产模å¼',type:'string',width:110,require:true,align:'left'}, |
| | | { field: 'workOrderNo', title: 'å·¥åå·', type: 'string', width: 200, require: true, align: 'left' }, |
| | | { field: 'workOrderType', title: 'å·¥åç±»å', type: 'string', width: 110, require: true, align: 'left', bind: { key: "OrderType", data: [] } }, |
| | | { field: 'pvi', title: 'pvi', type: 'string', width: 100, require: true, align: 'left' }, |
| | | { field: 'biwMaterial', title: 'ç½è½¦èº«ç©æå·', type: 'string', width: 120, require: true, align: 'left' }, |
| | | { field: 'vehicleCharacteristic', title: '车åç¹å¾å¼', type: 'string', width: 100, require: true, align: 'left' }, |
| | | { field: 'skylightCharacteristic', title: '天çªç¹å¾å¼', type: 'string', width: 100, require: true, align: 'left' }, |
| | | { field: 'carBodyCharacteristic', title: '车身é¢è²', type: 'string', width: 100, require: true, align: 'left' }, |
| | | { field: 'twoToneCharacteristic', title: 'åè²è½¦èº«', type: 'string', width: 100, require: true, align: 'left' }, |
| | | { field: 'sequenceNo', title: 'å·¥å顺åºå·', type: 'string', width: 150, require: true, align: 'left' }, |
| | | { field: 'config1', title: 'CTCé
ç½®', type: 'string', width: 110, require: true, align: 'left' }, |
| | | { field: 'pbMaterial', title: 'å½©è½¦èº«ç©æå·', type: 'string', width: 220, require: true, align: 'left' }, |
| | | //{field:'config3',title:'å¤ç¨3',type:'string',width:110,require:true,align:'left'}, |
| | | { field: 'workOrderSendStatus', title: 'å·¥åä¸åç¶æ', type: 'string', width: 120, require: true, align: 'left' }, |
| | | { field: 'creater', title: 'å建人', type: 'string', sort: true, width: 110, align: 'left' }, |
| | | { field: 'createDate', title: 'å建æ¶é´', type: 'datetime', sort: true, width: 150, align: 'left', sort: true }, |
| | | { field: 'modifier', title: 'ä¿®æ¹äºº', type: 'string', sort: true, width: 100, align: 'left' }, |
| | | { field: 'modifyDate', title: 'ä¿®æ¹æ¶é´', type: 'datetime', sort: true, width: 150, align: 'left', sort: true }, |
| | | ]); |
| | | const detail = ref({ |
| | | cnName: "åºåºæç»è®¢å", |
| | | table: "#detailTable", |
| | | columns: [ |
| | | ], |
| | | sortName: "id", |
| | | key: "iD" |
| | | }); |
| | | return { |
| | | table, |
| | | extend, |
| | | editFormFields, |
| | | editFormOptions, |
| | | searchFormFields, |
| | | searchFormOptions, |
| | | columns, |
| | | detail, |
| | | }; |
| | | }, |
| | | }); |
| | | </script> |