li.shaoyi 3 년 전
부모
커밋
2b612e6a68
2개의 변경된 파일12개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      src/views/business/purchase/list/all/index.vue
  2. 6 0
      src/views/business/sell/list/all/index.vue

+ 6 - 0
src/views/business/purchase/list/all/index.vue

@@ -49,6 +49,10 @@
         <template #pricetype="{ text }">
           <a>{{ getPriceTypeName(text) }}</a>
         </template>
+        <!-- 价格 -->
+        <template #price="{ text }">
+          <span>{{ handleNoneValue(text) }}</span>
+        </template>
       </a-table>
     </template>
   </mtp-table-scroll>
@@ -69,6 +73,7 @@ import { formatTime, formatValue } from '@/common/methods';
 import { getTableButton } from '@/common/setup/table/button';
 import { useRoute } from 'vue-router';
 import { getBizTypeName, getPriceTypeName } from '@/common/constants/enumsName';
+import { handleNoneValue } from '@/common/setup/table/tableQuote';
 import { useTradeAccount } from '@/hooks/account'
 import moment from 'moment';
 
@@ -153,6 +158,7 @@ export default defineComponent({
       handleBtnList,
       getBizTypeName,
       getPriceTypeName,
+      handleNoneValue,
     };
   },
 });

+ 6 - 0
src/views/business/sell/list/all/index.vue

@@ -40,6 +40,10 @@
         <template #pricetype="{ text }">
           <a>{{ getPriceTypeName(text) }}</a>
         </template>
+        <!-- 价格 -->
+        <template #price="{ text }">
+          <span>{{ handleNoneValue(text) }}</span>
+        </template>
       </a-table>
     </template>
   </mtp-table-scroll>
@@ -60,6 +64,7 @@ import { formatTime, formatValue } from '@/common/methods';
 import { getTableButton } from '@/common/setup/table/button';
 import { useRoute } from 'vue-router';
 import { getBizTypeName, getPriceTypeName } from '@/common/constants/enumsName';
+import { handleNoneValue } from '@/common/setup/table/tableQuote';
 import { useTradeAccount } from '@/hooks/account'
 import moment from 'moment';
 
@@ -144,6 +149,7 @@ export default defineComponent({
       handleBtnList,
       getBizTypeName,
       getPriceTypeName,
+      handleNoneValue,
     };
   },
 });