diff --git a/src/api/orderManagement/moldPlan.js b/src/api/orderManagement/moldPlan.js index 36db9ea3..bca83282 100644 --- a/src/api/orderManagement/moldPlan.js +++ b/src/api/orderManagement/moldPlan.js @@ -48,7 +48,7 @@ export const closeBatchs = ids => { return request({ url: '/blade-desk/order/moldDemand/closeBatch', method: 'post', - data: ids, + params: ids, }); }; diff --git a/src/views/orderManagement/components/mold/addMoldDailog.vue b/src/views/orderManagement/components/mold/addMoldDailog.vue index 98f59aff..8d04be52 100644 --- a/src/views/orderManagement/components/mold/addMoldDailog.vue +++ b/src/views/orderManagement/components/mold/addMoldDailog.vue @@ -131,9 +131,8 @@ @@ -221,6 +220,7 @@ import { add,getPartList,getProdIdentList,getUserByRoleAlias,getMoldList,getToolList } from '@/api/orderManagement/moldPlan'; import { index } from '@/views/plugin/workflow/api/statistics'; import jhSelect from '@/components/jh-select/index.vue'; +import { getDictionary } from '@/api/system/dict'; export default { props: { @@ -282,6 +282,7 @@ export default { keeper: [{ required: true, message: '请选择保管员', trigger: ['change', 'submit'] }], }, partLoading:false, + planTypeData:[], }; }, mounted() { @@ -298,6 +299,7 @@ export default { this.getPart(); this.getQuaLevel() this.getUser() + this.getDictionary() }, watch: { showDialog(newVal) { @@ -308,6 +310,12 @@ export default { }, }, methods: { + // 获取计划类型 + getDictionary() { + getDictionary({ code: 'mold_plan_type' }).then(res => { + this.planTypeData = res.data.data; + }); + }, queryPart(query){ this.partLoading = true if(query){ diff --git a/src/views/orderManagement/components/mold/moldRequire.vue b/src/views/orderManagement/components/mold/moldRequire.vue index b537ec31..54c87126 100644 --- a/src/views/orderManagement/components/mold/moldRequire.vue +++ b/src/views/orderManagement/components/mold/moldRequire.vue @@ -302,7 +302,7 @@ export default { }) .then(() => { const ids = this.selectionList.map(item => item.id).join(','); - closeBatchs(ids).then(res => { + closeBatchs({ids:ids}).then(res => { if (res.data.code === 200) { this.$message({ type: 'success', diff --git a/src/views/processManagement/processCapability.vue b/src/views/processManagement/processCapability.vue index 64be4d9e..44cc3de9 100644 --- a/src/views/processManagement/processCapability.vue +++ b/src/views/processManagement/processCapability.vue @@ -203,6 +203,7 @@ export default { span: 12, sortable: 'custom', search: true, + width:150, rules: [ { required: true, diff --git a/src/views/productionManagement/components/coatingAddDialog.vue b/src/views/productionManagement/components/coatingAddDialog.vue index 76e6c6bb..74a3e4d9 100644 --- a/src/views/productionManagement/components/coatingAddDialog.vue +++ b/src/views/productionManagement/components/coatingAddDialog.vue @@ -7,6 +7,7 @@ @close="closeDialog" @open="open" fullscreen + class="content-box" > @@ -23,21 +24,26 @@ --> 选择{{selectionList.length}}个订单 合计:物料需求量:{{this.totalNum}}克选择{{ selectionList.length }}个订单 合计:物料需求量:{{ this.totalNum }}克
- + - 金钾 - 银钾 + 金钾(04-05-023) + 银钾(04-05-024) @@ -48,7 +54,13 @@ - + - + - + + - + @@ -140,7 +168,12 @@