org.wxml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. <!-- 前台导入wxmlUtil.wxs -->
  2. <wxs src='/utils/wxmlUtil.wxs' module="wxmlUtil"></wxs>
  3. <!-- 加载图层 -->
  4. <loading wx:if="{{loading}}"></loading>
  5. <!-- 粘性布局的查询条件 -->
  6. <van-sticky scroll-top="0">
  7. <van-search model:value="{{ searchText }}" bind:change="onSearchText" bind:search="doSearch" use-action-slot placeholder="搜索 客户名称/地址/标签/电话/备注">
  8. </van-search>
  9. <view style="display: flex; padding: 4vw; background: white;">
  10. <view class="image-frame">
  11. <van-image round width="20rpx" height="24rpx" src="/static/img/Vector.png" />
  12. </view>
  13. <view>沈阳蒙娜丽莎红星美凯龙专营店</view>
  14. </view>
  15. </van-sticky>
  16. <!-- 暂无数据 -->
  17. <van-empty wx:if="{{tableData.length<=0}}" description="{{$t['nodata']}}" />
  18. <!-- 列表 -->
  19. <view style="background: white;margin:3vw;border-radius: 15rpx;">
  20. <!-- 列表上半部分 -->
  21. <view style="display: flex;padding:3vw;background: linear-gradient(to right,#A8D0EF, #DAEFFF);border-radius: 15rpx 15rpx 0 0 ">
  22. <view style="display: flex;flex: 1;">
  23. <view class="image-frame">
  24. <van-image round width="20rpx" height="24rpx" src="/static/img/Vector.png" />
  25. </view>
  26. <view>销售部门</view>
  27. </view>
  28. <view style=" text-align: right;"><van-icon name="arrow" /></view>
  29. </view>
  30. <!-- 列表下半部分 -->
  31. <view class="list-below-item">
  32. <view class="image-frame">
  33. <van-image round width="20rpx" height="24rpx" src="/static/img/Vector.png" />
  34. </view>
  35. <view> 浑南红星没开卢克店 </view>
  36. <view style="flex:1;text-align: right;"><van-icon name="arrow" /></view>
  37. </view>
  38. <view class="list-below-item">
  39. <view class="image-frame">
  40. <van-image round width="20rpx" height="24rpx" src="/static/img/Vector.png" />
  41. </view>
  42. <view> 浑南红星没开卢克店 </view>
  43. <view style="flex:1;text-align: right;"><van-icon name="arrow" /></view>
  44. </view>
  45. <view class="list-below-item">
  46. <view class="image-frame">
  47. <van-image round width="20rpx" height="24rpx" src="/static/img/Vector.png" />
  48. </view>
  49. <view> 浑南红星没开卢克店 </view>
  50. <view style="flex:1;text-align: right;"><van-icon name="arrow" /></view>
  51. </view>
  52. </view>
  53. <van-divider wx:if="{{noMore}}" contentPosition="center" borderColor="#DCDCDC">{{$t['noMore']}}</van-divider>
  54. <view style="height: 135rpx;"></view>
  55. <!-- 底部按钮相关 -->
  56. <view class="bottom-class-org">
  57. <view style="padding:10rpx 34rpx 61rpx 43rpx; display: flex;">
  58. <view style="width: 50%;padding: 4vw;">
  59. <van-button round plain size="large" color="#1B365D" custom-style="height:88rpx;" bind:click="submit" data-key="出库回退" data-type="save" type="info">
  60. 新建员工
  61. </van-button>
  62. </view>
  63. <view style="width: 50%;padding: 4vw;">
  64. <van-button round size="large" color="#20365E" custom-style="height:88rpx;" bind:click="toadd" data-key="出库回退" data-type="save" type="default">
  65. 新建子部门
  66. </van-button>
  67. </view>
  68. </view>
  69. </view>
  70. <!-- 弹窗 编辑/新建-->
  71. <van-popup show="{{showPopup}}" position="bottom" bind:close="onClosePopup" custom-class="function-pop-class">
  72. <view style="background-color:#F8F9FD;color:#1B365D;font-size: 17px;font-weight: 600;display: flex;justify-content: left;align-items: center;padding: 40rpx;">
  73. <view>新建部门</view>
  74. </view>
  75. <van-field disabled="{{false}}" disabled="{{true}}" input-width="200rpx" input-class="dk-cell-value-class" input-align="left" label-class="nomal-label" maxlength="50" value="{{'PP00001'}}" input-align="right" label="部门编码" placeholder="{{'请输入' + '品牌编码'}}" autosize border="{{ false }}">
  76. </van-field>
  77. <van-field label-class="nomal-label" input-width="200rpx" input-class="dk-cell-value-class" input-align="right" data-key="supplier-list" maxlength="25" type="text" value="{{'' }}" label="上级部门" placeholder="请选择" autosize border="{{ false }}" right-icon="arrow" color="#95A8CB" catchtap="openChooseOrg" readonly="{{true}}">
  78. </van-field>
  79. <van-field disabled="{{false}}" disabled="{{true}}" input-width="200rpx" input-class="dk-cell-value-class" input-align="left" label-class="nomal-label" maxlength="50" value="{{'PP00001'}}" input-align="right" label="部门名称" placeholder="{{'请输入' + '品牌编码'}}" autosize border="{{ false }}">
  80. </van-field>
  81. <van-field label-class="nomal-label" input-width="200rpx" input-class="dk-cell-value-class" input-align="right" data-key="supplier-list" maxlength="25" type="text" value="{{'' }}" label="可用仓库" placeholder="看" autosize border="{{ false }}" right-icon="arrow" color="#95A8CB" catchtap="openSingle" readonly="{{true}}">
  82. </van-field>
  83. <van-field label-class="nomal-label" input-width="200rpx" input-class="dk-cell-value-class" input-align="right" data-key="supplier-list" maxlength="25" type="text" value="{{'' }}" label="可用资金账号" placeholder="请选择" autosize border="{{ false }}" right-icon="arrow" color="#95A8CB" catchtap="openSingle" readonly="{{true}}">
  84. </van-field>
  85. <van-field disabled="{{false}}" disabled="{{true}}" input-width="200rpx" input-class="dk-cell-value-class" input-align="left" label-class="nomal-label" maxlength="50" value="{{'PP00001'}}" input-align="right" label="备注" placeholder="{{'请输入' + '品牌编码'}}" autosize border="{{ false }}">
  86. </van-field>
  87. <view style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;">
  88. <view style="width:48%">
  89. <van-button size="large" plain round color="#1B365D" custom-style="height:88rpx;" bind:click="onClosePopup" type="default">取消
  90. </van-button>
  91. </view>
  92. <view style="width: 4%;"></view>
  93. <view style="width:48%;">
  94. <van-button size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="addSave" type="default">保存
  95. </van-button>
  96. </view>
  97. </view>
  98. </van-popup>