|
@@ -417,6 +417,7 @@
|
|
|
import { mapGetters } from 'vuex';
|
|
import { mapGetters } from 'vuex';
|
|
|
import { parameterGetByCode } from '@/api/main/index.js';
|
|
import { parameterGetByCode } from '@/api/main/index.js';
|
|
|
import tableColumnsMixin from '@/mixins/tableColumnsMixin';
|
|
import tableColumnsMixin from '@/mixins/tableColumnsMixin';
|
|
|
|
|
+ import { uniqById } from '@/utils/util.js';
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
mixins: [tableColumnsMixin],
|
|
mixins: [tableColumnsMixin],
|
|
@@ -849,7 +850,7 @@
|
|
|
// 获取物品列表
|
|
// 获取物品列表
|
|
|
async getListItems() {
|
|
async getListItems() {
|
|
|
const { data } = await getTreeByGroup({});
|
|
const { data } = await getTreeByGroup({});
|
|
|
- this.goodsLists = data;
|
|
|
|
|
|
|
+ this.goodsLists = uniqById(data);
|
|
|
},
|
|
},
|
|
|
// 打开单据来源弹窗
|
|
// 打开单据来源弹窗
|
|
|
openDocumentSourceDialog() {
|
|
openDocumentSourceDialog() {
|
|
@@ -1108,7 +1109,7 @@
|
|
|
size: 9999,
|
|
size: 9999,
|
|
|
page: 1
|
|
page: 1
|
|
|
});
|
|
});
|
|
|
- this.llrLsit = res.list;
|
|
|
|
|
|
|
+ this.llrLsit = uniqById(res.list);
|
|
|
resolve();
|
|
resolve();
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|