Browse Source

feat: 信息价排序从别名编码排序改为编码排序

vian 1 month atrás
parent
commit
718a569be4
1 changed files with 2 additions and 1 deletions
  1. 2 1
      web/maintain/price_info_lib/js/priceItem.js

+ 2 - 1
web/maintain/price_info_lib/js/priceItem.js

@@ -40,7 +40,8 @@ const PRICE_BOOK = (() => {
     $.bootstrapLoading.start();
     try {
       cache = await ajaxPost('/priceInfo/getPriceData', { classIDList }, 1000 * 60 * 10);
-      cache = _.sortBy(cache, 'classCode');
+      // cache = _.sortBy(cache, 'classCode');
+      cache = _.sortBy(cache, 'code');
       showData(sheet, cache, setting.header, 5);
       const row = sheet.getActiveRowIndex();
       const keywordList = cache[row] && cache[row].keywordList || [];