|
@@ -80,7 +80,7 @@ const handleOperateButtons = (row: Model.TradePositionRsp) => {
|
|
|
// 是否供应商
|
|
// 是否供应商
|
|
|
const isProvider = goodsList.value.some((e) => e.goodsid === row.goodsid && e.provideruserid === userInfo.userid)
|
|
const isProvider = goodsList.value.some((e) => e.goodsid === row.goodsid && e.provideruserid === userInfo.userid)
|
|
|
|
|
|
|
|
- if (isProvider || row.buyorsell === BuyOrSell.Buy || market?.isdeliverysellercanapply === 1) {
|
|
|
|
|
|
|
+ if (!isProvider && (row.buyorsell === BuyOrSell.Buy || market?.isdeliverysellercanapply === 1)) {
|
|
|
buttons.push('bottom_goods_position_delivery50')
|
|
buttons.push('bottom_goods_position_delivery50')
|
|
|
}
|
|
}
|
|
|
return buttons
|
|
return buttons
|