fix(产品结构化参数):报错取消后配方编码显示问题

This commit is contained in:
liaohechuan 2025-05-09 13:59:39 +08:00
parent fc60de14a4
commit 0df189b885

View File

@ -466,14 +466,15 @@ export default {
if (response.data.code !== 0) {
this.$message.error(response.data.message);
} else {
this.searchForm.productFormulaVersion = response.data.data;
this.searchForm.productFormulaCode = this.searchForm.shopOrder+'-'+response.data.data;
this.$confirm(`是否确认保存工艺配方${this.searchForm.productFormulaCode}?`, '提示', {
let productFormulaCode = this.searchForm.shopOrder+'-'+response.data.data;
this.$confirm(`是否确认保存工艺配方${productFormulaCode}?`, '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
showLoading();
this.searchForm.productFormulaVersion = response.data.data;
this.searchForm.productFormulaCode = productFormulaCode;
doSaveParameter(this.searchForm).then((response) => {
hideLoading();
if (response.data.code !== 0) {