| | |
| | | throw new Exception("æªæ¾å°AGVç«ç¹"); |
| | | } |
| | | //忾任塿¨¡ç |
| | | if ((stationMangerStart.StationCode.Contains("PNT") || stationMangerStart.StationCode.Contains("-")) && !stationMangerEnd.StationCode.Contains("PNT") && stationMangerEnd.IsManual==0)//è¯·æ±æ¾ |
| | | if ((stationMangerStart.StationCode.Contains("PNT") || stationMangerStart.IsManual == 1) && !stationMangerEnd.StationCode.Contains("PNT") && stationMangerEnd.IsManual == 0)//è¯·æ±æ¾ |
| | | { |
| | | agvTaskSend.TaskCode = "DUIGAO1"; |
| | | if (stationMangerStart.StationType == 998 || stationMangerEnd.StationType == 998)//æ½ä¼é¡¶å车 |
| | |
| | | agvTaskSend.TaskCode = "DUOLUN1"; |
| | | } |
| | | } |
| | | else if (!stationMangerStart.StationCode.Contains("PNT") && stationMangerEnd.StationCode.Contains("PNT") && stationMangerStart.IsManual == 0)//请æ±å |
| | | else if (!stationMangerStart.StationCode.Contains("PNT") &&(stationMangerEnd.StationCode.Contains("PNT") || stationMangerEnd.IsManual == 1) && stationMangerStart.IsManual == 0)//请æ±å |
| | | { |
| | | agvTaskSend.TaskCode = "DUIGAO2"; |
| | | if (stationMangerStart.StationType==998 || stationMangerEnd.StationType == 998)//æ½ä¼é¡¶å车 |
| | |
| | | { 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: '/returnBSTOrderDetail', |
| | | name: 'returnBSTOrderDetail', |
| | | component: () => import('@/views/inbound/returnBSTOrderDetail.vue') |
| | | },{ |
| | | path: '/outMESOrder', |
| | | name: 'outMESOrder', |
| | | component: () => import('@/views/outbound/outMESOrder.vue') |
| | | },{ |
| | | path: '/outSGOrderDetail', |
| | | name: 'outSGOrderDetail', |
| | | component: () => import('@/views/outbound/outSGOrderDetail.vue') |
| | | } |
| | | ] |
| | | export default viewgird |
| | |
| | | |
| | | .location-view { |
| | | flex: 1; |
| | | width: 360%; |
| | | max-width: 360%; |
| | | width: 470%; |
| | | max-width: 470%; |
| | | overflow: auto; |
| | | padding: 20px; |
| | | background-color: #f5f7fa; |
| | |
| | | const table = ref({ |
| | | key: "id", |
| | | footer: "Foots", |
| | | cnName: "å
¥åºå", |
| | | cnName: "å
¥åºåæç»", |
| | | name: "inboundOrder", |
| | | url: "/InboundOrder/", |
| | | sortName: "id", |
| | |
| | | <template> |
| | | <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/inbound/mesProInOrderInfo.js"; |
| | | import { ref, defineComponent } from "vue"; |
| | | export default defineComponent({ |
| | | setup() { |
| | | const table = ref({ |
| | | key: "id", |
| | | footer: "Foots", |
| | | cnName: "MESé¢æè®¡åå", |
| | | name: "outMESOrder", |
| | | url: "/OutMESOrder/", |
| | | sortName: "id", |
| | | }); |
| | | const editFormFields = ref({ |
| | | |
| | | }); |
| | | const editFormOptions = ref([ |
| | | |
| | | ]); |
| | | const searchFormFields = ref({ |
| | | warehouseId:"", |
| | | productOrderNo:"", |
| | | mESProOrderType:"", |
| | | mESProOrderStatus:"", |
| | | materialCode:"", |
| | | materialLot:"", |
| | | proPackCode:"", |
| | | createDate:"", |
| | | }); |
| | | const searchFormOptions = ref([ |
| | | [ |
| | | { title: "ä»åº", field: "warehouseId", type: "select", dataKey: "warehouses", data: [], }, |
| | | { title: "åºåºæ¥æºæç»ID", field: "outDetailId", type: "like" }, |
| | | { title: "ç产订åç¼ç ", field: "productOrderNo", type: "like" }, |
| | | { title: "WMSåæ®ç¼å·", field: "outMESOrderNo", type: "like" }, |
| | | ], |
| | | [ |
| | | { title: "æ´¾åå·¥åç¼ç ", field: "sendOrderNo", type: "like" }, |
| | | { title: "ç©æç¼ç ", field: "materialCode", type: "like" }, |
| | | { title: "å å·¥ä¸å¿åºå", field: "makeArea", type: "like" }, |
| | | { title: "å å·¥ä¸å¿ç¼å·ï¼æºå°ï¼", field: "makeCode", type: "select", dataKey: "makeCodeEnum", data: [] } |
| | | ], |
| | | [ |
| | | { title: "ç产订åç¶æ", field: "outMESOrderStatus", type: "select", dataKey: "outboundStatusEnum", data: [] }, |
| | | { title: "计å颿æ¶é´", field: "planPickTime", type: "date" }, |
| | | { title: "ç»ææ¶é´", field: "endTime", type: "date" }, |
| | | ] |
| | | ]); |
| | | const columns = ref([ |
| | | { |
| | | field: "id", |
| | | title: "Id", |
| | | type: "int", |
| | | width: 90, |
| | | hidden: true, |
| | | readonly: true, |
| | | require: true, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "warehouseId", |
| | | title: "ä»åº", |
| | | type: "string", |
| | | width: 90, |
| | | align: "left", |
| | | bind: { key: "warehouses", data: [] } |
| | | }, |
| | | { |
| | | field: "outDetailId", |
| | | title: "åºåºæ¥æºæç»ID", |
| | | type: "int", |
| | | width: 150, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "outMESOrderNo", |
| | | title: "WMSåæ®ç¼å·", |
| | | type: "string", |
| | | width: 200, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "productOrderNo", |
| | | title: "ç产订åç¼å·ï¼ä¸æ¸¸ï¼", |
| | | type: "string", |
| | | width: 200, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "sendOrderNo", |
| | | title: "æ´¾åå·¥åç¼ç ", |
| | | type: "string", |
| | | width: 150, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "materialCode", |
| | | title: "ç©æç¼å·", |
| | | type: "string", |
| | | width: 150, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "materialLot", |
| | | title: "ç©ææ¹æ¬¡", |
| | | type: "string", |
| | | width: 150, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "gradeCode", |
| | | title: "ç©æç级", |
| | | type: "string", |
| | | width: 150, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "reqQuantity", |
| | | title: "ç©æéæ±æ°é", |
| | | type: "decimal", |
| | | width: 120, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "makeArea", |
| | | title: "å å·¥ä¸å¿åºå", |
| | | type: "string", |
| | | width: 150, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "makeCode", |
| | | title: "å å·¥ä¸å¿ç¼å·ï¼æºå°ï¼", |
| | | type: "string", |
| | | width: 200, |
| | | align: "left", |
| | | bind: { key: "", data: [ |
| | | {key: "11",value: "ä¸å·å°å·æºï¼æé«åï¼" }, |
| | | {key: "12",value: "äºå·å°å·æºï¼åé³ä¸é´ï¼" }, |
| | | {key: "13",value: "ä¸å·å°å·æºï¼åé³åè¾¹ï¼" }, |
| | | {key: "31",value: "ä¸å·ç»å¸æº" }, |
| | | {key: "33",value: "äºå·ç»å¸æº" }, |
| | | {key: "22",value: "ä¸å·ä¸éååæº" }, |
| | | {key: "21",value: "äºå·é«éååæº" }, |
| | | {key: "25",value: "ä¸å·å²åæº" }, |
| | | {key: "26",value: "äºå·å²åæº" }, |
| | | {key: "27",value: "ä¸å·å²åæº" }, |
| | | {key: "26",value: "ä¸å·æ¸
åºç 忍¡åæº" }, |
| | | {key: "27",value: "äºå·æ¸
åºç 忍¡åæº" }, |
| | | {key: "41",value: "ä¸å·çº¸å¼ å颿·èæº" }, |
| | | {key: "42",value: "ä¸å·æ 纺å¸å颿·èæº" }, |
| | | {key: "64",value: "ä¸å·çº¸è¢åæ¯æº" }, |
| | | {key: "65",value: "äºå·çº¸è¢åæ¯æº" }, |
| | | {key: "66",value: "ä¸å·æç»³å
æåæ¯æº" }, |
| | | {key: "67",value: "äºå·çº¸è¢åæ¯æº" }, |
| | | {key: "68",value: "å
å·çº¸è¢åæ¯æº" }, |
| | | {key: "69",value: "ä¸å·çº¸è¢åæ¯æº" }, |
| | | {key: "6A",value: "å
«å·çº¸è¢åæ¯æº" }, |
| | | {key: "6B",value: "ä¹å·çº¸è¢åæ¯æº" }, |
| | | {key: "6C",value: "åå·çº¸è¢åæ¯æº" }, |
| | | {key: "6D",value: "åä¸å·çº¸è¢åæ¯æº" }, |
| | | {key: "51",value: "ä¸å·æ 纺å¸å¶è¢æº" }, |
| | | {key: "52",value: "äºå·æ 纺å¸å¶è¢æº" }, |
| | | {key: "53",value: "ä¸å·æ 纺å¸å¶è¢æº" }, |
| | | {key: "54",value: "äºå·æ 纺å¸å¶è¢æº" }, |
| | | {key: "55",value: "å
å·æ 纺å¸å¶è¢æº" }, |
| | | {key: "56",value: "ä¸å·æ 纺å¸å¶è¢æº" }, |
| | | {key: "57",value: "å
«å·æ 纺å¸å¶è¢æº" }, |
| | | {key: "58",value: "ä¹å·æ 纺å¸å¶è¢æº" }, |
| | | {key: "59",value: "åå·æ 纺å¸å¶è¢æº" }, |
| | | {key: "5A",value: "åä¸å·æ 纺å¸å¶è¢æº" }, |
| | | {key: "81",value: "ä¸å·ç«å¼çº¸æ¯æº" }, |
| | | {key: "82",value: "äºå·ç«å¼çº¸æ¯æº" }, |
| | | {key: "83",value: "ä¸å·ç«å¼çº¸æ¯æº" }, |
| | | {key: "84",value: "äºå·ç«å¼çº¸æ¯æº" }, |
| | | {key: "85",value: "å
å·ç«å¼çº¸æ¯æº" }, |
| | | {key: "86",value: "ä¸å·ç«å¼çº¸æ¯æº" }, |
| | | {key: "87",value: "å
«å·ç«å¼çº¸æ¯æº" }, |
| | | {key: "88",value: "ä¹å·ç«å¼çº¸æ¯æº" }, |
| | | {key: "89",value: "åå·ç«å¼çº¸æ¯æº" }, |
| | | {key: "8A",value: "åä¸å·ç«å¼çº¸æ¯æº" }, |
| | | {key: "8B",value: "åäºå·ç«å¼çº¸æ¯æº" }, |
| | | {key: "8C",value: "ä¸å·å§å¼çº¸æ¯æº" }, |
| | | {key: "8D",value: "ä¸å·å¤å¥çº¸æ¯æº" }, |
| | | {key: "8E",value: "äºå·å¤å¥çº¸æ¯æº" }, |
| | | {key: "8F",value: "ä¸å·å¤å¥çº¸æ¯æº" }, |
| | | {key: "8G",value: "äºå·å¤å¥çº¸æ¯æº" }, |
| | | {key: "8H",value: "äºå·å§å¼çº¸æ¯æº" }, |
| | | {key: "8I",value: "ä¸å·å§å¼çº¸æ¯æº" }, |
| | | {key: "8J",value: "å
å·å¤å¥çº¸æ¯æº" }, |
| | | {key: "8K",value: "ä¸å·å¤å¥çº¸æ¯æº" }, |
| | | {key: "8L",value: "å
«å·å¤å¥çº¸æ¯æº" }, |
| | | {key: "8M",value: "ä¹å·å¤å¥çº¸æ¯æº" }, |
| | | {key: "8N",value: "äºå·å§å¼çº¸æ¯æº" }, |
| | | {key: "8O",value: "å
å·å§å¼çº¸æ¯æº" }, |
| | | {key: "8P",value: "ä¸å·å§å¼çº¸æ¯æº" }, |
| | | {key: "8Q",value: "åä¸å·ç«å¼çº¸æ¯æº" }, |
| | | {key: "8R",value: "åäºå·ç«å¼çº¸æ¯æº" }, |
| | | {key: "8S",value: "åå
å·ç«å¼çº¸æ¯æº" }, |
| | | {key: "8T",value: "åä¸å·ç«å¼çº¸æ¯æº" }, |
| | | {key: "8U",value: "åå
«å·ç«å¼çº¸æ¯æº" }, |
| | | ] }, |
| | | }, |
| | | { |
| | | field: "outMESOrderStatus", |
| | | title: "ç产订åç¶æ", |
| | | type: "int", |
| | | width: 150, |
| | | align: "left", |
| | | bind: { key: "outboundStatusEnum", data: [] }, |
| | | }, |
| | | { |
| | | field: "planDate", |
| | | title: "计å颿æ¶é´", |
| | | type: "datetime", |
| | | width: 160, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "endDate", |
| | | title: "ç»æé¢ææ¶é´", |
| | | type: "datetime", |
| | | width: 160, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "assignTotalUsage", |
| | | title: "å·²åé
éæ±æ°é", |
| | | type: "decimal", |
| | | width: 150, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "outTotalUsage", |
| | | title: "å·²åºéæ±æ°é", |
| | | type: "decimal", |
| | | width: 150, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "remark", |
| | | title: "夿³¨", |
| | | type: "string", |
| | | width: 150, |
| | | align: "left", |
| | | }, |
| | | |
| | | { |
| | | field: "creater", |
| | | title: "å建人", |
| | | type: "string", |
| | | width: 90, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "createDate", |
| | | title: "å建æ¶é´", |
| | | type: "datetime", |
| | | width: 160, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "modifier", |
| | | title: "ä¿®æ¹äºº", |
| | | type: "string", |
| | | width: 100, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "modifyDate", |
| | | title: "ä¿®æ¹æ¶é´", |
| | | type: "datetime", |
| | | width: 160, |
| | | align: "left", |
| | | }, |
| | | ]); |
| | | const detail = ref({ |
| | | cnName: "", |
| | | table: "", |
| | | columns: [], |
| | | sortName: "", |
| | | key: "", |
| | | }); |
| | | return { |
| | | table, |
| | | extend, |
| | | editFormFields, |
| | | editFormOptions, |
| | | searchFormFields, |
| | | searchFormOptions, |
| | | columns, |
| | | detail, |
| | | }; |
| | | }, |
| | | }); |
| | | </script> |
| | |
| | | [ |
| | | { 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, |
| | |
| | | {title: "è´§ä½ç¼å·",field: "locationCode",type: "like",}, |
| | | { title: "æçç¼å·", field: "palletCode", type: "like" }, |
| | | { title: "ä»»å¡å·", field: "taskNum", type: "like" }, |
| | | { title: "ç¶æ", field: "status", type: "select",dataKey:"outboundStatusEnum", data:[]}, |
| | | { title: "ç¶æ", field: "status", type: "select",dataKey:"outLockStockStatusEnum", data:[]}, |
| | | ], |
| | | [ |
| | | { title: "å建æ¶é´", field: "createDate", type: "datetime" }, |
| | |
| | | type: "select", |
| | | width: 100, |
| | | align: "left", |
| | | bind: { key: "outboundStatusEnum", data: [] }, |
| | | bind: { key: "outLockStockStatusEnum", data: [] }, |
| | | }, |
| | | { |
| | | field: "creater", |
| | |
| | | result = new VueDictionaryDTO { DicNo = key, Config = "", Data = data }; |
| | | } |
| | | break; |
| | | case "outOrderTypeEnum": |
| | | { |
| | | List<object> data = new List<object>(); |
| | | { |
| | | Type type = typeof(OutOrderTypeEnum); |
| | | List<int> enums = Enum.GetValues(typeof(OutOrderTypeEnum)).Cast<int>().ToList(); |
| | | int index = 0; |
| | | foreach (var item in enums) |
| | | { |
| | | FieldInfo? fieldInfo = typeof(OutOrderTypeEnum).GetField(((OutOrderTypeEnum)item).ToString()); |
| | | DescriptionAttribute? description = fieldInfo.GetCustomAttribute<DescriptionAttribute>(); |
| | | if (description != null) |
| | | { |
| | | data.Add(new { key = item.ToString(), value = description.Description }); |
| | | } |
| | | else |
| | | { |
| | | data.Add(new { key = item.ToString(), value = item.ToString() }); |
| | | } |
| | | index++; |
| | | } |
| | | } |
| | | |
| | | result = new VueDictionaryDTO { DicNo = key, Config = "", Data = data }; |
| | | } |
| | | break; |
| | | case "outLockStockStatusEnum": |
| | | { |
| | | List<object> data = new List<object>(); |
| | | { |
| | | Type type = typeof(OutLockStockStatusEnum); |
| | | List<int> enums = Enum.GetValues(typeof(OutLockStockStatusEnum)).Cast<int>().ToList(); |
| | | int index = 0; |
| | | foreach (var item in enums) |
| | | { |
| | | FieldInfo? fieldInfo = typeof(OutLockStockStatusEnum).GetField(((OutLockStockStatusEnum)item).ToString()); |
| | | DescriptionAttribute? description = fieldInfo.GetCustomAttribute<DescriptionAttribute>(); |
| | | if (description != null) |
| | | { |
| | | data.Add(new { key = item.ToString(), value = description.Description }); |
| | | } |
| | | else |
| | | { |
| | | data.Add(new { key = item.ToString(), value = item.ToString() }); |
| | | } |
| | | index++; |
| | | } |
| | | } |
| | | |
| | | result = new VueDictionaryDTO { DicNo = key, Config = "", Data = data }; |
| | | } |
| | | break; |
| | | } |
| | | return result; |
| | | } |
| | |
| | | "Microsoft.AspNetCore": "Warning" |
| | | } |
| | | }, |
| | | "dics": "materielInvOrgEnum,agvStationAreaEnum,inboundState,createType,enableEnum,enableStatusEnum,locationStatusEnum,locationTypeEnum,taskStatusEnum,outboundStatusEnum,stockStatusEmun,stockChangeType,outStockStatus,authorityScope,authorityScopes,locationChangeType,warehouses,taskType,printStatus,outLockStockStatusEnum,proStockAttributeEnum,materielSourceTypeEnum,materielTypeEnum,materielUnitEnum,printAreaEnum,inOrderTypeEnum", |
| | | "dics": "materielInvOrgEnum,agvStationAreaEnum,inboundState,createType,enableEnum,enableStatusEnum,locationStatusEnum,locationTypeEnum,taskStatusEnum,outboundStatusEnum,stockStatusEmun,stockChangeType,outStockStatus,authorityScope,authorityScopes,locationChangeType,warehouses,taskType,printStatus,outLockStockStatusEnum,proStockAttributeEnum,materielSourceTypeEnum,materielTypeEnum,materielUnitEnum,printAreaEnum,inOrderTypeEnum,outOrderTypeEnum", |
| | | "AllowedHosts": "*", |
| | | "ConnectionStringsEncryption": false, |
| | | "MainDB": "DB_WIDESEA", //å½å项ç®ç主åºï¼æå¯¹åºçè¿æ¥å符串çEnabledå¿
须为true |