Pārlūkot izejas kodu

Merge branch 'master' of http://47.101.159.18:3000/Muchinfo/MTP2.0_WEB

li.shaoyi 4 gadi atpakaļ
vecāks
revīzija
6273521414
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      src/views/order/setup.ts

+ 2 - 2
src/views/order/setup.ts

@@ -156,8 +156,8 @@ export const useOrderWarrant = (hasWR: 0 | 1) => {
         return result
     }
     // 是否显示 议价单 按钮
-    function isShowBarginBtn({ wrpricetype, isspecified, canpart }: WrOrderDetail) {
-        return isspecified && (isspecified === 1) && canpart
+    function isShowBarginBtn({ isspecified, canbargain }: WrOrderDetail) {
+        return isspecified && canbargain
     }
     // 显示价格 或者基差
     function showPriceOrMove({ wrpricetype, fixedprice, pricemove }: WrOrderDetail) {