过程项问题修改

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

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

Loading…
Cancel
Save