解决老厂生管排程出库详情不能正常显示的问题,添加老厂生管排程明细信息页面
解决老厂生管排程出库详情不能正常显示的问题,添加老厂生管排程明细信息页面
| | |
| | | { label: 'åºåºä¸', value: 1 }, |
| | | { label: 'åºåºå®æ', value: 2 }, |
| | | { label: 'æ£é宿', value: 3 }, |
| | | { label: 'æ¤é', value: 99 } |
| | | { label: 'æ¤é', value: 99 }, |
| | | { label: 'å
³é', value: 100 } |
| | | ] |
| | | this.tableData=x.map((i) => ({ |
| | | ...i, |
| | | status:label.find((j) => j.value === i.status).label |
| | | status:label.find((j) => j.value === i.status)?.label || i.status |
| | | })) |
| | | }); |
| | | }, |
| | |
| | | path: '/outMESOrder', |
| | | name: 'outMESOrder', |
| | | component: () => import('@/views/outbound/outMESOrder.vue') |
| | | },{ |
| | | path: '/outSGOrderDetail', |
| | | name: 'outSGOrderDetail', |
| | | component: () => import('@/views/outbound/outSGOrderDetail.vue') |
| | | } |
| | | ] |
| | | export default viewgird |
| | |
| | | [ |
| | | { title: "WMSåå·", field: "outSGOrderNo", type: "like" }, |
| | | { title: "åºåºä¸æ¸¸ID", field: "boardMpsId", type: "like" }, |
| | | { title: "䏿¸¸ç产åå·", field: "orderId", type: "like" }, |
| | | { title: "æç¨å·", field: "orderId", type: "like" }, |
| | | { |
| | | title: "åæ®ç¶æ", |
| | | field: "outSGOrderStatus", |
| | |
| | | sortName: "id", |
| | | }); |
| | | const editFormFields = ref({ |
| | | deviceCode: "", |
| | | deviceName: "", |
| | | deviceType: "", |
| | | deviceStatus: "", |
| | | deviceIp: "", |
| | | devicePort: "", |
| | | devicePlcType: "", |
| | | deviceRemark: "", |
| | | }); |
| | | const editFormOptions = ref([ |
| | | [ |
| | | { |
| | | title: "设å¤ç¼å·", |
| | | required: true, |
| | | field: "deviceCode", |
| | | type: "string", |
| | | }, |
| | | { |
| | | title: "设å¤åç§°", |
| | | required: true, |
| | | field: "deviceName", |
| | | type: "string", |
| | | }, |
| | | { |
| | | title: "设å¤ç±»å", |
| | | required: true, |
| | | field: "deviceType", |
| | | type: "string", |
| | | }, |
| | | { |
| | | title: "设å¤ç¶æ", |
| | | required: true, |
| | | field: "deviceStatus", |
| | | type: "string", |
| | | }, |
| | | ], |
| | | [ |
| | | { title: "设å¤IP", required: true, field: "deviceIp", type: "string" }, |
| | | { |
| | | title: "设å¤ç«¯å£", |
| | | required: true, |
| | | field: "devicePort", |
| | | type: "string", |
| | | }, |
| | | { |
| | | title: "PLCç±»å", |
| | | required: true, |
| | | field: "devicePlcType", |
| | | type: "string", |
| | | }, |
| | | { |
| | | title: "夿³¨", |
| | | field: "deviceRemark", |
| | | type: "string", |
| | | }, |
| | | ], |
| | | ]); |
| | | const searchFormFields = ref({ |
| | | deviceCode: "", |
| | | deviceType: "", |
| | | deviceStatus: "", |
| | | }); |
| | | const searchFormOptions = ref([ |
| | | [ |
| | | { title: "设å¤ç¼å·", field: "deviceCode" }, |
| | | { title: "设å¤ç±»å", field: "deviceType" }, |
| | | { title: "设å¤ç¶æ", field: "deviceStatus" }, |
| | | { title: "åºåºå主é®", field: "outSGOrderId" }, |
| | | { title: "ç©æç¼å·", field: "materialNo" }, |
| | | { title: "æ¥å«", field: "boardFluteNo" }, |
| | | { title: "æºå°ä½", field: "machineName" }, |
| | | ], |
| | | [ |
| | | { title: "订åæç»ç¶æ", field: "outSGOrderDetailStatus" }, |
| | | ], |
| | | ]); |
| | | const columns = ref([ |
| | | { |
| | | field: "id", |
| | | title: "Id", |
| | | title: "ID", |
| | | type: "int", |
| | | width: 90, |
| | | hidden: true, |
| | |
| | | { |
| | | field: "outSGOrderId", |
| | | title: "åºåºå主é®", |
| | | type: "string", |
| | | width: 90, |
| | | type: "int", |
| | | width: 120, |
| | | align: "left", |
| | | hidden: true, |
| | | }, |
| | | { |
| | | field: "MaterialNo", |
| | | field: "boardMpsId", |
| | | title: "䏿¸¸åæ®ID", |
| | | type: "int", |
| | | width: 120, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "boardMpsDetailId", |
| | | title: "䏿¸¸æç»ID", |
| | | type: "int", |
| | | width: 120, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "width", |
| | | title: "å¹
宽", |
| | | type: "decimal", |
| | | width: 100, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "xqLen", |
| | | title: "éæ±é¿åº¦", |
| | | type: "decimal", |
| | | width: 120, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "totalUsage", |
| | | title: "æ»ç¨é", |
| | | type: "decimal", |
| | | width: 120, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "materialId", |
| | | title: "ç©æID", |
| | | type: "int", |
| | | width: 100, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "materialNo", |
| | | title: "ç©æç¼å·", |
| | | type: "string", |
| | | width: 150, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "materielName", |
| | | field: "materialName", |
| | | title: "ç©æåç§°", |
| | | type: "string", |
| | | width: 150, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "batchNo", |
| | | title: "æ¹æ¬¡å·", |
| | | field: "procurementLength", |
| | | title: "éè´é¿åº¦", |
| | | type: "decimal", |
| | | width: 90, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "orderQuantity", |
| | | title: "åæ®æ°é", |
| | | type: "string", |
| | | width: 90, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "lockQuantity", |
| | | title: "é宿°é", |
| | | type: "int", |
| | | width: 120, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "overOutQuantity", |
| | | title: "å·²åºæ°é", |
| | | field: "boardFluteNo", |
| | | title: "æ¥å«", |
| | | type: "string", |
| | | width: 200, |
| | | width: 100, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "orderDetailStatus", |
| | | title: "订åæç»ç¶æ", |
| | | field: "machineName", |
| | | title: "æºå°ä½", |
| | | type: "string", |
| | | width: 180, |
| | | width: 100, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "totalLenth", |
| | | title: "æ»é¿åº¦", |
| | | type: "decimal", |
| | | width: 120, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "assignTotalUsage", |
| | | title: "å·²åé
ç¨é", |
| | | type: "decimal", |
| | | width: 120, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "outTotalUsage", |
| | | title: "å·²åºç¨é", |
| | | type: "decimal", |
| | | width: 120, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "outSGOrderDetailStatus", |
| | | title: "订åæç»ç¶æ", |
| | | type: "int", |
| | | width: 150, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "number", |
| | | title: "åºå·", |
| | | type: "int", |
| | | width: 80, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "creater", |
| | | title: "å建人", |
| | | type: "string", |
| | | width: 90, |
| | | width: 100, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "createDate", |
| | | title: "å建æ¶é´", |
| | | type: "datetime", |
| | | width: 160, |
| | | width: 180, |
| | | align: "left", |
| | | }, |
| | | { |
| | |
| | | field: "modifyDate", |
| | | title: "ä¿®æ¹æ¶é´", |
| | | type: "datetime", |
| | | width: 160, |
| | | width: 180, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "remark", |
| | | title: "夿³¨", |
| | | type: "string", |
| | | width: 100, |
| | | width: 150, |
| | | align: "left", |
| | | }, |
| | | ]); |
| | | const detail = ref({ |
| | | cnName: "#detailCnName", |
| | | table: "", |
| | | cnName: "åºåºæç»å", |
| | | table: "OutSGOrderDetail", |
| | | columns: [], |
| | | sortName: "", |
| | | sortName: "id", |
| | | key: "id", |
| | | }); |
| | | return { |
| | | table, |