dk-save-bottom.wxml 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794
  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 ==='purchase-orders-edit1'}}">
  83. <view style="width:50%;height:88rpx">
  84. <view wx:if="{{purchasePriceFlag}}" style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  85. 合计金额:
  86. </view>
  87. <dk-cell wx:if="{{purchasePriceFlag}}" contentFontSize="16" height="44rpx" fontWeight="600" left="0rpx" contentColor="#CAA977" title="" content="{{ totallength}}"></dk-cell>
  88. </view>
  89. <!-- 保存确定区域 -->
  90. <view style="width: 50%; display: flex;">
  91. <view wx:if="{{!rightButtonFlag}}" style="border-radius: 15rpx;width: 196rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  92. </view>
  93. <view style="border-radius: 15rpx;width:50%; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  94. <van-button disabled="{{disabledFlag}}" loading="{{disabledFlag}}" plain round size="large" color="" custom-style="height:88rpx;background:#ffffff;border-radius: 15rpx;color:#1B365D;border: solid 2rpx #1B365D;font-size: 16px; font-weight: bold;" bind:click="submit" type="info">暂存
  95. </van-button>
  96. </view>
  97. <view wx:if="{{leftButtonFlag && rightButtonFlag}}" style="width: 10%;"></view>
  98. <view wx:if="{{rightButtonFlag}}" style="border-radius: 15rpx;width: 50%; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  99. <van-button wx:if="{{leftButtonFlag}}" disabled="{{disabledFlag}}" round size="large" color="#1B365D" custom-style="height:88rpx;" bind:click="allClean" type="default">提交
  100. </van-button>
  101. </view>
  102. </view>
  103. </view>
  104. <view style="padding:52rpx 34rpx 61rpx 43rpx; display: flex;" wx:if="{{flagTypeName ==='purchase-orders-offer'}}">
  105. <view style="width:50%;height:88rpx">
  106. <view wx:if="{{purchasePriceFlag}}" style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  107. 合计金额:
  108. </view>
  109. <dk-cell wx:if="{{purchasePriceFlag}}" contentFontSize="16" height="44rpx" fontWeight="600" left="0rpx" contentColor="#CAA977" title="" content="{{ totallength}}"></dk-cell>
  110. </view>
  111. <!-- 保存确定区域 -->
  112. <view style="width: 50%; display: flex;">
  113. <view wx:if="{{!rightButtonFlag}}" style="border-radius: 15rpx;width: 196rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  114. </view>
  115. <view style="border-radius: 15rpx;width: 50%; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  116. <van-button disabled="{{disabledFlag}}" loading="{{disabledFlag}}" plain round size="large" color="" custom-style="height:88rpx;background:#ffffff;border-radius: 15rpx;color:#1B365D;border: solid 2rpx #1B365D;font-size: 16px; font-weight: bold;" bind:click="submit" type="info">暂存
  117. </van-button>
  118. </view>
  119. <view wx:if="{{leftButtonFlag && rightButtonFlag}}" style="width: 10%;"></view>
  120. <view wx:if="{{rightButtonFlag}}" style="border-radius: 15rpx;width: 50%; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  121. <van-button wx:if="{{leftButtonFlag}}" disabled="{{disabledFlag}}" round size="large" color="#1B365D" custom-style="height:88rpx;" bind:click="allClean" type="default">提交
  122. </van-button>
  123. </view>
  124. </view>
  125. </view>
  126. <view style="padding:52rpx 34rpx 61rpx 43rpx; display: flex;" wx:if="{{flagTypeName ==='order-save-deal'}}">
  127. <view style="width:45%;height:88rpx">
  128. <view style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  129. 需收款:
  130. <view style="color: #CAA977;font-size: 32rpx;line-height: 40rpx;display: flex;align-items: center;">
  131. <dk-cell style="margin-top: -2vw;" left="32px" center="center" fontSize="16" contentFontSize="16" contentColor="#CAA977" spaceWidth="0" contentFontWeight="bold" content="{{totallength}}"></dk-cell>
  132. </view>
  133. </view>
  134. </view>
  135. <!-- 保存确定区域 -->
  136. <view style="width: 55%;display: flex;">
  137. <view style="border-radius: 15rpx;width: 196rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  138. <van-button size="large" round color="#506483" plain custom-style="height:88rpx;" wx:if="{{allCleanFlag}}" bind:click="allClean" type="info" disabled="{{disabledFlag}}" loading="{{disabledFlag}}">收款成交
  139. </van-button>
  140. </view>
  141. <view style="width: 19rpx;"></view>
  142. <view style="border-radius: 15rpx;width: 196rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  143. <van-button round size="large" color="#CAA977" custom-style="height:88rpx;" loading="{{disabledFlag}}" disabled="{{disabledFlag}}" bind:click="submit" type="info">未收款成交
  144. </van-button>
  145. </view>
  146. </view>
  147. </view>
  148. <view style="padding:52rpx 34rpx 61rpx 43rpx; display: flex;" wx:if="{{flagTypeName ==='order-save-deal-return'}}">
  149. <view style="width:45%;height:88rpx">
  150. <view style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;" wx:if="{{purchasePriceFlag}}">
  151. 货物金额:
  152. <view style="color: #CAA977;font-size: 32rpx;line-height: 40rpx;display: flex;align-items: center;">
  153. <dk-cell style="margin-top: -2vw;" left="32px" center="center" fontSize="16" contentFontSize="16" contentColor="#CAA977" spaceWidth="0" contentFontWeight="bold" content="{{totallength}}"></dk-cell>
  154. </view>
  155. </view>
  156. </view>
  157. <!-- 保存确定区域 -->
  158. <view style="width: 55%;display: flex;">
  159. <view style="border-radius: 15rpx;width: 196rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  160. </view>
  161. <view style="width: 19rpx;"></view>
  162. <view style="border-radius: 15rpx;width: 392rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  163. <van-button round size="large" color="#1B365D" custom-style="height:88rpx;" loading="{{disabledFlag}}" disabled="{{disabledFlag}}" bind:click="submit" type="info">确定
  164. </van-button>
  165. </view>
  166. </view>
  167. </view>
  168. <!-- 成交详情 -->
  169. <view style="padding:52rpx 34rpx 61rpx 43rpx; display: flex;" wx:if="{{flagTypeName ==='buying-signal'}}">
  170. <view style="width:50%;height:88rpx">
  171. <view style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  172. 需收款:
  173. <view style="color: #CAA977;font-size: 32rpx;line-height: 40rpx;display: flex;align-items: center;">
  174. <view style="font-size: 22rpx;line-height: 25rpx;width: 25rpx;">¥</view>{{totallength}}
  175. </view>
  176. </view>
  177. </view>
  178. <!-- 保存确定区域 -->
  179. <view style="width: 50%; display: flex;">
  180. <view style="border-radius: 15rpx;width: {{submitFlag ? '196rpx' :'392rpx'}}; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  181. <!-- <van-button plain round size="large" color="#506483" custom-style="height:88rpx;" bind:click="submit" type="default">分享
  182. </van-button> -->
  183. </view>
  184. <view style="width: 19rpx;"></view>
  185. <view wx:if="{{submitFlag}}" style="border-radius: 15rpx;width: 196rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  186. <van-button round size="large" color="#CAA977" custom-style="height:88rpx;" disabled="{{!allCleanFlag}}" bind:click="allClean" type="info">收款
  187. </van-button>
  188. </view>
  189. </view>
  190. </view>
  191. <view style="padding:52rpx 34rpx 61rpx 43rpx; display: flex;" wx:if="{{flagTypeName ==='buying-signal-copy'}}">
  192. <view style="width:50%;height:88rpx">
  193. <view style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  194. 需收款:
  195. <view style="color: #CAA977;font-size: 32rpx;line-height: 40rpx;display: flex;align-items: center;">
  196. <view style="font-size: 22rpx;line-height: 25rpx;width: 25rpx;">¥</view>{{totallength}}
  197. </view>
  198. </view>
  199. </view>
  200. <!-- 保存确定区域 -->
  201. <view style="width: 50%; display: flex;text-align: right;">
  202. <view style="width: 100rpx;"></view>
  203. <view style="border-radius: 15rpx;width: 196rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  204. <van-button plain round size="large" color="#506483" custom-style="height:88rpx;" disabled="{{!allCleanFlag}}" bind:click="submit" type="default">分享
  205. </van-button>
  206. </view>
  207. </view>
  208. </view>
  209. <!-- 订单开单选商品 -->
  210. <view class="order-choose-goods-class" wx:if="{{flagTypeName ==='order-choose-goods'}}">
  211. <view class="order-choose-goods-total-class">
  212. <!-- 合计金额:¥{{totallength}} -->
  213. <dk-cell wx:if="{{purchasePriceFlag}}" height="46rpx" spaceWidth="1rpx" left="0" fontSize="15" contentColor="#CAA977" fontWeight="600" title="合计金额:" content="{{totallength}}"></dk-cell>
  214. </view>
  215. <view style="{{!purchasePriceFlag ? 'padding-left: 40rpx;padding-top:20rpx' : 'padding-left: 40rpx;'}}">
  216. <dk-text fontWeight="" fontSize="11px" color="#fff" value="已选:{{selectlength}} 品类 数量:{{selectTotallength}} 件"></dk-text>
  217. </view>
  218. <!-- 保存确定区域 -->
  219. <van-button wx:if="{{submitFlag}}" custom-class="order-choose-goods-button-class" bind:click="submit" type="default">结算
  220. </van-button>
  221. </view>
  222. <view class="save-bottom" wx:if="{{flagTypeName ==='order-choose-goods-repacement'}}">
  223. <view style="width:65%;height:85rpx;padding:15rpx 0 15rpx 0">
  224. </view>
  225. <!-- 保存确定区域 -->
  226. <view class="save-bottom-button">
  227. <van-button custom-style="height:60rpx;width:75%;word-break:keep-all" bind:click="submit" type="info">确定
  228. </van-button>
  229. </view>
  230. </view>
  231. <!-- 订单开单列表-->
  232. <view wx:if="{{flagTypeName ==='order-add'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;">
  233. <view style="width: calc(100% - 239rpx);height:85rpx;">
  234. <view wx:if="{{purchasePriceFlag}}">
  235. <dk-cell height="60rpx" left="2rpx" fontSize="16" fontWeight="600" contentFontWeight="600" contentColor="#CAA977" titleColor="#CAA977;" contentFontWeight="bold" title="合计金额:" content="{{totallength}}"></dk-cell>
  236. </view>
  237. <view style="{{purchasePriceFlag ? 'line-height: 40rpx;font-size: 23rpx;color:#95A8CB;height: 40rpx;' : 'font-size: 23rpx;color:#95A8CB;height: 40rpx;display: flex;justify-content: left;align-items: center;padding-top:20rpx'}}">
  238. <text decode>共:{{selectlength}}&nbsp;单&emsp;数量:{{selectTotallength}}&nbsp;</text>
  239. </view>
  240. </view>
  241. <!-- 保存确定区域 -->
  242. <view style="width:239rpx;" wx:if="{{submitFlag}}">
  243. <van-button size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="default">新建
  244. </van-button>
  245. </view>
  246. </view>
  247. <view wx:if="{{flagTypeName ==='purchase-return-add'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;">
  248. <view style="width: calc(100% - 239rpx);height:85rpx;">
  249. <view wx:if="{{purchasePriceFlag}}">
  250. <dk-cell height="60rpx" left="2rpx" fontSize="16" fontWeight="600" contentFontWeight="600" contentColor="#CAA977" titleColor="#CAA977;" contentFontWeight="bold" title="合计金额:" content="{{totallength}}"></dk-cell>
  251. </view>
  252. <view style="line-height: 40rpx;font-size: 23rpx;color:#95A8CB;height: 40rpx; ">
  253. <text decode>共:{{selectlength}}&nbsp;单&emsp;</text>
  254. </view>
  255. </view>
  256. <!-- 保存确定区域 -->
  257. <view style="width:239rpx;" wx:if="{{submitFlag}}">
  258. <van-button size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="default">新建
  259. </van-button>
  260. </view>
  261. </view>
  262. <!-- 购物车开单保存 -->
  263. <view class="save-bottom" wx:if="{{flagTypeName ==='shopping-save'}}">
  264. <view style="width:50%;height:85rpx;padding:15rpx 0 15rpx 0">
  265. <view style="font-size:4vw;height:30rpx;line-height:30rpx;">合计金额:<span class="red-text">¥{{totallength}}</span>
  266. </view>
  267. <view style="width:100%;height:5rpx;background:#fff;"></view>
  268. <view style="font-size:3.2vw;color:#030303;height:50rpx;line-height:40rpx;">
  269. <text decode>已选:{{selectlength}}&nbsp;品类&emsp;共:{{selectTotallength}}&nbsp;件</text>
  270. </view>
  271. </view>
  272. <!-- 保存确定区域 -->
  273. <view class="save-bottom-button" style="width: 45%;">
  274. <view style="display:flex;">
  275. <van-button custom-style="height:60rpx;word-break:keep-all" bind:click="allClean" type="default">批量清理
  276. </van-button>
  277. <view style="width: 3px;"></view>
  278. <van-button custom-style="height:60rpx;word-break:keep-all" bind:click="submit" type="info">开单
  279. </van-button>
  280. </view>
  281. </view>
  282. </view>
  283. <view class="save-bottom" wx:if="{{flagTypeName ==='pending-save'}}">
  284. <view style="width:50%;height:85rpx;padding:15rpx 0 15rpx 0"></view>
  285. <view class="save-bottom-button" style="width: 45%;">
  286. <view style="display:flex;text-align: right;padding-left: 90rpx;">
  287. <van-button custom-style="height:60rpx;word-break:keep-all" bind:click="allClean" type="default">拒绝
  288. </van-button>
  289. <view style="width: 3px;"></view>
  290. <van-button custom-style="height:60rpx;word-break:keep-all" bind:click="submit" type="info">同意
  291. </van-button>
  292. </view>
  293. </view>
  294. </view>
  295. <view class="save-bottom" style="width: 100%;align-items: center;" wx:if="{{flagTypeName ==='receive-customers'}}">
  296. <view style="height:85rpx;margin-top: 45rpx;color:#1B365D;font-style: normal;font-weight: 400;font-size: 15px;line-height: 40px;">
  297. 共 {{totallength}} 条接待信息
  298. <!-- <view class="save-bottom" wx:if="{{flagTypeName ==='receive-customers'}}">
  299. <view style="width:65%;height:85rpx;padding:15rpx 0 15rpx 0; margin-top: 15rpx;">
  300. 共 {{totallength}} 条数据 -->
  301. </view>
  302. <!-- 保存确定区域 -->
  303. <view class="save-bottom-button" style="width: 358rpx;margin-top: 45rpx;">
  304. <van-button custom-style="width:358rpx;height:88rpx;font-size:16px;border-radius: 15rpx;" color="#1B365D" block bind:click="submit" type="info">新建
  305. </van-button>
  306. </view>
  307. </view>
  308. <!--客户列表一览-->
  309. <view class="save-bottom" wx:if="{{flagTypeName ==='customers'}}">
  310. <!-- <view style="width:65%;height:85rpx;padding:15rpx 0 15rpx 0; margin-top: 15rpx;">
  311. 共 {{totallength}}位客户
  312. </view> -->
  313. <!-- 保存确定区域 -->
  314. <!-- <view class="save-bottom-button">
  315. <van-button custom-style="height:60rpx;width:75%;word-break:keep-all" bind:click="submit" type="info">新建
  316. </van-button>
  317. </view> -->
  318. <view class="customer-save-bottom">
  319. <view style="line-height: 88rpx">
  320. <dk-text fontSize="15px" fontWeight="nomal" value="{{ '共' + totallength + '位客户'}}"></dk-text>
  321. </view>
  322. <!-- 保存确定区域 -->
  323. <view style="width: 358rpx;" wx:if="{{submitFlag}}">
  324. <van-button size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="default">新建
  325. </van-button>
  326. </view>
  327. </view>
  328. </view>
  329. <view class="save-bottom" style="width: 100%;align-items: center;" wx:if="{{flagTypeName ==='customer-collection'}}">
  330. <view style="height:85rpx;margin-top: 45rpx;color:#1B365D;font-style: normal;font-weight: 400;font-size: 15px;line-height: 40px;">
  331. 共 {{totallength}} 条收款记录
  332. <!-- <view class="save-bottom" wx:if="{{flagTypeName ==='receive-customers'}}">
  333. <view style="width:65%;height:85rpx;padding:15rpx 0 15rpx 0; margin-top: 15rpx;">
  334. 共 {{totallength}} 条数据 -->
  335. </view>
  336. <!-- 保存确定区域 -->
  337. <view class="save-bottom-button" style="width: 358rpx;margin-top: 45rpx;">
  338. <van-button custom-style="width:358rpx;height:88rpx;font-size:16px;border-radius: 15rpx;" color="#1B365D" block bind:click="submit" type="info">新建
  339. </van-button>
  340. </view>
  341. </view>
  342. <!-- 定制设计 -->
  343. <view style="padding:35rpx 60rpx 59rpx 72rpx; display: flex;" wx:if="{{flagTypeName ==='order-design'}}">
  344. <!-- 保存确定区域 -->
  345. <view style="width: 100%; display: flex;">
  346. <view style="border-radius: 15rpx;width: 295rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  347. <van-button plain round size="large" color="#506483" custom-style="height:88rpx;" bind:click="submit" type="default">客户分享
  348. </van-button>
  349. </view>
  350. <view style="width: 28rpx;"></view>
  351. <view style="border-radius: 15rpx;width: 295rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  352. <van-button round size="large" color="#1B365D" custom-style="height:88rpx;" bind:click="allClean" type="info">方案确定
  353. </van-button>
  354. </view>
  355. </view>
  356. </view>
  357. <view style="padding:35rpx 60rpx 59rpx 72rpx; display: flex;" wx:if="{{flagTypeName ==='approval-center'}}">
  358. <!-- 保存确定区域 -->
  359. <view style="width: 100%; display: flex;">
  360. <view style="border-radius: 15rpx;width: 295rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  361. <van-button plain round size="large" color="#506483" custom-style="height:88rpx;" bind:click="submit" type="default">拒绝
  362. </van-button>
  363. </view>
  364. <view style="width: 28rpx;"></view>
  365. <view style="border-radius: 15rpx;width: 295rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  366. <van-button round size="large" color="#1B365D" custom-style="height:88rpx;" bind:click="allClean" type="info">同意
  367. </van-button>
  368. </view>
  369. </view>
  370. </view>
  371. <!-- 样品检查 -->
  372. <view wx:if="{{flagTypeName ==='sample-check-add'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;">
  373. <view style="width: calc(100% - 239rpx);height:85rpx;">
  374. </view>
  375. <!-- 保存确定区域 -->
  376. <view style="width:239rpx;" wx:if="{{submitFlag}}">
  377. <van-button size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="default">保存
  378. </van-button>
  379. </view>
  380. </view>
  381. <!-- 采购订单 -->
  382. <view style="padding:52rpx 34rpx 61rpx 43rpx; display: flex;" wx:if="{{flagTypeName ==='purchase-order'}}">
  383. <view style="width:50%;height:88rpx">
  384. <view wx:if="{{purchasePriceFlag}}" style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  385. 合计金额:
  386. </view>
  387. <dk-cell wx:if="{{purchasePriceFlag}}" contentFontSize="16" height="44rpx" fontWeight="600" left="0rpx" contentColor="#CAA977" title="" content="{{ totallength}}"></dk-cell>
  388. </view>
  389. <!-- 保存确定区域 -->
  390. <view style="width: 50%; text-align: right;justify-content: center;">
  391. <van-button disabled="{{disabledFlag}}" loading="{{disabledFlag}}" round size="large" color="#1B365D" custom-style="height:88rpx;width:239rpx" bind:click="submit" type="info">关闭
  392. </van-button>
  393. </view>
  394. </view>
  395. <!-- 选订单 -->
  396. <view style="padding:52rpx 34rpx 61rpx 43rpx; display: flex;" wx:if="{{flagTypeName ==='purchase-orders-sale-order'}}">
  397. <view style="width:50%;height:88rpx">
  398. <view>
  399. <van-checkbox size="26rpx" value="{{ checked }}" data-index="{{index}}" data-index_="{{index_}}" bind:change="onListItemChange">
  400. <view style="color:#95A8CB;font-size: 26rpx;">全选</view>
  401. </van-checkbox>
  402. </view>
  403. <view style="line-height: 44rpx;font-size: 23rpx;color:#95A8CB;padding-top: 10rpx;">
  404. <text decode>共:{{selectlength}}&nbsp;单&emsp;数量:{{selectTotallength}}&nbsp;</text>
  405. </view>
  406. </view>
  407. <view style="width: 50%; display: flex;">
  408. <view style="border-radius: 15rpx;width: 196rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  409. <van-button disabled="{{disabledFlag}}" plain round custom-class="save-button-class-canl" size="large" color="" custom-style="height:88rpx;" bind:click="allClean" type="default">取消
  410. </van-button>
  411. </view>
  412. <view style="width: 19rpx;"></view>
  413. <view style="border-radius: 15rpx;width: 196rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  414. <van-button disabled="{{disabledFlag}}" loading="{{disabledFlag}}" round size="large" color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="info">确定
  415. </van-button>
  416. </view>
  417. </view>
  418. </view>
  419. <!-- 采购待入库 -->
  420. <view style="padding:52rpx 34rpx 61rpx 43rpx; display: flex;" wx:if="{{flagTypeName ==='purchase-inventory-offer'}}">
  421. <view style="width:40%;height:88rpx">
  422. <!-- <view style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  423. 合计金额:
  424. </view>
  425. <dk-cell contentFontSize="16" height="44rpx" fontWeight="600" left="0rpx" contentColor="#CAA977" title="" content="{{ totallength}}"></dk-cell> -->
  426. </view>
  427. <!-- 保存确定区域 -->
  428. <view style="width: 60%; display: flex;">
  429. <view style="border-radius: 15rpx;width: 226rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  430. <van-button disabled="{{disabledFlag}}" plain round custom-class="save-button-class-canl" size="large" color="" custom-style="height:88rpx;" bind:click="allClean" type="default">{{allCleanName}}
  431. </van-button>
  432. </view>
  433. <view style="width: 19rpx;"></view>
  434. <view style="border-radius: 15rpx;width: 226rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  435. <van-button disabled="{{disabledFlag}}" loading="{{disabledFlag}}" round size="large" color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="info">{{allSubmitName}}
  436. </van-button>
  437. </view>
  438. </view>
  439. </view>
  440. <!-- 已入库单-->
  441. <view wx:if="{{flagTypeName ==='received-order'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;">
  442. <view style="width:40%;height:88rpx">
  443. <view style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  444. 合计金额:
  445. </view>
  446. <dk-cell contentFontSize="16" height="44rpx" fontWeight="600" left="0rpx" contentColor="#CAA977" title="" content="{{ totallength}}"></dk-cell>
  447. </view>
  448. <!-- 保存确定区域 -->
  449. <view style="width: 60%; display: flex;">
  450. <view style="border-radius: 15rpx;width: 226rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  451. <van-button disabled="{{disabledFlag}}" plain round custom-class="save-button-class-canl" size="large" color="" custom-style="height:88rpx;" bind:click="allClean" type="default">入库回退
  452. </van-button>
  453. </view>
  454. <view style="width: 19rpx;"></view>
  455. <view style="border-radius: 15rpx;width: 226rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  456. <van-button disabled="{{disabledFlag}}" loading="{{disabledFlag}}" round size="large" color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="info">关闭
  457. </van-button>
  458. </view>
  459. </view>
  460. </view>
  461. <!-- 入库办理列表-->
  462. <view wx:if="{{flagTypeName ==='other-warehousing'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;">
  463. <view style="width: calc(100% - 239rpx);height:85rpx;">
  464. <view>
  465. <dk-cell height="60rpx" left="2rpx" fontSize="16" fontWeight="600" contentFontWeight="600" contentColor="#CAA977" titleColor="#CAA977;" contentFontWeight="bold" title="" content=""></dk-cell>
  466. </view>
  467. <view style="line-height: 40rpx;font-size: 23rpx;color:#95A8CB;height: 40rpx; ">
  468. <text decode>共:{{selectlength}}&nbsp;单&emsp;数量:{{selectTotallength}}&nbsp;</text>
  469. </view>
  470. </view>
  471. <!-- 保存确定区域 -->
  472. <view style="width:239rpx;" wx:if="{{submitFlag}}">
  473. <van-button size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="default">其他入库
  474. </van-button>
  475. </view>
  476. </view>
  477. <!-- 新建其他入库-->
  478. <view wx:if="{{flagTypeName ==='add-other-warehousing'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;">
  479. <view style="width: calc(100% - 65%); height: 85rpx; display: flex; justify-content: center; align-items: center;">
  480. <van-checkbox shape="round" value="{{ checked }}" bind:change="onCheckboxChange">自动入库办理</van-checkbox>
  481. </view>
  482. <!-- 保存确定区域 -->
  483. <view style="width:65%;justify-content: center;display:flex;">
  484. <van-button style="width:40%;margin-right: 5%;background: #ffffff;color:#1B365D;border: solid 2rpx #1B365D;font-size:16px;font-weight: bold;border-radius: 15rpx" plain round size="large" color="" custom-style="height:88rpx;" bind:click="allClean" type="default">取消
  485. </van-button>
  486. <van-button style="width: 40%;" size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="default">保存
  487. </van-button>
  488. </view>
  489. </view>
  490. <!-- 出库办理列表-->
  491. <view wx:if="{{flagTypeName ==='other-outbound-list'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;">
  492. <view style="width: calc(100% - 239rpx);height:85rpx;">
  493. <view>
  494. <dk-cell height="60rpx" left="2rpx" fontSize="16" fontWeight="600" contentFontWeight="600" contentColor="#CAA977" titleColor="#CAA977;" contentFontWeight="bold" title="" content=""></dk-cell>
  495. </view>
  496. <view style="line-height: 40rpx;font-size: 23rpx;color:#95A8CB;height: 40rpx; ">
  497. <text decode>共:{{selectlength}}&nbsp;单&emsp;数量:{{selectTotallength}}&nbsp;</text>
  498. </view>
  499. </view>
  500. <!-- 保存确定区域 -->
  501. <view style="width:239rpx;" wx:if="{{submitFlag}}">
  502. <van-button size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="default">其他出库
  503. </van-button>
  504. </view>
  505. </view>
  506. <!-- 新建其他出库-->
  507. <view wx:if="{{flagTypeName ==='add-other-outbound'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;">
  508. <view style="width: calc(100% - 65%); height: 85rpx; display: flex; justify-content: center; align-items: center;">
  509. <van-checkbox shape="round" value="{{ checked }}" bind:change="onCheckboxChange">自动出库办理</van-checkbox>
  510. </view>
  511. <!-- 保存确定区域 -->
  512. <view style="width:65%;justify-content: center;display:flex;">
  513. <van-button style="width:40%;margin-right: 5%;background:#ffffff;border-radius: 15rpx;color:#1B365D;border: solid 2rpx #1B365D;font-size: 16px; font-weight: bold;" plain round size="large" color="" custom-style="height:88rpx;" bind:click="allClean" type="default">取消
  514. </van-button>
  515. <van-button style="width: 40%;" size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="default">保存
  516. </van-button>
  517. </view>
  518. </view>
  519. <!-- 销售出库-->
  520. <view wx:if="{{flagTypeName ==='sales-outbound'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;">
  521. <view style="width: calc(100% - 239rpx);height:85rpx;">
  522. <view>
  523. <dk-cell height="60rpx" left="2rpx" fontSize="16" fontWeight="600" contentFontWeight="600" contentColor="#CAA977" titleColor="#CAA977;" contentFontWeight="bold" title="" content=""></dk-cell>
  524. </view>
  525. <view style="line-height: 40rpx;font-size: 23rpx;color:#95A8CB;height: 40rpx; ">
  526. <text decode>共:{{selectlength}}&nbsp;单&emsp;数量:{{selectTotallength}}&nbsp;</text>
  527. </view>
  528. </view>
  529. <!-- 保存确定区域 -->
  530. <view style="width:239rpx;" wx:if="{{submitFlag}}">
  531. <!-- <van-button size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="default">其他出库
  532. </van-button> -->
  533. </view>
  534. </view>
  535. <!-- 其他出库-出库回退 详情页 -->
  536. <view style="padding:52rpx 34rpx 61rpx 43rpx; display: flex;" wx:if="{{flagTypeName ==='outbound-rollback-save'}}">
  537. <view style="width:40%;height:88rpx">
  538. <!-- <view style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  539. 合计金额:
  540. </view>
  541. <dk-cell contentFontSize="16" height="44rpx" fontWeight="600" left="0rpx" contentColor="#CAA977" title="" content="{{ totallength}}"></dk-cell> -->
  542. </view>
  543. <!-- 保存确定区域 -->
  544. <view style="width: 60%; display: flex;">
  545. <view style="border-radius: 15rpx;width: 226rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  546. <van-button disabled="{{disabledFlag}}" plain round custom-class="save-button-class-canl" size="large" color="" custom-style="height:88rpx;" bind:click="allClean" type="default">{{allCleanName}}
  547. </van-button>
  548. </view>
  549. <view style="width: 19rpx;"></view>
  550. <view style="border-radius: 15rpx;width: 226rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  551. <van-button disabled="{{disabledFlag}}" loading="{{disabledFlag}}" round size="large" color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="info">{{allSubmitName}}
  552. </van-button>
  553. </view>
  554. </view>
  555. </view>
  556. <!-- 新建销售出库-->
  557. <view wx:if="{{flagTypeName ==='add-sales-outbound'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;">
  558. <view style="width: calc(100% - 65%); height: 85rpx; display: flex; justify-content: center; align-items: center;">
  559. <view>
  560. <van-checkbox wx:if="{{showcheckbox}}" shape="round" value="{{ checked }}" bind:change="onCheckboxChange" style="font-size: 12px;">自动出库办理</van-checkbox>
  561. <view style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  562. 合计金额:
  563. </view>
  564. <dk-cell contentFontSize="15" height="44rpx" fontWeight="600" left="0rpx" contentColor="#CAA977" title="" content="{{ totallength}}"></dk-cell>
  565. </view>
  566. </view>
  567. <!-- 保存确定区域 -->
  568. <view style="width:65%;justify-content: center;display:flex;">
  569. <van-button style="width:40%;margin-right: 5%;" plain round custom-class="save-button-class-canl" size="large" color="" custom-style="height:88rpx;" bind:click="allClean" type="default">关闭
  570. </van-button>
  571. <van-button style="width: 40%;" size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="default">销售出库
  572. </van-button>
  573. </view>
  574. </view>
  575. <!-- 编辑销售出库-->
  576. <view wx:if="{{flagTypeName ==='edit-sales-outbound'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;">
  577. <view style="width: calc(100% - 65%); height: 85rpx; display: flex; justify-content: center; align-items: center;">
  578. <view>
  579. <van-checkbox shape="round" value="{{ checked }}" bind:change="onCheckboxChange" style="font-size: 12px;">自动出库办理</van-checkbox>
  580. <view style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  581. 合计金额:
  582. </view>
  583. <dk-cell contentFontSize="15" height="44rpx" fontWeight="600" left="0rpx" contentColor="#CAA977" title="" content="{{ totallength}}"></dk-cell>
  584. </view>
  585. </view>
  586. <!-- 保存确定区域 -->
  587. <view style="width:65%;justify-content: center;display:flex;">
  588. <van-button style="width:40%;margin-right: 5%;" plain round custom-class="save-button-class-canl" size="large" color="" custom-style="height:88rpx;" bind:click="allClean" type="default">关闭
  589. </van-button>
  590. <van-button style="width: 40%;" size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="default">销售出库
  591. </van-button>
  592. </view>
  593. </view>
  594. <!-- 销售出库 - 已出库 - 详情(出库回退) -->
  595. <view style="padding:52rpx 34rpx 61rpx 43rpx; display: flex;" wx:if="{{flagTypeName ==='Sales-outbound-rollback'}}">
  596. <view style="width:40%;height:88rpx">
  597. <view style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  598. 合计金额:
  599. </view>
  600. <dk-cell contentFontSize="16" height="44rpx" fontWeight="600" left="0rpx" contentColor="#CAA977" title="" content="{{ totallength}}"></dk-cell>
  601. </view>
  602. <!-- 保存确定区域 -->
  603. <view style="width: 60%; display: flex;">
  604. <view style="border-radius: 15rpx;width: 226rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  605. <van-button disabled="{{disabledFlag}}" plain round custom-class="save-button-class-canl" size="large" color="" custom-style="height:88rpx;" bind:click="allClean" type="default">{{allCleanName}}
  606. </van-button>
  607. </view>
  608. <view style="width: 19rpx;"></view>
  609. <view style="border-radius: 15rpx;width: 226rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  610. <van-button disabled="{{disabledFlag}}" loading="{{disabledFlag}}" round size="large" color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="info">保存
  611. </van-button>
  612. </view>
  613. </view>
  614. </view>
  615. <!-- 销售回库 - 已出库 - 详情(出库回退) -->
  616. <view style="padding:52rpx 34rpx 61rpx 43rpx; display: flex;" wx:if="{{flagTypeName ==='sales-return-details'}}">
  617. <view style="width:40%;height:88rpx">
  618. <view style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  619. 合计金额:
  620. </view>
  621. <dk-cell contentFontSize="16" height="44rpx" fontWeight="600" left="0rpx" contentColor="#CAA977" title="" content="{{ totallength}}"></dk-cell>
  622. </view>
  623. <!-- 保存确定区域 -->
  624. <view style="width: 60%; display: flex;">
  625. <view style="border-radius: 15rpx;width: 226rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  626. <van-button disabled="{{disabledFlag}}" plain round size="large" color="" custom-style="height:88rpx;" bind:click="allClean" type="default">{{allCleanName}}
  627. </van-button>
  628. </view>
  629. <view style="width: 19rpx;"></view>
  630. <view style="border-radius: 15rpx;width: 226rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  631. <van-button disabled="{{disabledFlag}}" loading="{{disabledFlag}}" round size="large" color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="info">{{allSubmitName}}
  632. </van-button>
  633. </view>
  634. </view>
  635. </view>
  636. </view>