Procházet zdrojové kódy

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

li.shaoyi před 4 roky
rodič
revize
6273521414
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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) {