Browse Source

2025/8/4

master
Aoi_Tori 5 months ago
parent
commit
1e4043c173
  1. 2
      src/views/modules/proofing/requestForProofing.vue
  2. 15
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_customerInformation.vue
  3. 3
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_packageInfo.vue
  4. 29
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue
  5. 24
      src/views/modules/sampleManagement/technicalSpecificationDetail/technicalSpecificationDetail.vue

2
src/views/modules/proofing/requestForProofing.vue

@ -3662,7 +3662,7 @@ export default {
page: 1,
}
const {data} = await partInformationSearch(params);
if (data && data.code === 0 && data.rows.length > 0){
if (data && data.code === 0 && data.page.list.length > 0){
row.proofingAmount = data.page.list[0].estimatedMaterialCost * this.modalData.proofingNumber
} else {
row.proofingAmount = 0

15
src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_customerInformation.vue

@ -1334,7 +1334,7 @@
},
saveData(){
this.$confirm("是否保存信息?", '保存提示', {
this.$confirm("是否保存客户信息?", '保存提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
}).then(() => {
@ -1351,6 +1351,19 @@
})
},
saveData1(){
updateBMcustomerInfo(this.dataForm).then(({data}) => {
if (data && data.code === 0) {
this.$message.success( '操作成功')
this.$clearHighLight()
} else {
this.$message.error(data.msg)
}
}).catch(() => {
return
})
},
//
getNodeAuthority (row) {
getBMStatusDesc(this.searchData).then(({data}) => {

3
src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_packageInfo.vue

@ -85,6 +85,9 @@ export default {
this.$refs.PackageInfo.init(JSON.parse(JSON.stringify(this.searchData)))
},
saveData() {
this.$refs.PackageInfo.saveTable()
}
},
}
</script>

29
src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue

@ -1716,6 +1716,35 @@
})
},
saveData1 () {
this.dataForm.engineerList = []
if (this.dataForm.engineerNo !== '') {
this.dataForm.engineerList.push(this.dataForm.engineerNo) // Engineer
}
this.dataForm.technicianList = []
if (this.dataForm.technicianNo !== '') {
this.dataForm.technicianList.push(this.dataForm.technicianNo) // Artwork
}
this.dataForm.csOperatorList = []
if (this.dataForm.csOperater !== '') {
this.dataForm.csOperatorList.push(this.dataForm.csOperater) // CS
}
this.dataForm.planOperatorList = []
if (this.dataForm.planOperator !== '') {
this.dataForm.planOperatorList.push(this.dataForm.planOperator) // Planner
}
updateBMBasicInformation(this.dataForm).then(({data}) => {
if (data && data.code === 0) {
this.$message.success( '操作成功')
this.$clearHighLight()
} else {
this.$message.error(data.msg)
}
}).catch(() => {
return
})
},
jumpPage (type) {
/* if(type==="A"&& this.dataForm.ecnNo!==null&&this.dataForm.ecnNo!==''){
this.$refs.jumpA.blur();

24
src/views/modules/sampleManagement/technicalSpecificationDetail/technicalSpecificationDetail.vue

@ -179,6 +179,30 @@
default:false
}
},
watch: {
'activeName': {
deep: true,
handler: function (val, oldVal) {
if (oldVal === 'baseInfo') {
this.$refs.basicInformation.saveData1()
} else if (oldVal === 'customerInfo') {
this.$refs.customerInfo.saveData1()
} else if (oldVal === 'packageInfo') {
this.$refs.packageInfo.saveData()
} else if (oldVal === 'bom') {
this.$refs.bom.updateBMProcess()
} else if (oldVal === 'routing') {
this.$refs.routing.updateBMProcess()
} else if (oldVal === 'drawing') {
this.$refs.drawing.saveTable()
} else if (oldVal === 'fai') {
this.$refs.fai.saveTable()
} else if (oldVal === 'qualityDocument') {
this.$refs.qualityDocument.saveTable()
}
}
}
},
components: {
basicInformation,
customerInfo,

Loading…
Cancel
Save