过程项问题修改

dev-scheduling
zhangdi 2 months ago
parent 12834dd2f5
commit ee03f02ee2
  1. 4
      src/views/processManagement/components/addinPlantMaintenanceDialog.vue
  2. 2
      src/views/processManagement/components/inPlantMaintenance.vue

@ -187,6 +187,7 @@ export default {
loading: false, loading: false,
openShow: false, openShow: false,
wcData: [], wcData: [],
userData:[],
equipmentData: [], equipmentData: [],
formError: '', // formError: '', //
@ -233,8 +234,11 @@ export default {
if (this.moldAddMore && this.form.tableData.length === 0) { if (this.moldAddMore && this.form.tableData.length === 0) {
this.addTable(); this.addTable();
} else { } else {
console.log('this.itemData', this.itemData);
this.form.tableData = this.form.tableData =
this.itemData.length > 0 ? JSON.parse(JSON.stringify(this.itemData)) : []; this.itemData.length > 0 ? JSON.parse(JSON.stringify(this.itemData)) : [];
this.workCenterChange()
} }
}, },
methods: { methods: {

@ -302,6 +302,8 @@ export default {
handleEdit(row){ handleEdit(row){
this.showAddDialog = true this.showAddDialog = true
this.moldAddMore = false this.moldAddMore = false
row.proMan=row.proMan.toString()
row.equipmentId=row.equipmentId.toString()
this.itemData = [row] this.itemData = [row]
}, },
handleAdd(){ handleAdd(){

Loading…
Cancel
Save