dk-save-bottom.wxml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395
  1. <!-- 底部工具栏-保存 -->
  2. <view class="{{flagTypeName=='order-choose-goods'?'bottom-class-2':'bottom-class-1'}}">
  3. <!-- 订单开单保存 -->
  4. <view style="padding:52rpx 34rpx 61rpx 43rpx; display: flex;" wx:if="{{flagTypeName ==='order-save'}}">
  5. <view style="width:50%;height:88rpx">
  6. <view style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  7. 需收款:
  8. <!-- <view style="color: #CAA977;font-size: 32rpx;line-height: 40rpx;display: flex;align-items: center;">
  9. <view style="font-size: 22rpx;line-height: 25rpx;width: 25rpx;">¥</view>{{totallength}}
  10. </view> -->
  11. </view>
  12. <dk-cell contentFontSize="16" height="44rpx" fontWeight="600" left="0rpx" contentColor="#CAA977" title="" content="{{ totallength}}"></dk-cell>
  13. </view>
  14. <!-- 保存确定区域 -->
  15. <view style="width: 50%; display: flex;">
  16. <view style="border-radius: 15rpx;width: 196rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  17. </view>
  18. <view style="width: 19rpx;"></view>
  19. <view style="border-radius: 15rpx;width: 196rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  20. <van-button round size="large" color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="info">保存
  21. </van-button>
  22. </view>
  23. </view>
  24. </view>
  25. <!-- 审批拒绝 -->
  26. <view style="padding:52rpx 34rpx 61rpx 43rpx; display: flex;" wx:if="{{flagTypeName ==='order-save-apvResul'}}">
  27. <view style="width:50%;height:88rpx">
  28. <view style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  29. 需收款:
  30. </view>
  31. <dk-cell contentFontSize="16" height="44rpx" fontWeight="600" left="0rpx" contentColor="#CAA977" title="" content="{{ totallength}}"></dk-cell>
  32. </view>
  33. <!-- 保存确定区域 -->
  34. <view style="width: 50%; display: flex;">
  35. <view style="border-radius: 15rpx;width: 196rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  36. <van-button wx:if="{{allCleanFlag}}" round size="large" color="#CAA977" custom-style="height:88rpx;" bind:click="allClean" type="default">收款
  37. </van-button>
  38. </view>
  39. <view style="width: 19rpx;"></view>
  40. <view style="border-radius: 15rpx;width: 196rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  41. <van-button round size="large" color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="info">保存
  42. </van-button>
  43. </view>
  44. </view>
  45. </view>
  46. <view class="save-bottom" wx:if="{{flagTypeName ==='order-save-amount'}}" style="display: flex; padding-top: 6vw;">
  47. <view style="width:50%;height:55rpx;padding-top: 5px;padding-left: 22px;">
  48. <view style="font-size:4vw;height:16px;line-height:16px;" class="red-text">
  49. <view style="margin-bottom: 1vw;">需收款:</view>
  50. <dk-cell contentFontSize="16" height="44rpx" fontWeight="600" left="0rpx" contentColor="#CAA977" title="" content="{{ totallength}}"></dk-cell>
  51. </view>
  52. </view>
  53. <!-- 保存确定区域 -->
  54. <view style="width:239rpx;">
  55. <van-button size="large" round disabled="{{disabledFlag}}" loading="{{disabledFlag}}"color="#CAA977" custom-style="height:88rpx;" bind:click="submit" type="info">收款
  56. </van-button>
  57. </view>
  58. </view>
  59. <view style="padding:52rpx 34rpx 61rpx 43rpx; display: flex;" wx:if="{{flagTypeName ==='order-save-offer'}}">
  60. <view style="width:50%;height:88rpx">
  61. <view style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  62. 需收款:
  63. <!-- <view style="color: #CAA977;font-size: 32rpx;line-height: 40rpx;display: flex;align-items: center;">
  64. <view style="font-size: 22rpx;line-height: 25rpx;width: 25rpx;">¥</view>{{totallength}}
  65. </view> -->
  66. </view>
  67. <dk-cell contentFontSize="16" height="44rpx" fontWeight="600" left="0rpx" contentColor="#CAA977" title="" content="{{ totallength}}"></dk-cell>
  68. </view>
  69. <!-- 保存确定区域 -->
  70. <view style="width: 50%; display: flex;">
  71. <view style="border-radius: 15rpx;width: 196rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  72. <van-button disabled="{{disabledFlag}}" round size="large" color="#CAA977" custom-style="height:88rpx;" bind:click="allClean" type="default">成交
  73. </van-button>
  74. </view>
  75. <view style="width: 19rpx;"></view>
  76. <view style="border-radius: 15rpx;width: 196rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  77. <van-button disabled="{{disabledFlag}}" loading="{{disabledFlag}}" round size="large" color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="info">报价
  78. </van-button>
  79. </view>
  80. </view>
  81. </view>
  82. <view style="padding:52rpx 34rpx 61rpx 43rpx; display: flex;" wx:if="{{flagTypeName ==='order-save-deal'}}">
  83. <view style="width:45%;height:88rpx">
  84. <view style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  85. 需收款:
  86. <view style="color: #CAA977;font-size: 32rpx;line-height: 40rpx;display: flex;align-items: center;">
  87. <dk-cell style="margin-top: -2vw;" left="32px" center="center" fontSize="16" contentFontSize="16" contentColor="#CAA977" spaceWidth="0" contentFontWeight="bold" content="{{totallength}}"></dk-cell>
  88. </view>
  89. </view>
  90. </view>
  91. <!-- 保存确定区域 -->
  92. <view style="width: 55%;display: flex;">
  93. <view style="border-radius: 15rpx;width: 196rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  94. <van-button size="large" round color="#506483" plain custom-style="height:88rpx;"wx:if="{{allCleanFlag}}" bind:click="allClean" type="info" disabled="{{disabledFlag}}" loading="{{disabledFlag}}">收款成交
  95. </van-button>
  96. </view>
  97. <view style="width: 19rpx;"></view>
  98. <view style="border-radius: 15rpx;width: 196rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  99. <van-button round size="large" color="#CAA977" custom-style="height:88rpx;" loading="{{disabledFlag}}" disabled="{{disabledFlag}}" bind:click="submit" type="info">未收款成交
  100. </van-button>
  101. </view>
  102. </view>
  103. </view>
  104. <!-- 成交详情 -->
  105. <view style="padding:52rpx 34rpx 61rpx 43rpx; display: flex;" wx:if="{{flagTypeName ==='buying-signal'}}">
  106. <view style="width:50%;height:88rpx">
  107. <view style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  108. 需收款:
  109. <view style="color: #CAA977;font-size: 32rpx;line-height: 40rpx;display: flex;align-items: center;">
  110. <view style="font-size: 22rpx;line-height: 25rpx;width: 25rpx;">¥</view>{{totallength}}
  111. </view>
  112. </view>
  113. </view>
  114. <!-- 保存确定区域 -->
  115. <view style="width: 50%; display: flex;">
  116. <view style="border-radius: 15rpx;width: 196rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  117. <van-button plain round size="large" color="#506483" custom-style="height:88rpx;" bind:click="submit" type="default">分享
  118. </van-button>
  119. </view>
  120. <view style="width: 19rpx;"></view>
  121. <view style="border-radius: 15rpx;width: 196rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  122. <van-button round size="large" color="#CAA977" custom-style="height:88rpx;" bind:click="allClean" type="info">收款
  123. </van-button>
  124. </view>
  125. </view>
  126. </view>
  127. <view style="padding:52rpx 34rpx 61rpx 43rpx; display: flex;" wx:if="{{flagTypeName ==='buying-signal-copy'}}">
  128. <view style="width:50%;height:88rpx">
  129. <view style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  130. 需收款:
  131. <view style="color: #CAA977;font-size: 32rpx;line-height: 40rpx;display: flex;align-items: center;">
  132. <view style="font-size: 22rpx;line-height: 25rpx;width: 25rpx;">¥</view>{{totallength}}
  133. </view>
  134. </view>
  135. </view>
  136. <!-- 保存确定区域 -->
  137. <view style="width: 50%; display: flex;text-align: right;">
  138. <view style="width: 100rpx;"></view>
  139. <view style="border-radius: 15rpx;width: 196rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  140. <van-button plain round size="large" color="#506483" custom-style="height:88rpx;" bind:click="submit" type="default">分享
  141. </van-button>
  142. </view>
  143. </view>
  144. </view>
  145. <!-- 订单开单选商品 -->
  146. <view class="order-choose-goods-class" wx:if="{{flagTypeName ==='order-choose-goods'}}">
  147. <view class="order-choose-goods-total-class">
  148. <!-- 合计金额:¥{{totallength}} -->
  149. <dk-cell height="46rpx" spaceWidth="1rpx" left="0" fontSize="15" contentColor="#CAA977" fontWeight="600" title="合计金额:" content="{{totallength}}"></dk-cell>
  150. </view>
  151. <view style="padding-left: 40rpx;">
  152. <dk-text fontWeight="" fontSize="11px" color="#fff" value="已选:{{selectlength}} 品类 数量:{{selectTotallength}} 件"></dk-text>
  153. </view>
  154. <!-- 保存确定区域 -->
  155. <van-button wx:if="{{submitFlag}}" custom-class="order-choose-goods-button-class" bind:click="submit" type="default">结算
  156. </van-button>
  157. </view>
  158. <view class="save-bottom" wx:if="{{flagTypeName ==='order-choose-goods-repacement'}}">
  159. <view style="width:65%;height:85rpx;padding:15rpx 0 15rpx 0">
  160. </view>
  161. <!-- 保存确定区域 -->
  162. <view class="save-bottom-button">
  163. <van-button custom-style="height:60rpx;width:75%;word-break:keep-all" bind:click="submit" type="info">确定
  164. </van-button>
  165. </view>
  166. </view>
  167. <!-- 订单开单列表-->
  168. <view wx:if="{{flagTypeName ==='order-add'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;">
  169. <view style="width: calc(100% - 239rpx);height:85rpx;">
  170. <view>
  171. <dk-cell height="60rpx" left="2rpx" fontSize="16" fontWeight="600" contentFontWeight="600" contentColor="#CAA977" titleColor="#CAA977;" contentFontWeight="bold" title="合计金额:" content="{{totallength}}"></dk-cell>
  172. </view>
  173. <view style="line-height: 40rpx;font-size: 23rpx;color:#95A8CB;height: 40rpx; ">
  174. <text decode>共:{{selectlength}}&nbsp;单&emsp;数量:{{selectTotallength}}&nbsp;</text>
  175. </view>
  176. </view>
  177. <!-- 保存确定区域 -->
  178. <view style="width:239rpx;" wx:if="{{submitFlag}}">
  179. <van-button size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="default">新建
  180. </van-button>
  181. </view>
  182. </view>
  183. <!-- 购物车开单保存 -->
  184. <view class="save-bottom" wx:if="{{flagTypeName ==='shopping-save'}}">
  185. <view style="width:50%;height:85rpx;padding:15rpx 0 15rpx 0">
  186. <view style="font-size:4vw;height:30rpx;line-height:30rpx;">合计金额:<span class="red-text">¥{{totallength}}</span>
  187. </view>
  188. <view style="width:100%;height:5rpx;background:#fff;"></view>
  189. <view style="font-size:3.2vw;color:#030303;height:50rpx;line-height:40rpx;">
  190. <text decode>已选:{{selectlength}}&nbsp;品类&emsp;共:{{selectTotallength}}&nbsp;件</text>
  191. </view>
  192. </view>
  193. <!-- 保存确定区域 -->
  194. <view class="save-bottom-button" style="width: 45%;">
  195. <view style="display:flex;">
  196. <van-button custom-style="height:60rpx;word-break:keep-all" bind:click="allClean" type="default">批量清理
  197. </van-button>
  198. <view style="width: 3px;"></view>
  199. <van-button custom-style="height:60rpx;word-break:keep-all" bind:click="submit" type="info">开单
  200. </van-button>
  201. </view>
  202. </view>
  203. </view>
  204. <view class="save-bottom" wx:if="{{flagTypeName ==='pending-save'}}">
  205. <view style="width:50%;height:85rpx;padding:15rpx 0 15rpx 0"></view>
  206. <view class="save-bottom-button" style="width: 45%;">
  207. <view style="display:flex;text-align: right;padding-left: 90rpx;">
  208. <van-button custom-style="height:60rpx;word-break:keep-all" bind:click="allClean" type="default">拒绝
  209. </van-button>
  210. <view style="width: 3px;"></view>
  211. <van-button custom-style="height:60rpx;word-break:keep-all" bind:click="submit" type="info">同意
  212. </van-button>
  213. </view>
  214. </view>
  215. </view>
  216. <view class="save-bottom" style="width: 100%;align-items: center;" wx:if="{{flagTypeName ==='receive-customers'}}">
  217. <view style="height:85rpx;margin-top: 45rpx;color:#1B365D;font-style: normal;font-weight: 400;font-size: 15px;line-height: 40px;">
  218. 共 {{totallength}} 条接待信息
  219. <!-- <view class="save-bottom" wx:if="{{flagTypeName ==='receive-customers'}}">
  220. <view style="width:65%;height:85rpx;padding:15rpx 0 15rpx 0; margin-top: 15rpx;">
  221. 共 {{totallength}} 条数据 -->
  222. </view>
  223. <!-- 保存确定区域 -->
  224. <view class="save-bottom-button" style="width: 358rpx;margin-top: 45rpx;">
  225. <van-button custom-style="width:358rpx;height:88rpx;font-size:16px;border-radius: 15rpx;" color="#1B365D" block bind:click="submit" type="info">新建
  226. </van-button>
  227. </view>
  228. </view>
  229. <!--客户列表一览-->
  230. <view class="save-bottom" wx:if="{{flagTypeName ==='customers'}}">
  231. <!-- <view style="width:65%;height:85rpx;padding:15rpx 0 15rpx 0; margin-top: 15rpx;">
  232. 共 {{totallength}}位客户
  233. </view> -->
  234. <!-- 保存确定区域 -->
  235. <!-- <view class="save-bottom-button">
  236. <van-button custom-style="height:60rpx;width:75%;word-break:keep-all" bind:click="submit" type="info">新建
  237. </van-button>
  238. </view> -->
  239. <view class="customer-save-bottom">
  240. <view style="line-height: 88rpx">
  241. <dk-text fontSize="15px" fontWeight="nomal" value="{{ '共' + totallength + '位客户'}}"></dk-text>
  242. </view>
  243. <!-- 保存确定区域 -->
  244. <view style="width: 358rpx;" wx:if="{{submitFlag}}">
  245. <van-button size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="default">新建
  246. </van-button>
  247. </view>
  248. </view>
  249. </view>
  250. <view class="save-bottom" style="width: 100%;align-items: center;" wx:if="{{flagTypeName ==='customer-collection'}}">
  251. <view style="height:85rpx;margin-top: 45rpx;color:#1B365D;font-style: normal;font-weight: 400;font-size: 15px;line-height: 40px;">
  252. 共 {{totallength}} 条收款记录
  253. <!-- <view class="save-bottom" wx:if="{{flagTypeName ==='receive-customers'}}">
  254. <view style="width:65%;height:85rpx;padding:15rpx 0 15rpx 0; margin-top: 15rpx;">
  255. 共 {{totallength}} 条数据 -->
  256. </view>
  257. <!-- 保存确定区域 -->
  258. <view class="save-bottom-button" style="width: 358rpx;margin-top: 45rpx;">
  259. <van-button custom-style="width:358rpx;height:88rpx;font-size:16px;border-radius: 15rpx;" color="#1B365D" block bind:click="submit" type="info">新建
  260. </van-button>
  261. </view>
  262. </view>
  263. <!-- 定制设计 -->
  264. <view style="padding:35rpx 60rpx 59rpx 72rpx; display: flex;" wx:if="{{flagTypeName ==='order-design'}}">
  265. <!-- 保存确定区域 -->
  266. <view style="width: 100%; display: flex;">
  267. <view style="border-radius: 15rpx;width: 295rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  268. <van-button plain round size="large" color="#506483" custom-style="height:88rpx;" bind:click="submit" type="default">客户分享
  269. </van-button>
  270. </view>
  271. <view style="width: 28rpx;"></view>
  272. <view style="border-radius: 15rpx;width: 295rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  273. <van-button round size="large" color="#1B365D" custom-style="height:88rpx;" bind:click="allClean" type="info">方案确定
  274. </van-button>
  275. </view>
  276. </view>
  277. </view>
  278. <view style="padding:35rpx 60rpx 59rpx 72rpx; display: flex;" wx:if="{{flagTypeName ==='approval-center'}}">
  279. <!-- 保存确定区域 -->
  280. <view style="width: 100%; display: flex;">
  281. <view style="border-radius: 15rpx;width: 295rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  282. <van-button plain round size="large" color="#506483" custom-style="height:88rpx;" bind:click="submit" type="default">拒绝
  283. </van-button>
  284. </view>
  285. <view style="width: 28rpx;"></view>
  286. <view style="border-radius: 15rpx;width: 295rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  287. <van-button round size="large" color="#1B365D" custom-style="height:88rpx;" bind:click="allClean" type="info">同意
  288. </van-button>
  289. </view>
  290. </view>
  291. </view>
  292. <!-- 样品检查 -->
  293. <view wx:if="{{flagTypeName ==='sample-check-add'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;">
  294. <view style="width: calc(100% - 239rpx);height:85rpx;">
  295. </view>
  296. <!-- 保存确定区域 -->
  297. <view style="width:239rpx;" wx:if="{{submitFlag}}">
  298. <van-button size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="default">保存
  299. </van-button>
  300. </view>
  301. </view>
  302. </view>