123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <import src="add.skeleton.wxml" />
- <template is="skeleton" wx:if="{{skeletonShow}}" />
- <navigator wx:if="{{userrole!='经销商'}}" url="#" class="groud" bindtap="selectAgency">
- <view class="label jxs">
- 指定经销商:
- </view>
- <view class="agency" wx:if="{{agency.sys_enterpriseid}}">
- <view class="title">
- {{agency.enterprisename||" --"}}
- </view>
- <view class="exp">联系人:{{agency.changeby||" --"}} {{agency.phonenumber||" --"}}</view>
- <view class="exp">详细地址:{{agency.province+agency.city+agency.county+agency.address||" --"}}</view>
- </view>
- <view wx:else>
- 点击选择经销商
- </view>
- </navigator>
- <view class="groud" wx:if="{{brandList.length}}">
- <view class="label">
- 选择品牌
- </view>
- <view class="content">
- <van-button custom-class='but {{item.sa_brandid==sa_brandid?"active":""}}' wx:for="{{brandList}}" wx:key="sa_brandid" data-item="{{item}}" bindtap="onSelectBrand">{{item.brandname}}</van-button>
- </view>
- </view>
- <view class="groud" wx:if="{{domainList.length}}">
- <view class="label">
- 选择领域
- </view>
- <view class="content">
- <van-button custom-class='but {{item.tradefield==tradefield?"active":""}}' wx:for="{{domainList}}" wx:key="sys_enterprise_tradefieldid" data-item="{{item}}" bindtap="onSelect">{{item.tradefield}}</van-button>
- </view>
- </view>
- <!-- 底部 -->
- <view style="height: 150rpx;" />
- <view class="footer">
- <van-button custom-class='but' loading='{{loading}}' loading-text='创建中...' bindtap="submit">创建订单</van-button>
- </view>
|