Browse Source

2026-08-28

项目物料优化
master
fengyuan_yang 3 weeks ago
parent
commit
9a2c3a50dd
  1. 9
      src/views/modules/project/projectInfo/com_project_info_part.vue

9
src/views/modules/project/projectInfo/com_project_info_part.vue

@ -2372,7 +2372,12 @@ import CodeGeneration from "../../code/generation.vue";
//
updateModal (row) {
getProjectPartRow2(row).then(({data}) => {
const editRow = { ...row }
const hasIfsPartNo = editRow && editRow.finalPartNo && editRow.finalPartNo.toString().trim() !== ''
if (editRow && editRow.statusDesc === '正式物料' && hasIfsPartNo) {
editRow.testPartNo = editRow.finalPartNo
}
getProjectPartRow2(editRow).then(({data}) => {
//
if (data && data.code === 0) {
this.modalData = {
@ -2495,7 +2500,7 @@ import CodeGeneration from "../../code/generation.vue";
}
this.resetFlags() //
this.setupWatchers() //
this.getPartCharacteristicList(row.testPartNo)
this.getPartCharacteristicList(editRow.testPartNo)
this.modalFlag = true
this.modalDisableFlag = true
this.inventoryPartTable = 'General'

Loading…
Cancel
Save