add.wxml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <import src="add.skeleton.wxml" />
  2. <template is="skeleton" wx:if="{{skeletonShow}}" />
  3. <navigator wx:if="{{userrole!='经销商'}}" url="#" class="groud" bindtap="selectAgency">
  4. <view class="label jxs">
  5. 指定经销商:
  6. </view>
  7. <view class="agency" wx:if="{{agency.sys_enterpriseid}}">
  8. <view class="title">
  9. {{agency.enterprisename||" --"}}
  10. </view>
  11. <view class="exp">联系人:{{agency.changeby||" --"}} {{agency.phonenumber||" --"}}</view>
  12. <view class="exp">详细地址:{{agency.province+agency.city+agency.county+agency.address||" --"}}</view>
  13. </view>
  14. <view wx:else>
  15. 点击选择经销商
  16. </view>
  17. </navigator>
  18. <view class="groud" wx:if="{{brandList.length}}">
  19. <view class="label">
  20. 选择品牌
  21. </view>
  22. <view class="content">
  23. <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>
  24. </view>
  25. </view>
  26. <view class="groud" wx:if="{{domainList.length}}">
  27. <view class="label">
  28. 选择领域
  29. </view>
  30. <view class="content">
  31. <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>
  32. </view>
  33. </view>
  34. <!-- 底部 -->
  35. <view style="height: 150rpx;" />
  36. <view class="footer">
  37. <van-button custom-class='but' loading='{{loading}}' loading-text='创建中...' bindtap="submit">创建订单</van-button>
  38. </view>