排产基础数据提交

dev-scheduling
zhangdi 5 days ago
parent 6d123f6a28
commit a1be93c41d
  1. 6
      src/views/productionSchedulingPlan/basic/equipmentCapacity.vue
  2. 6
      src/views/productionSchedulingPlan/basic/nonSameFurnace.vue
  3. 6
      src/views/productionSchedulingPlan/basic/personnelCapacity.vue
  4. 2
      src/views/productionSchedulingPlan/schedulingDashboard/index.vue

@ -255,13 +255,13 @@ export default {
}, },
methods: { methods: {
onChangeData(val, type) { onChangeData(val, type) {
if (type == 'workCenterId') { if (val&&type == 'workCenterId') {
this.form.workCenterName = val.wcCode; this.form.workCenterName = val.wcCode;
} }
if (type == 'equipName') { if (val&&type == 'equipName') {
this.form.equipCode = val.deviceCode; this.form.equipCode = val.deviceCode;
} }
if(type=='craftId'){ if(val&&type=='craftId'){
this.form.craftName=val.caName this.form.craftName=val.caName
} }
}, },

@ -253,13 +253,13 @@ export default {
}, },
methods: { methods: {
onChangeData(val,type){ onChangeData(val,type){
if(type=='workCenterId'){ if(val&&type=='workCenterId'){
this.form.workCenterName=val.wcCode this.form.workCenterName=val.wcCode
} }
if(type=='processId'){ if(val&&type=='processId'){
this.form.processName=val.name this.form.processName=val.name
} }
if(type=='craftId'){ if(val&&type=='craftId'){
this.form.craftName=val.caName this.form.craftName=val.caName
} }
}, },

@ -193,13 +193,13 @@ export default {
}, },
methods: { methods: {
onChangeData(val,type){ onChangeData(val,type){
if(type=='workCenterId'){ if(val&&type=='workCenterId'){
this.form.workCenterName=val.wcCode this.form.workCenterName=val.wcCode
} }
if(type=='processId'){ if(val&&type=='processId'){
this.form.processName=val.name this.form.processName=val.name
} }
if(type=='craftId'){ if(val&&type=='craftId'){
this.form.craftName=val.caName this.form.craftName=val.caName
} }
}, },

@ -318,7 +318,7 @@ export default {
// //
currentPage: 1, currentPage: 1,
pageSize: 6, pageSize: 7,
// //
tooltipVisible: false, tooltipVisible: false,

Loading…
Cancel
Save