|
@@ -311,7 +311,7 @@ export default {
|
|
|
// value: 'id'
|
|
|
// },
|
|
|
// dicUrl: '/api/blade-sales-part/goodsDesc/list?current=1&size=10&cname={{key}}&enableOrNot=1'
|
|
|
- // },
|
|
|
+ // },
|
|
|
{
|
|
|
label: '商品名称',
|
|
|
prop: 'goodsName',
|
|
@@ -680,6 +680,22 @@ export default {
|
|
|
bizTypeName: "FHGD",
|
|
|
filesList: this.filesList
|
|
|
}).then(res => {
|
|
|
+ if (res.data.code === 601) {
|
|
|
+ console.info('11111111111----', res)
|
|
|
+ if (this.onLoad.id && this.detailData.id) {
|
|
|
+ console.log(1);
|
|
|
+ this.refresh(this.onLoad.id, true)
|
|
|
+ this.$set(this.optionForm, 'disabled', true)
|
|
|
+ } else if (this.onLoad.id) {
|
|
|
+ console.log(2);
|
|
|
+ this.refresh(this.onLoad.id, true)
|
|
|
+ }
|
|
|
+ this.$message({
|
|
|
+ type: "error",
|
|
|
+ message: res.data.msg
|
|
|
+ });
|
|
|
+ return true
|
|
|
+ }
|
|
|
this.$message.success("保存成功");
|
|
|
this.refresh(res.data.data.id)
|
|
|
loading.close();
|