|
|
@@ -219,7 +219,7 @@ export default {
|
|
|
}
|
|
|
//修改数据需要复制一份,否则不会生效
|
|
|
that.globalItemData = copyObject(that.globalItemData);
|
|
|
-
|
|
|
+ //搜索花材时,属于默认分类的花材要排在最后面,才不会影响批发店做事,所以传入一个默认分类的id
|
|
|
that.globalItemData = that.globalItemData.sort(this.sorts_fun('classId', that.globalDefaultClassId))
|
|
|
let hasExists = []
|
|
|
for (let i=0;i<that.globalItemData.length;i++){
|