Browse Source

2025-07-18

BM的 是否保存信息 去掉
master
fengyuan_yang 6 months ago
parent
commit
0fa113e3fd
  1. 27
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_cnc.vue
  2. 26
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_cut.vue
  3. 24
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_inkFormulation.vue
  4. 9
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_inkMixing.vue
  5. 5
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_prepress.vue
  6. 5
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_printing.vue
  7. 5
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_printingFlexo.vue
  8. 5
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_printingIndigo.vue

27
src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_cnc.vue

@ -454,23 +454,21 @@
updateBy:'',
updateDate:'',
}
this.cutFlag=true;
this.cutFlag = true
},
updateCut(row){
this.cutData=JSON.parse(JSON.stringify(row))
this.cutFlag=true;
updateCut (row) {
this.cutData = JSON.parse(JSON.stringify(row))
this.cutFlag = true;
},
cutSearch(){
cutSearch () {
searchBMCncCut(this.searchData).then(({data}) => {
this.cutTable = data.rows
});
},
cutSave(){
this.$confirm("是否保存信息?", '保存提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
}).then(() => {
cutSave () {
saveBMCncCut(this.cutData).then(({data}) => {
if (data && data.code === 0) {
this.cutSearch();
@ -480,11 +478,9 @@
this.$message.error(data.msg)
}
})
}).catch(() => {
})
},
deleteCut(row){
deleteCut (row) {
this.$confirm(`是否删除这条信息?`, '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
@ -505,11 +501,8 @@
})
}
})
}).catch(() => {
})
},
},
}
</script>

26
src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_cut.vue

@ -534,8 +534,8 @@
})
},
newCut(){
if(this.searchData.codeNo==''){
newCut () {
if (this.searchData.codeNo == '') {
this.$message.success('数据错误,请关闭页面重试!')
return false;
}
@ -565,24 +565,22 @@
}
this.cutFlag=true;
},
updateCut(row){
this.cutData=JSON.parse(JSON.stringify(row))
this.cutFlag=true;
updateCut (row) {
this.cutData = JSON.parse(JSON.stringify(row))
this.cutFlag = true;
},
cutSearch(type){
cutSearch (type) {
searchBMCutCut(this.searchData).then(({data}) => {
if(type){
if (type) {
this.$message.success( '操作成功')
}
this.cutTable = data.rows
});
},
cutSave(){
this.$confirm("是否保存信息?", '保存提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
}).then(() => {
cutSave () {
saveBMCutCut(this.cutData).then(({data}) => {
if (data && data.code === 0) {
this.cutSearch();
@ -592,10 +590,8 @@
this.$message.error(data.msg)
}
})
}).catch(() => {
})
},
deleteCut(row){
this.$confirm(`是否删除这条信息?`, '提示', {
confirmButtonText: '确定',

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

@ -485,12 +485,13 @@
}
this.colorFlag=true;
},
updateColor(row){
this.colorData=JSON.parse(JSON.stringify(row))
this.colorFlag=true;
updateColor (row) {
this.colorData = JSON.parse(JSON.stringify(row))
this.colorFlag = true;
},
colorSearch(type){
colorSearch (type) {
searchBMInkFormulationColor(this.searchData).then(({data}) => {
if(type){
this.$message.success( '操作成功')
@ -498,11 +499,8 @@
this.colorTable = data.rows
});
},
colorSave(){
this.$confirm("是否保存信息?", '保存提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
}).then(() => {
colorSave () {
saveBMInkFormulationColor(this.colorData).then(({data}) => {
if (data && data.code === 0) {
this.colorSearch();
@ -512,11 +510,9 @@
this.$message.error(data.msg)
}
})
}).catch(() => {
})
},
deleteColor(row){
deleteColor (row) {
this.$confirm(`是否删除这条信息?`, '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
@ -537,11 +533,9 @@
})
}
})
}).catch(() => {
})
},
},
}
</script>

9
src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_inkMixing.vue

@ -494,11 +494,8 @@
}
});
},
colorSave(){
this.$confirm("是否保存信息?", '保存提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
}).then(() => {
saveBMInkMixingColor(this.colorData).then(({data}) => {
if (data && data.code === 0) {
this.colorSearch();
@ -508,10 +505,8 @@
this.$message.error(data.msg)
}
})
}).catch(() => {
})
},
deleteColor(row){
this.$confirm(`是否删除这条信息?`, '提示', {
confirmButtonText: '确定',

5
src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_prepress.vue

@ -728,10 +728,6 @@
},
colorSave () {
this.$confirm("是否保存信息?", '保存提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
}).then(() => {
saveBMPrepressColor(this.colorData).then(({data}) => {
if (data && data.code === 0) {
this.colorSearch();
@ -740,7 +736,6 @@
this.$message.error(data.msg)
}
})
})
},
deleteColor (row) {

5
src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_printing.vue

@ -424,10 +424,6 @@
},
colorSave () {
this.$confirm("是否保存信息?", '保存提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
}).then(() => {
saveBMPrintingColor(this.colorData).then(({data}) => {
if (data && data.code === 0) {
this.colorSearch()
@ -437,7 +433,6 @@
this.$message.error(data.msg)
}
})
})
},
//

5
src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_printingFlexo.vue

@ -594,10 +594,6 @@
},
colorSave () {
this.$confirm("是否保存信息?", '保存提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
}).then(() => {
saveBMprintFlexoColor(this.colorData).then(({data}) => {
if (data && data.code === 0) {
this.colorSearch()
@ -607,7 +603,6 @@
this.$message.error(data.msg)
}
})
})
},
//

5
src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_printingIndigo.vue

@ -515,10 +515,6 @@
},
colorSave () {
this.$confirm("是否保存信息?", '保存提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
}).then(() => {
saveBMprintIndigoColor(this.colorData).then(({data}) => {
if (data && data.code === 0) {
this.colorSearch()
@ -528,7 +524,6 @@
this.$message.error(data.msg)
}
})
})
},
//

Loading…
Cancel
Save