@@ -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) {