fix(产品结构化参数):报错取消后配方编码显示问题
This commit is contained in:
parent
fc60de14a4
commit
0df189b885
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user