Browse Source

2025-05-08

master
qiezi 8 months ago
parent
commit
366c22f5ac
  1. 25
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_prepress.vue

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

@ -14,7 +14,7 @@
</div></el-col>
<el-col :span="6"><div class="grid-content bg-purple">
<el-form-item :label="'刀模排位/CutterLayout'" >
<el-input v-model="dataForm.cutterLayout" :disabled="ifDisableFlag" type="number" onkeyup="value=value.replace(/^(0+)|[^\d]+/g,'')"></el-input>
<el-input v-model="dataForm.cutterLayout" :disabled="ifDisableFlag"></el-input>
</el-form-item>
</div></el-col>
</el-row>
@ -312,10 +312,22 @@
});
},
saveData(){
this.$confirm("是否保存信息?", '保存提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
}).then(() => {
// this.$confirm("", '', {
// confirmButtonText: '',
// cancelButtonText: '',
// }).then(() => {
// updateBMPrepressDetail(this.dataForm).then(({data}) => {
// if (data && data.code === 0) {
// this.$clearHighLight()
// this.$message.success( '')
// this.$emit("closeModel")
// } else {
// this.$message.error(data.msg)
// }
// })
// }).catch(() => {
// return
// })
updateBMPrepressDetail(this.dataForm).then(({data}) => {
if (data && data.code === 0) {
this.$clearHighLight()
@ -325,9 +337,6 @@
this.$message.error(data.msg)
}
})
}).catch(() => {
return
})
},
newColor(){

Loading…
Cancel
Save