switchPopup.wxml
1.37 KB
<popup show="{{ show }}" title="{{ title }}" height="{{ height }}" footer-mode="tips" tips="{{ tips }}" bindconfirm="confirm">
<gl-cell border valueAlign="right" label="{{ '门店切换' }}" requiredAfter labelWidth="var(--fontSize140)" required haveArrow bindclick="showPopup" data-show-name="selesBox" placeholder="请选择" disabled="{{ false }}">
<!-- <block wx:if="{{ orderObj.merchantName && orderObj.employeeName }}"> -->
<view class="between">
<view class="start text-hide">{{selectedMerchantList[0].merchantName || '请选择'}}</view>
<!-- <view class="end text-hide">
<text>|</text>
{{orderObj.employeeName}}
</view> -->
</view>
<!-- </block> -->
</gl-cell>
<block wx:for="{{ orderSettingList }}" wx:key="index" wx:for-item="item" wx:for-index="index">
<gl-cell border label="{{ item.label }}" valueAlign="right" labelWidth="var(--fontSize240)">
<!-- <switchBlock/> -->
<switch-block switchStatus="{{ item.value }}" disable="{{ isYqdSuper && selectedMerchantList.length }}" bindswitchEvent="onSwitchChange" data-index="{{ index }}" />
</gl-cell>
</block>
</popup>
<store-select-popup show="{{ showStoreSelectPopup }}" type="{{ 2 }}" bindconfirm="storeConfirm" bindcancel="hideStorePopup" selectedData="{{ selectedMerchantList || [] }}"></store-select-popup>
<!-- <store-select-popup></store-select-popup> -->