|
@@ -389,7 +389,7 @@ export default {
|
389
|
389
|
};
|
390
|
390
|
savesupply(params).then((res) => {
|
391
|
391
|
console.log(res, "op");
|
392
|
|
- if (res.data.list == "修改成功") {
|
|
392
|
+ if (res.data.state == 1) {
|
393
|
393
|
this.$message.success("修改成功");
|
394
|
394
|
this.closePop();
|
395
|
395
|
} else {
|
|
@@ -426,7 +426,7 @@ export default {
|
426
|
426
|
console.log(params, "params");
|
427
|
427
|
updatesupply(params).then((res) => {
|
428
|
428
|
console.log(res, "op");
|
429
|
|
- if (res.data.list == "修改成功") {
|
|
429
|
+ if (res.data.state == 1) {
|
430
|
430
|
this.$message.success("修改成功");
|
431
|
431
|
this.closePop();
|
432
|
432
|
} else {
|