|
@@ -1018,7 +1018,6 @@ export default {
|
|
|
sample_fee: "",
|
|
|
market_price: "",
|
|
|
nake_price: "",
|
|
|
- // b1: [],
|
|
|
};
|
|
|
},
|
|
|
|
|
@@ -1056,9 +1055,9 @@ export default {
|
|
|
console.log(res);
|
|
|
this.loading = false;
|
|
|
if (res && res.code === 0) {
|
|
|
- const title = this.id === "add" ? "添加成功!" : "修改成功!";
|
|
|
+ // const title = this.id === "add" ? "!" : "修改成功!";
|
|
|
this.$notify.success({
|
|
|
- title,
|
|
|
+ title:"添加成功",
|
|
|
message: "",
|
|
|
});
|
|
|
this.showModelThis = false;
|
|
@@ -1129,6 +1128,7 @@ export default {
|
|
|
},
|
|
|
//商品分类选择
|
|
|
goods_class_change(e) {
|
|
|
+ console.log(e);
|
|
|
const { value, item } = e;
|
|
|
const { cat_desc } = item;
|
|
|
this.ruleForm.cat_id = value || [];
|
|
@@ -1136,8 +1136,8 @@ export default {
|
|
|
this.ruleForm.after_sales = cat_desc || "";
|
|
|
this.$refs.ruleForm.validateField("after_sales");
|
|
|
let isok = false;
|
|
|
- if (e.length > 0) {
|
|
|
- e.forEach((i) => {
|
|
|
+ if (value.length > 0) {
|
|
|
+ value.forEach((i) => {
|
|
|
if (i === "8") {
|
|
|
isok = true;
|
|
|
}
|