|
|
|
|
@ -343,9 +343,13 @@ import { |
|
|
|
|
update, |
|
|
|
|
getDetail, |
|
|
|
|
getProcessAbilityList, |
|
|
|
|
getPlatingList |
|
|
|
|
getPlatingList, |
|
|
|
|
} from '@/api/processManagement/processTemplate'; |
|
|
|
|
import { getProject, getStandardList,getCraftAbilityList } from '@/api/processManagement/taskProcessing'; |
|
|
|
|
import { |
|
|
|
|
getProject, |
|
|
|
|
getStandardList, |
|
|
|
|
getCraftAbilityList, |
|
|
|
|
} from '@/api/processManagement/taskProcessing'; |
|
|
|
|
import { getList } from '@/api/processManagement/basicProcesses'; |
|
|
|
|
import { getWorkCenterList } from '@/api/processManagement/addQuantity'; |
|
|
|
|
import pinyin from 'pinyin'; |
|
|
|
|
@ -632,7 +636,7 @@ export default { |
|
|
|
|
getDetail(this.updateRow.id).then(res => { |
|
|
|
|
this.ruleForm.promodel = res.data.data.dsProModelEntity; |
|
|
|
|
// 确保字段名匹配 |
|
|
|
|
|
|
|
|
|
this.ruleForm.promodel.platingType = this.ruleForm.promodel.platingType + ''; |
|
|
|
|
this.ruleForm.tableData = res.data.data.proDetailVOList; |
|
|
|
|
this.ruleForm.tableData.forEach(item => { |
|
|
|
|
item.ppsId = item.ppsId + ''; |
|
|
|
|
@ -678,7 +682,7 @@ export default { |
|
|
|
|
_tempId: this.tempId, // 临时唯一标识 |
|
|
|
|
id: null, |
|
|
|
|
processNo: this.getProcessNo(this.ruleForm.tableData), |
|
|
|
|
isMain:'2' |
|
|
|
|
isMain: '2', |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
if (this.activeName == '2') { |
|
|
|
|
@ -797,7 +801,7 @@ export default { |
|
|
|
|
console.log('提交数据:', query); |
|
|
|
|
|
|
|
|
|
// 修改 |
|
|
|
|
if (this.title=='修改') { |
|
|
|
|
if (this.title == '修改') { |
|
|
|
|
update() |
|
|
|
|
.then(res => { |
|
|
|
|
this.formLoading = false; |
|
|
|
|
|