diff --git a/src/api/taskCope/index.js b/src/api/taskCope/index.js index 4484a37..21e0f9a 100644 --- a/src/api/taskCope/index.js +++ b/src/api/taskCope/index.js @@ -4,16 +4,17 @@ import request from '@/axios'; // 工序任务接收 export const workPlanReceive = (data) => { return request({ - url: '/produceMonitor/workPlanReceive', + url: '/blade-desk/produceMonitor/workPlanReceive', method: 'post', - data: data, + params: data, }); }; // 根据流程卡号查询订单信息 -export const loadNotReceived = (cardNo) => { +export const loadNotReceived = (params) => { return request({ - url: '/produceMonitor/loadNotReceived/' + cardNo, + url: '/blade-desk/prMakeRec/loadNotReceived', method: 'get', + params:params }); }; \ No newline at end of file diff --git a/src/api/workCheck/index.js b/src/api/workCheck/index.js new file mode 100644 index 0000000..b1c1ac9 --- /dev/null +++ b/src/api/workCheck/index.js @@ -0,0 +1,20 @@ +import request from '@/axios'; + +// 工序检验 流程卡号查询 /pdaLoad/loadProTest/{cardNo} +export const loadProTest = (params) => { + return request({ + url: `/blade-desk/pdaLoad/loadProTest/${params.cardNo}`, + method: 'get', + // params:params + }); +}; + +// 工序检验提交 +export const saveProCheck = (data) => { + return request({ + url: '/blade-desk/pdaLoad/saveProCheck', + method: 'post', + data: data, + }); +}; + diff --git a/src/api/workReport/index.js b/src/api/workReport/index.js new file mode 100644 index 0000000..6e5952e --- /dev/null +++ b/src/api/workReport/index.js @@ -0,0 +1,32 @@ +import request from '@/axios'; + +// 报工查询 +export const loadCurrentWp = (params) => { + return request({ + url: '/blade-desk/prMakeRec/loadCurrentWp', + method: 'get', + params:params + }); +}; + +// 报工提交 +export const saveMakeRec = (data) => { + return request({ + url: '/blade-desk/prMakeRec/saveMakeRec', + method: 'post', + data:data + }); +}; + +// 报工记录 +export const queryMakeRec = (current, size, params) => { + return request({ + url: '/blade-desk/prMakeRec/queryMakeRec', + method: 'get', + params: { + ...params, + current, + size, + }, + }); +}; diff --git a/src/router/views/index.js b/src/router/views/index.js index a915f3d..da50f9d 100644 --- a/src/router/views/index.js +++ b/src/router/views/index.js @@ -37,7 +37,7 @@ export default [ }, { path: '/taskCope', - component: () => import(/* webpackChunkName: "page" */ '@/views/wel/taskCope/index.vue'), + component: () => import(/* webpackChunkName: "page" */ '@/views/zhgd-work/taskCope/index.vue'), name: '工序接收', meta: { keepAlive: true, @@ -45,6 +45,27 @@ export default [ isAuth: false, }, }, + // workReport + { + path: '/workReport', + component: () => import(/* webpackChunkName: "page" */ '@/views/zhgd-work/workReport/index.vue'), + name: '工序报工', + meta: { + keepAlive: true, + isTab: false, + isAuth: false, + }, + }, + { + path: '/workCheck', + component: () => import(/* webpackChunkName: "page" */ '@/views/zhgd-work/workCheck/index.vue'), + name: '工序检验', + meta: { + keepAlive: true, + isTab: false, + isAuth: false, + }, + }, // { // path: 'search', // name: '菜单搜索', diff --git a/src/views/processManagement/components/processMainte/dsPartBasicInfo.vue b/src/views/processManagement/components/processMainte/dsPartBasicInfo.vue index 2f02e34..5d5c691 100644 --- a/src/views/processManagement/components/processMainte/dsPartBasicInfo.vue +++ b/src/views/processManagement/components/processMainte/dsPartBasicInfo.vue @@ -24,7 +24,7 @@ - + @@ -34,7 +34,7 @@ :disabled="disabled"--> - + - - - + + + - + - + - + + - + - + - - - + + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - - - - - - - - - - - - - - - - - - + @@ -213,7 +191,7 @@ - + @@ -263,7 +241,7 @@ - + @@ -287,7 +265,7 @@ - + - +
- 镀金标识 + 镀金标识 荧光检热处理检验喷码 { return item.partCode == this.formData.partCode; @@ -695,10 +679,65 @@ export default { this.formData.goldMark = true; } } - this.formData.isClassCake = true + this.formData.isClassCake = true; }); }, + sinTerChange(v) { + if (v) { + this.notSinTer = false; + // this.rules = this.rules2; + // this.$set(this.rules, 'craftWay', [this.$validation.required]); + // if (!this.formData.expirationPeriod && this.formData.expirationPeriod == '') { + // this.$set(this.formData, 'expirationPeriod', 9999); + // } + // if (!this.formData.advanceRemind && this.formData.advanceRemind == '') { + // this.$set(this.formData, 'advanceRemind', 10); + // } + // if (!this.formData.area && this.formData.area == '') { + // this.$set(this.formData, 'area', 1); + // } + } else { + this.notSinTer = true; + if (this.notGlassCake) { + // this.rules = this.rules1; + // if (!this.childPage) { + // this.$set(this.rules, 'lettering', [this.$validation.required]); + // } + } else { + // this.$set(this.rules, 'craftWay', []); + } + } + }, + glassCakeChange(value) { + if (value) { + this.notGlassCake = false; + // this.$set(this.rules, 'lettering', []); + // this.areaText = '粉重'; + // this.rules = this.rules2; + // if (!this.formData.expirationPeriod && this.formData.expirationPeriod == '') { + // this.$set(this.formData, 'expirationPeriod', 9999); + // } + // if (!this.formData.advanceRemind && this.formData.advanceRemind == '') { + // this.$set(this.formData, 'advanceRemind', 10); + // } + // if (!this.formData.area && this.formData.area == '') { + // this.$set(this.formData, 'area', 1); + // } + // this.$set(this.rules, 'craftWay', []); + } else { + this.notGlassCake = true; + // this.areaText = this.$t('global.area'); + // if (this.notSinTer) { + // this.rules = this.rules1; + // } + // if (!this.childPage) { + // this.$set(this.rules, 'lettering', [this.$validation.required]); + // } + // this.$set(this.rules, 'craftWay', [this.$validation.required]); + } + }, + //有效期切换 periodOfValidityFn(value) { if (value == 2) { diff --git a/src/views/processManagement/taskProcessing.vue b/src/views/processManagement/taskProcessing.vue index 0a0b5e7..d586443 100644 --- a/src/views/processManagement/taskProcessing.vue +++ b/src/views/processManagement/taskProcessing.vue @@ -21,11 +21,12 @@ - + @@ -160,6 +168,15 @@ export default { disabled: true, // display:false, }, + { + label: '设备型号', + prop: 'equipNameType', + search: false, + sortable: true, + span: 12, + width: 120, + disabled: true, + }, // { // label: '设备编码', // prop: 'equipCode', diff --git a/src/views/wel/components/quickAccess.vue b/src/views/wel/components/quickAccess.vue index 650dac1..72c9f1c 100644 --- a/src/views/wel/components/quickAccess.vue +++ b/src/views/wel/components/quickAccess.vue @@ -26,17 +26,17 @@ + \ No newline at end of file diff --git a/src/views/zhgd-work/workReport/index.vue b/src/views/zhgd-work/workReport/index.vue new file mode 100644 index 0000000..3ba6060 --- /dev/null +++ b/src/views/zhgd-work/workReport/index.vue @@ -0,0 +1,294 @@ + + + \ No newline at end of file