Commit 07951a6c by 张立顺

fix 问题修复

1 parent 4307ae76
...@@ -541,10 +541,8 @@ Page({ ...@@ -541,10 +541,8 @@ Page({
code code
} = result } = result
const warrantyCardVisible = data.cardCodeFlag && data.cardCodeFlag == 1 const warrantyCardVisible = data.cardCodeFlag && data.cardCodeFlag == 1
// const signatureSwitchValue = data.signatureSwitch && data.signatureSwitch == 1
this.setData({ this.setData({
warrantyCardVisible: !warrantyCardVisible warrantyCardVisible: !warrantyCardVisible
// signatureSwitch: signatureSwitchValue
}) })
}) })
}, },
......
...@@ -42,7 +42,8 @@ ...@@ -42,7 +42,8 @@
<view class="name">{{g.upgradeGoodsAlias||g.upgradeGoodsName}}</view> <view class="name">{{g.upgradeGoodsAlias||g.upgradeGoodsName}}</view>
<view class="price">¥{{g.price}}</view> <view class="price">¥{{g.price}}</view>
</view> </view>
<view class="meal-bd-bottom">{{g.upgradeGoodsType===1?g.positionStr: g.upgradeGoodsTypeName}}<view class="count">x{{g.number}}</view> <view class="meal-bd-bottom">{{g.upgradeGoodsType===1?g.positionStr: g.upgradeGoodsTypeName}}
<view class="count">x{{g.number}}</view>
</view> </view>
</view> </view>
</view> </view>
...@@ -248,7 +249,7 @@ ...@@ -248,7 +249,7 @@
</block> --> </block> -->
</view> </view>
<!-- 已支付4 战败2 已评价6 三种状态才展示 并且不是通过失效客户录入的战败单 --> <!-- 已支付4 战败2 已评价6 三种状态才展示 并且不是通过失效客户录入的战败单 -->
<block wx:if="{{(!userInfo.isSuper && userInfo.loginRole != 3 && userInfo.userType == 2 && (orderInfo.status == 4 || orderInfo.status == 2 || orderInfo.status == 6)) && (orderInfo.subOrderList && orderInfo.subOrderList.length)}}"> <block wx:if="{{(!userInfo.isSuper && userInfo.loginRole != 3 && userInfo.userType == 2 && (orderInfo.status == 4 || orderInfo.status == 2 || orderInfo.status == 6)) && ((orderInfo.subOrderList && orderInfo.subOrderList.length) ||(orderInfo.packageGoodsList&&orderInfo.packageGoodsList.length))}}">
<!-- 不需要走签名逻辑 --> <!-- 不需要走签名逻辑 -->
<view wx:if="{{signatureSwitch&&orderInfo.selectPayType!=0}}" class="btn-box {{isFullSucreen?'isFullSucreen-btn':''}}"> <view wx:if="{{signatureSwitch&&orderInfo.selectPayType!=0}}" class="btn-box {{isFullSucreen?'isFullSucreen-btn':''}}">
<view class="btn text-center" bindtap="navOrderSignature">客户签名确认</view> <view class="btn text-center" bindtap="navOrderSignature">客户签名确认</view>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!