diff --git a/src/api/nccode.ts b/src/api/nccode.ts index abf99da..c3778df 100644 --- a/src/api/nccode.ts +++ b/src/api/nccode.ts @@ -101,3 +101,11 @@ export function exportNccode(params:any) { params }) } + +//加载全部NC代码 +export function loadAllNcCode() { + return request({ + url: `biz/ncCode/loadAllNcCode`, + method: 'get' + }) +} diff --git a/src/views/biz/device/DeviceAbnomarlRecord.vue b/src/views/biz/device/DeviceAbnomarlRecord.vue index 206b6c0..3aa97e0 100644 --- a/src/views/biz/device/DeviceAbnomarlRecord.vue +++ b/src/views/biz/device/DeviceAbnomarlRecord.vue @@ -35,8 +35,12 @@ value: '2' }, { - label: '其他异常', + label: '设备异常', value: '3' + }, + { + label: '其他异常', + value: '4' } ] @@ -170,16 +174,11 @@ - - - - - - + diff --git a/src/views/biz/orderProcessPlan/board.vue b/src/views/biz/orderProcessPlan/board.vue index 0b113e0..855d582 100644 --- a/src/views/biz/orderProcessPlan/board.vue +++ b/src/views/biz/orderProcessPlan/board.vue @@ -742,7 +742,7 @@ const dispatchLoading = ref(false) const dispatchformRef = ref() const dispatchform = reactive({ id: '', name: '', beginTime: '', endTime: '', quantity: '', sectionId: null as number | null, workshopId: null as number | null, - list: [{ sectionId:'',deviceId:'', quantity: '' }], + list: [{ sectionId:'',deviceId:'', quantity: '', ncId:'' }], }) const dispatchrules = {} @@ -1267,11 +1267,11 @@ function disphand(process: ProcessPlanItemVO, order?: OrderProcessPlanVO) { dispatchform.sort = entity.sort dispatchform.sectionId = entity.sectionId ?? process.sectionId ?? null dispatchform.workshopId = entity.workshopId ?? process.workshopId ?? order?.workshopId ?? null - dispatchform.list = [{ sectionId: '', deviceId: '', quantity: remainQty || '' }] + dispatchform.list = [{ sectionId: '', deviceId: '', quantity: remainQty || '',ncId:'' }] } function addpgnum() { - dispatchform.list.push({ sectionId: '', deviceId: '', quantity: '' }) + dispatchform.list.push({ sectionId: '', deviceId: '', quantity: '',ncId:'' }) } function deletenum(index: number) { diff --git a/src/views/biz/orderProcessPlan/pgitem.vue b/src/views/biz/orderProcessPlan/pgitem.vue index fccf5e9..f06bc41 100644 --- a/src/views/biz/orderProcessPlan/pgitem.vue +++ b/src/views/biz/orderProcessPlan/pgitem.vue @@ -1,195 +1,211 @@ \ No newline at end of file