Commit 6dadb572 authored by 仇晓婷's avatar 仇晓婷

bug

parent 43e687bf
...@@ -61,6 +61,7 @@ export default { ...@@ -61,6 +61,7 @@ export default {
easySearch: { easySearch: {
keys: { op: "name,storeTitle,materialCode", value: null }, keys: { op: "name,storeTitle,materialCode", value: null },
}, },
type: [],
codeRuleType: null, codeRuleType: null,
fscreeen: false, fscreeen: false,
modal: false, modal: false,
...@@ -267,12 +268,13 @@ export default { ...@@ -267,12 +268,13 @@ export default {
this.showMenu = true; this.showMenu = true;
}, },
productSearch(item, ids, rootName) { productSearch(item, ids, rootName) {
console.log(item); // console.log(item);
let type = []; this.codeRuleType = null;
this.type = [];
this.curId = item.id; this.curId = item.id;
type = item.codeRuleType.split(","); this.type = item.codeRuleType.split(",");
if (type) { if (this.type) {
type.forEach((e) => { this.type.forEach((e) => {
if (e == 1) { if (e == 1) {
this.codeRuleType = 1; this.codeRuleType = 1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment