dk-save-bottom.wxml 57 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273
  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-offer'}}">
  83. <view style="width:50%;height:88rpx">
  84. <view style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  85. 合计金额:
  86. </view>
  87. <dk-cell 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 ==='order-save-deal'}}">
  105. <view style="width:45%;height:88rpx">
  106. <view style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  107. 需收款:
  108. <view style="color: #CAA977;font-size: 32rpx;line-height: 40rpx;display: flex;align-items: center;">
  109. <dk-cell style="margin-top: -2vw;" left="32px" center="center" fontSize="16" contentFontSize="16" contentColor="#CAA977" spaceWidth="0" contentFontWeight="bold" content="{{totallength}}"></dk-cell>
  110. </view>
  111. </view>
  112. </view>
  113. <!-- 保存确定区域 -->
  114. <view style="width: 55%;display: flex;">
  115. <view style="border-radius: 15rpx;width: 196rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  116. <van-button size="large" round color="#506483" plain custom-style="height:88rpx;" wx:if="{{allCleanFlag}}" bind:click="allClean" type="info" disabled="{{disabledFlag}}" loading="{{disabledFlag}}">收款成交
  117. </van-button>
  118. </view>
  119. <view style="width: 19rpx;"></view>
  120. <view style="border-radius: 15rpx;width: 196rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  121. <van-button round size="large" color="#CAA977" custom-style="height:88rpx;" loading="{{disabledFlag}}" disabled="{{disabledFlag}}" bind:click="submit" type="info">未收款成交
  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-return'}}">
  127. <view style="width:45%;height:88rpx">
  128. <view style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;" wx:if="{{purchasePriceFlag}}">
  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. </view>
  139. <view style="width: 19rpx;"></view>
  140. <view style="border-radius: 15rpx;width: 392rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  141. <van-button round size="large" color="#1B365D" custom-style="height:88rpx;" loading="{{disabledFlag}}" disabled="{{disabledFlag}}" bind:click="submit" type="info">确定
  142. </van-button>
  143. </view>
  144. </view>
  145. </view>
  146. <!-- 成交详情 -->
  147. <view style="padding:52rpx 34rpx 61rpx 43rpx; display: flex;" wx:if="{{flagTypeName ==='buying-signal'}}">
  148. <view style="width:50%;height:88rpx">
  149. <view style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  150. 需收款:
  151. <view style="color: #CAA977;font-size: 32rpx;line-height: 40rpx;display: flex;align-items: center;">
  152. <view style="font-size: 22rpx;line-height: 25rpx;width: 25rpx;">¥</view>{{totallength}}
  153. </view>
  154. </view>
  155. </view>
  156. <!-- 保存确定区域 -->
  157. <view style="width: 50%; display: flex;">
  158. <view style="border-radius: 15rpx;width: {{submitFlag ? '196rpx' :'392rpx'}}; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  159. <!-- <van-button plain round size="large" color="#506483" custom-style="height:88rpx;" bind:click="submit" type="default">分享
  160. </van-button> -->
  161. </view>
  162. <view style="width: 19rpx;"></view>
  163. <view wx:if="{{submitFlag}}" style="border-radius: 15rpx;width: 196rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  164. <van-button round size="large" color="#CAA977" custom-style="height:88rpx;" disabled="{{!allCleanFlag}}" bind:click="allClean" type="info">收款
  165. </van-button>
  166. </view>
  167. </view>
  168. </view>
  169. <view style="padding:52rpx 34rpx 61rpx 43rpx; display: flex;" wx:if="{{flagTypeName ==='buying-signal-copy'}}">
  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;text-align: right;">
  180. <view style="width: 100rpx;"></view>
  181. <view style="border-radius: 15rpx;width: 196rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  182. <van-button plain round size="large" color="#506483" custom-style="height:88rpx;" disabled="{{!allCleanFlag}}" bind:click="submit" type="default">分享
  183. </van-button>
  184. </view>
  185. </view>
  186. </view>
  187. <!-- 订单开单选商品 -->
  188. <view class="order-choose-goods-class" wx:if="{{flagTypeName ==='order-choose-goods'}}">
  189. <view class="order-choose-goods-total-class">
  190. <!-- 合计金额:¥{{totallength}} -->
  191. <dk-cell wx:if="{{purchasePriceFlag}}" height="46rpx" spaceWidth="1rpx" left="0" fontSize="15" contentColor="#CAA977" fontWeight="600" title="合计金额:" content="{{totallength}}"></dk-cell>
  192. </view>
  193. <view style="{{!purchasePriceFlag ? 'padding-left: 40rpx;padding-top:20rpx' : 'padding-left: 40rpx;'}}">
  194. <dk-text fontWeight="" fontSize="11px" color="#fff" value="已选:{{selectlength}} 品类 数量:{{selectTotallength}} 件"></dk-text>
  195. </view>
  196. <!-- 保存确定区域 -->
  197. <van-button wx:if="{{submitFlag}}" custom-class="order-choose-goods-button-class" bind:click="submit" type="default">结算
  198. </van-button>
  199. </view>
  200. <view class="save-bottom" wx:if="{{flagTypeName ==='order-choose-goods-repacement'}}">
  201. <view style="width:65%;height:85rpx;padding:15rpx 0 15rpx 0">
  202. </view>
  203. <!-- 保存确定区域 -->
  204. <view class="save-bottom-button">
  205. <van-button custom-style="height:60rpx;width:75%;word-break:keep-all" bind:click="submit" type="info">确定
  206. </van-button>
  207. </view>
  208. </view>
  209. <view wx:if="{{flagTypeName ==='supplier-list'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;justify-content: center;align-items: center;">
  210. <view style="width:48%;height:85rpx;">
  211. <view style="display: flex;justify-content: left;align-items: center;">
  212. <van-checkbox value="{{checked}}" data-index="{{index}}" checked-color="#1989FA" bind:change="onCheckboxChange" />
  213. <view style="color: #1B365D;font-size: 13px;margin-left: 20rpx;">启用</view>
  214. </view>
  215. </view>
  216. <view style="width: 4%;"></view>
  217. <view style="width:48%;height:85rpx;">
  218. <van-button size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="allClean" type="default">新建
  219. </van-button>
  220. </view>
  221. </view>
  222. <view wx:if="{{flagTypeName ==='select-product-attribute-suppliers'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;">
  223. <view style="width:48%">
  224. <van-button size="large" plain round color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="default">新建
  225. </van-button>
  226. </view>
  227. <view style="width: 4%;"></view>
  228. <view style="width:48%;">
  229. <van-button size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="allClean" type="default">保存
  230. </van-button>
  231. </view>
  232. </view>
  233. <!-- 订单开单列表-->
  234. <view wx:if="{{flagTypeName ==='order-add'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;">
  235. <view style="width: calc(100% - 239rpx);height:85rpx;">
  236. <view>
  237. <dk-cell height="60rpx" left="2rpx" fontSize="16" fontWeight="600" contentFontWeight="600" contentColor="#CAA977" titleColor="#CAA977;" contentFontWeight="bold" title="合计金额:" content="{{totallength}}"></dk-cell>
  238. </view>
  239. <view style="line-height: 40rpx;font-size: 23rpx;color:#95A8CB;height: 40rpx; ">
  240. <text decode>共:{{selectlength}}&nbsp;单&emsp;数量:{{selectTotallength}}&nbsp;</text>
  241. </view>
  242. </view>
  243. <!-- 保存确定区域 -->
  244. <view style="width:239rpx;" 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 wx:if="{{flagTypeName ==='purchase-return-add'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;">
  250. <view style="width: calc(100% - 239rpx);height:85rpx;">
  251. <view>
  252. <dk-cell height="60rpx" left="2rpx" fontSize="16" fontWeight="600" contentFontWeight="600" contentColor="#CAA977" titleColor="#CAA977;" contentFontWeight="bold" title="合计金额:" content="{{totallength}}"></dk-cell>
  253. </view>
  254. <view style="line-height: 40rpx;font-size: 23rpx;color:#95A8CB;height: 40rpx; ">
  255. <text decode>共:{{selectlength}}&nbsp;单&emsp;</text>
  256. </view>
  257. </view>
  258. <!-- 保存确定区域 -->
  259. <view style="width:239rpx;">
  260. <van-button size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="default">新建
  261. </van-button>
  262. </view>
  263. </view>
  264. <!-- 购物车开单保存 -->
  265. <view class="save-bottom" wx:if="{{flagTypeName ==='shopping-save'}}">
  266. <view style="width:50%;height:85rpx;padding:15rpx 0 15rpx 0">
  267. <view style="font-size:4vw;height:30rpx;line-height:30rpx;">合计金额:<span class="red-text">¥{{totallength}}</span>
  268. </view>
  269. <view style="width:100%;height:5rpx;background:#fff;"></view>
  270. <view style="font-size:3.2vw;color:#030303;height:50rpx;line-height:40rpx;">
  271. <text decode>已选:{{selectlength}}&nbsp;品类&emsp;共:{{selectTotallength}}&nbsp;件</text>
  272. </view>
  273. </view>
  274. <!-- 保存确定区域 -->
  275. <view class="save-bottom-button" style="width: 45%;">
  276. <view style="display:flex;">
  277. <van-button custom-style="height:60rpx;word-break:keep-all" bind:click="allClean" type="default">批量清理
  278. </van-button>
  279. <view style="width: 3px;"></view>
  280. <van-button custom-style="height:60rpx;word-break:keep-all" bind:click="submit" type="info">开单
  281. </van-button>
  282. </view>
  283. </view>
  284. </view>
  285. <view class="save-bottom" wx:if="{{flagTypeName ==='pending-save'}}">
  286. <view style="width:50%;height:85rpx;padding:15rpx 0 15rpx 0"></view>
  287. <view class="save-bottom-button" style="width: 45%;">
  288. <view style="display:flex;text-align: right;padding-left: 90rpx;">
  289. <van-button custom-style="height:60rpx;word-break:keep-all" bind:click="allClean" type="default">拒绝
  290. </van-button>
  291. <view style="width: 3px;"></view>
  292. <van-button custom-style="height:60rpx;word-break:keep-all" bind:click="submit" type="info">同意
  293. </van-button>
  294. </view>
  295. </view>
  296. </view>
  297. <view class="save-bottom" style="width: 100%;align-items: center;" wx:if="{{flagTypeName ==='receive-customers'}}">
  298. <view style="height:85rpx;margin-top: 45rpx;color:#1B365D;font-style: normal;font-weight: 400;font-size: 15px;line-height: 40px;">
  299. 共 {{totallength}} 条接待信息
  300. <!-- <view class="save-bottom" wx:if="{{flagTypeName ==='receive-customers'}}">
  301. <view style="width:65%;height:85rpx;padding:15rpx 0 15rpx 0; margin-top: 15rpx;">
  302. 共 {{totallength}} 条数据 -->
  303. </view>
  304. <!-- 保存确定区域 -->
  305. <view class="save-bottom-button" style="width: 358rpx;margin-top: 45rpx;">
  306. <van-button custom-style="width:358rpx;height:88rpx;font-size:16px;border-radius: 15rpx;" color="#1B365D" block bind:click="submit" type="info">新建
  307. </van-button>
  308. </view>
  309. </view>
  310. <!--客户列表一览-->
  311. <view class="save-bottom" wx:if="{{flagTypeName ==='customers'}}">
  312. <!-- <view style="width:65%;height:85rpx;padding:15rpx 0 15rpx 0; margin-top: 15rpx;">
  313. 共 {{totallength}}位客户
  314. </view> -->
  315. <!-- 保存确定区域 -->
  316. <!-- <view class="save-bottom-button">
  317. <van-button custom-style="height:60rpx;width:75%;word-break:keep-all" bind:click="submit" type="info">新建
  318. </van-button>
  319. </view> -->
  320. <view class="customer-save-bottom">
  321. <view style="line-height: 88rpx">
  322. <dk-text fontSize="15px" fontWeight="nomal" value="{{ '共' + totallength + '位客户'}}"></dk-text>
  323. </view>
  324. <!-- 保存确定区域 -->
  325. <view style="width: 358rpx;" wx:if="{{submitFlag}}">
  326. <van-button size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="default">新建
  327. </van-button>
  328. </view>
  329. </view>
  330. </view>
  331. <view class="save-bottom" style="width: 100%;align-items: center;" wx:if="{{flagTypeName ==='customer-collection'}}">
  332. <view style="height:85rpx;margin-top: 45rpx;color:#1B365D;font-style: normal;font-weight: 400;font-size: 15px;line-height: 40px;">
  333. 共 {{totallength}} 条收款记录
  334. <!-- <view class="save-bottom" wx:if="{{flagTypeName ==='receive-customers'}}">
  335. <view style="width:65%;height:85rpx;padding:15rpx 0 15rpx 0; margin-top: 15rpx;">
  336. 共 {{totallength}} 条数据 -->
  337. </view>
  338. <!-- 保存确定区域 -->
  339. <view class="save-bottom-button" style="width: 358rpx;margin-top: 45rpx;">
  340. <van-button custom-style="width:358rpx;height:88rpx;font-size:16px;border-radius: 15rpx;" color="#1B365D" block bind:click="submit" type="info">新建
  341. </van-button>
  342. </view>
  343. </view>
  344. <!-- 定制设计 -->
  345. <view style="padding:35rpx 60rpx 59rpx 72rpx; display: flex;" wx:if="{{flagTypeName ==='order-design'}}">
  346. <!-- 保存确定区域 -->
  347. <view style="width: 100%; display: flex;">
  348. <view style="border-radius: 15rpx;width: 295rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  349. <van-button plain round size="large" color="#506483" custom-style="height:88rpx;" bind:click="submit" type="default">客户分享
  350. </van-button>
  351. </view>
  352. <view style="width: 28rpx;"></view>
  353. <view style="border-radius: 15rpx;width: 295rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  354. <van-button round size="large" color="#1B365D" custom-style="height:88rpx;" bind:click="allClean" type="info">方案确定
  355. </van-button>
  356. </view>
  357. </view>
  358. </view>
  359. <view style="padding:35rpx 60rpx 59rpx 72rpx; display: flex;" wx:if="{{flagTypeName ==='approval-center'}}">
  360. <!-- 保存确定区域 -->
  361. <view style="width: 100%; display: flex;">
  362. <view style="border-radius: 15rpx;width: 295rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  363. <van-button plain round size="large" color="#506483" custom-style="height:88rpx;" bind:click="submit" type="default">拒绝
  364. </van-button>
  365. </view>
  366. <view style="width: 28rpx;"></view>
  367. <view style="border-radius: 15rpx;width: 295rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  368. <van-button round size="large" color="#1B365D" custom-style="height:88rpx;" bind:click="allClean" type="info">同意
  369. </van-button>
  370. </view>
  371. </view>
  372. </view>
  373. <!-- 样品检查 -->
  374. <view wx:if="{{flagTypeName ==='sample-check-add'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;">
  375. <view style="width: calc(100% - 239rpx);height:85rpx;">
  376. </view>
  377. <!-- 保存确定区域 -->
  378. <view style="width:239rpx;" wx:if="{{submitFlag}}">
  379. <van-button size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="default">保存
  380. </van-button>
  381. </view>
  382. </view>
  383. <!-- 采购订单 -->
  384. <view style="padding:52rpx 34rpx 61rpx 43rpx; display: flex;" wx:if="{{flagTypeName ==='purchase-order'}}">
  385. <view style="width:50%;height:88rpx">
  386. <view wx:if="{{purchasePriceFlag}}" style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  387. 合计金额:
  388. </view>
  389. <dk-cell wx:if="{{purchasePriceFlag}}" contentFontSize="16" height="44rpx" fontWeight="600" left="0rpx" contentColor="#CAA977" title="" content="{{ totallength}}"></dk-cell>
  390. </view>
  391. <!-- 保存确定区域 -->
  392. <view style="width: 50%; text-align: right;justify-content: center;">
  393. <van-button disabled="{{disabledFlag}}" loading="{{disabledFlag}}" round size="large" color="#1B365D" custom-style="height:88rpx;width:239rpx" bind:click="submit" type="info">关闭
  394. </van-button>
  395. </view>
  396. </view>
  397. <!-- 选订单 -->
  398. <view style="padding:52rpx 34rpx 61rpx 43rpx; display: flex;" wx:if="{{flagTypeName ==='purchase-orders-sale-order'}}">
  399. <view style="width:50%;height:88rpx">
  400. <view>
  401. <van-checkbox size="26rpx" value="{{ checked }}" data-index="{{index}}" data-index_="{{index_}}" bind:change="onListItemChange">
  402. <view style="color:#95A8CB;font-size: 26rpx;">全选</view>
  403. </van-checkbox>
  404. </view>
  405. <view style="line-height: 44rpx;font-size: 23rpx;color:#95A8CB;padding-top: 10rpx;">
  406. <text decode>共:{{selectlength}}&nbsp;单&emsp;数量:{{selectTotallength}}&nbsp;</text>
  407. </view>
  408. </view>
  409. <view style="width: 50%; display: flex;">
  410. <view style="border-radius: 15rpx;width: 196rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  411. <van-button disabled="{{disabledFlag}}" plain round custom-class="save-button-class-canl" size="large" color="" custom-style="height:88rpx;" bind:click="allClean" type="default">取消
  412. </van-button>
  413. </view>
  414. <view style="width: 19rpx;"></view>
  415. <view style="border-radius: 15rpx;width: 196rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  416. <van-button disabled="{{disabledFlag}}" loading="{{disabledFlag}}" round size="large" color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="info">确定
  417. </van-button>
  418. </view>
  419. </view>
  420. </view>
  421. <!-- 采购待入库 -->
  422. <view style="padding:52rpx 34rpx 61rpx 43rpx; display: flex;" wx:if="{{flagTypeName ==='purchase-inventory-offer'}}">
  423. <view style="width:40%;height:88rpx">
  424. <!-- <view style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  425. 合计金额:
  426. </view>
  427. <dk-cell contentFontSize="16" height="44rpx" fontWeight="600" left="0rpx" contentColor="#CAA977" title="" content="{{ totallength}}"></dk-cell> -->
  428. </view>
  429. <!-- 保存确定区域 -->
  430. <view style="width: 60%; display: flex;">
  431. <view style="border-radius: 15rpx;width: 226rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  432. <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}}
  433. </van-button>
  434. </view>
  435. <view style="width: 19rpx;"></view>
  436. <view style="border-radius: 15rpx;width: 226rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  437. <van-button disabled="{{disabledFlag}}" loading="{{disabledFlag}}" round size="large" color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="info">{{allSubmitName}}
  438. </van-button>
  439. </view>
  440. </view>
  441. </view>
  442. <!-- 已入库单-->
  443. <view wx:if="{{flagTypeName ==='received-order'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;">
  444. <view style="width:40%;height:88rpx">
  445. <view style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  446. 合计金额:
  447. </view>
  448. <dk-cell contentFontSize="16" height="44rpx" fontWeight="600" left="0rpx" contentColor="#CAA977" title="" content="{{ totallength}}"></dk-cell>
  449. </view>
  450. <!-- 保存确定区域 -->
  451. <view style="width: 60%; display: flex;">
  452. <view style="border-radius: 15rpx;width: 226rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  453. <van-button disabled="{{disabledFlag}}" plain round custom-class="save-button-class-canl" size="large" color="" custom-style="height:88rpx;" bind:click="allClean" type="default">入库回退
  454. </van-button>
  455. </view>
  456. <view style="width: 19rpx;"></view>
  457. <view style="border-radius: 15rpx;width: 226rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  458. <van-button disabled="{{disabledFlag}}" loading="{{disabledFlag}}" round size="large" color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="info">关闭
  459. </van-button>
  460. </view>
  461. </view>
  462. </view>
  463. <!-- 入库办理列表-->
  464. <view wx:if="{{flagTypeName ==='other-warehousing'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;">
  465. <view style="width: calc(100% - 239rpx);height:85rpx;">
  466. <view>
  467. <dk-cell height="60rpx" left="2rpx" fontSize="16" fontWeight="600" contentFontWeight="600" contentColor="#CAA977" titleColor="#CAA977;" contentFontWeight="bold" title="" content=""></dk-cell>
  468. </view>
  469. <view style="line-height: 40rpx;font-size: 23rpx;color:#95A8CB;height: 40rpx; ">
  470. <text decode>共:{{selectlength}}&nbsp;单&emsp;数量:{{selectTotallength}}&nbsp;</text>
  471. </view>
  472. </view>
  473. <!-- 保存确定区域 -->
  474. <view style="width:239rpx;" wx:if="{{submitFlag}}">
  475. <van-button size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="default">其他入库
  476. </van-button>
  477. </view>
  478. </view>
  479. <!-- 新建其他入库-->
  480. <view wx:if="{{flagTypeName ==='add-other-warehousing'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;">
  481. <view style="width: calc(100% - 65%); height: 85rpx; display: flex; justify-content: center; align-items: center;">
  482. <van-checkbox shape="round" value="{{ checked }}" bind:change="onCheckboxChange">自动入库办理</van-checkbox>
  483. </view>
  484. <!-- 保存确定区域 -->
  485. <view style="width:65%;justify-content: center;display:flex;">
  486. <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">取消
  487. </van-button>
  488. <van-button style="width: 40%;" size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="default">保存
  489. </van-button>
  490. </view>
  491. </view>
  492. <!-- 出库办理列表-->
  493. <view wx:if="{{flagTypeName ==='other-outbound-list'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;">
  494. <view style="width: calc(100% - 239rpx);height:85rpx;">
  495. <view>
  496. <dk-cell height="60rpx" left="2rpx" fontSize="16" fontWeight="600" contentFontWeight="600" contentColor="#CAA977" titleColor="#CAA977;" contentFontWeight="bold" title="" content=""></dk-cell>
  497. </view>
  498. <view style="line-height: 40rpx;font-size: 23rpx;color:#95A8CB;height: 40rpx; ">
  499. <text decode>共:{{selectlength}}&nbsp;单&emsp;数量:{{selectTotallength}}&nbsp;</text>
  500. </view>
  501. </view>
  502. <!-- 保存确定区域 -->
  503. <view style="width:239rpx;" wx:if="{{submitFlag}}">
  504. <van-button size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="default">其他出库
  505. </van-button>
  506. </view>
  507. </view>
  508. <!-- 新建其他出库-->
  509. <view wx:if="{{flagTypeName ==='add-other-outbound'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;">
  510. <view style="width: calc(100% - 65%); height: 85rpx; display: flex; justify-content: center; align-items: center;">
  511. <van-checkbox shape="round" value="{{ checked }}" bind:change="onCheckboxChange">自动出库办理</van-checkbox>
  512. </view>
  513. <!-- 保存确定区域 -->
  514. <view style="width:65%;justify-content: center;display:flex;">
  515. <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">取消
  516. </van-button>
  517. <van-button style="width: 40%;" size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="default">保存
  518. </van-button>
  519. </view>
  520. </view>
  521. <!-- 销售出库-->
  522. <view wx:if="{{flagTypeName ==='sales-outbound'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;">
  523. <view style="width: calc(100% - 239rpx);height:85rpx;">
  524. <view>
  525. <dk-cell height="60rpx" left="2rpx" fontSize="16" fontWeight="600" contentFontWeight="600" contentColor="#CAA977" titleColor="#CAA977;" contentFontWeight="bold" title="" content=""></dk-cell>
  526. </view>
  527. <view style="line-height: 40rpx;font-size: 23rpx;color:#95A8CB;height: 40rpx; ">
  528. <text decode>共:{{selectlength}}&nbsp;单&emsp;数量:{{selectTotallength}}&nbsp;</text>
  529. </view>
  530. </view>
  531. <!-- 保存确定区域 -->
  532. <view style="width:239rpx;" wx:if="{{submitFlag}}">
  533. <!-- <van-button size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="default">其他出库
  534. </van-button> -->
  535. </view>
  536. </view>
  537. <!-- 其他出库-出库回退 详情页 -->
  538. <view style="padding:52rpx 34rpx 61rpx 43rpx; display: flex;" wx:if="{{flagTypeName ==='outbound-rollback-save'}}">
  539. <view style="width:40%;height:88rpx">
  540. <!-- <view style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  541. 合计金额:
  542. </view>
  543. <dk-cell contentFontSize="16" height="44rpx" fontWeight="600" left="0rpx" contentColor="#CAA977" title="" content="{{ totallength}}"></dk-cell> -->
  544. </view>
  545. <!-- 保存确定区域 -->
  546. <view style="width: 60%; display: flex;">
  547. <view style="border-radius: 15rpx;width: 226rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  548. <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}}
  549. </van-button>
  550. </view>
  551. <view style="width: 19rpx;"></view>
  552. <view style="border-radius: 15rpx;width: 226rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  553. <van-button disabled="{{disabledFlag}}" loading="{{disabledFlag}}" round size="large" color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="info">{{allSubmitName}}
  554. </van-button>
  555. </view>
  556. </view>
  557. </view>
  558. <!-- 新建销售出库-->
  559. <view wx:if="{{flagTypeName ==='add-sales-outbound'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;">
  560. <view style="width: calc(100% - 65%); height: 85rpx; display: flex; justify-content: center; align-items: center;">
  561. <view>
  562. <van-checkbox wx:if="{{showcheckbox}}" shape="round" value="{{ checked }}" bind:change="onCheckboxChange" style="font-size: 12px;">自动出库办理</van-checkbox>
  563. <view style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  564. 合计金额:
  565. </view>
  566. <dk-cell contentFontSize="15" height="44rpx" fontWeight="600" left="0rpx" contentColor="#CAA977" title="" content="{{ totallength}}"></dk-cell>
  567. </view>
  568. </view>
  569. <!-- 保存确定区域 -->
  570. <view style="width:65%;justify-content: center;display:flex;">
  571. <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">关闭
  572. </van-button>
  573. <van-button style="width: 40%;" size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="default">销售出库
  574. </van-button>
  575. </view>
  576. </view>
  577. <!-- 编辑销售出库-->
  578. <view wx:if="{{flagTypeName ==='edit-sales-outbound'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;">
  579. <view style="width: calc(100% - 65%); height: 85rpx; display: flex; justify-content: center; align-items: center;">
  580. <view>
  581. <van-checkbox shape="round" value="{{ checked }}" bind:change="onCheckboxChange" style="font-size: 12px;">自动出库办理</van-checkbox>
  582. <view style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  583. 合计金额:
  584. </view>
  585. <dk-cell contentFontSize="15" height="44rpx" fontWeight="600" left="0rpx" contentColor="#CAA977" title="" content="{{ totallength}}"></dk-cell>
  586. </view>
  587. </view>
  588. <!-- 保存确定区域 -->
  589. <view style="width:65%;justify-content: center;display:flex;">
  590. <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">关闭
  591. </van-button>
  592. <van-button style="width: 40%;" size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="default">销售出库
  593. </van-button>
  594. </view>
  595. </view>
  596. <!-- 销售出库 - 已出库 - 详情(出库回退) -->
  597. <view style="padding:52rpx 34rpx 61rpx 43rpx; display: flex;" wx:if="{{flagTypeName ==='Sales-outbound-rollback'}}">
  598. <view style="width:40%;height:88rpx">
  599. <view style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  600. 合计金额:
  601. </view>
  602. <dk-cell contentFontSize="16" height="44rpx" fontWeight="600" left="0rpx" contentColor="#CAA977" title="" content="{{ totallength}}"></dk-cell>
  603. </view>
  604. <!-- 保存确定区域 -->
  605. <view style="width: 60%; display: flex;">
  606. <view style="border-radius: 15rpx;width: 226rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  607. <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}}
  608. </van-button>
  609. </view>
  610. <view style="width: 19rpx;"></view>
  611. <view style="border-radius: 15rpx;width: 226rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  612. <van-button disabled="{{disabledFlag}}" loading="{{disabledFlag}}" round size="large" color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="info">保存
  613. </van-button>
  614. </view>
  615. </view>
  616. </view>
  617. <!-- 销售回库 - 已出库 - 详情(出库回退) -->
  618. <view style="padding:52rpx 34rpx 61rpx 43rpx; display: flex;" wx:if="{{flagTypeName ==='sales-return-details'}}">
  619. <view style="width:40%;height:88rpx">
  620. <view style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  621. 合计金额:
  622. </view>
  623. <dk-cell contentFontSize="16" height="44rpx" fontWeight="600" left="0rpx" contentColor="#CAA977" title="" content="{{ totallength}}"></dk-cell>
  624. </view>
  625. <!-- 保存确定区域 -->
  626. <view style="width: 60%; display: flex;">
  627. <view style="border-radius: 15rpx;width: 226rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  628. <van-button disabled="{{disabledFlag}}" plain round size="large" color="" custom-style="height:88rpx;" bind:click="allClean" type="default">{{allCleanName}}
  629. </van-button>
  630. </view>
  631. <view style="width: 19rpx;"></view>
  632. <view style="border-radius: 15rpx;width: 226rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  633. <van-button disabled="{{disabledFlag}}" loading="{{disabledFlag}}" round size="large" color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="info">{{allSubmitName}}
  634. </van-button>
  635. </view>
  636. </view>
  637. </view>
  638. <view style="padding:52rpx 34rpx 61rpx 43rpx; display: flex;" wx:if="{{flagTypeName ==='purchase-orders-offer'}}">
  639. <view style="width:50%;height:88rpx">
  640. <view wx:if="{{purchasePriceFlag}}" style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  641. 合计金额:
  642. </view>
  643. <dk-cell wx:if="{{purchasePriceFlag}}" contentFontSize="16" height="44rpx" fontWeight="600" left="0rpx" contentColor="#CAA977" title="" content="{{ totallength}}"></dk-cell>
  644. </view>
  645. <!-- 保存确定区域 -->
  646. <view style="width: 50%; display: flex;">
  647. <view wx:if="{{!rightButtonFlag}}" style="border-radius: 15rpx;width: 196rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  648. </view>
  649. <view style="border-radius: 15rpx;width: 50%; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  650. <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">暂存
  651. </van-button>
  652. </view>
  653. <view wx:if="{{leftButtonFlag && rightButtonFlag}}" style="width: 10%;"></view>
  654. <view wx:if="{{rightButtonFlag}}" style="border-radius: 15rpx;width: 50%; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  655. <van-button wx:if="{{leftButtonFlag}}" disabled="{{disabledFlag}}" round size="large" color="#1B365D" custom-style="height:88rpx;" bind:click="allClean" type="default">提交
  656. </van-button>
  657. </view>
  658. </view>
  659. </view>
  660. <view style="padding:52rpx 34rpx 61rpx 43rpx; display: flex;" wx:if="{{flagTypeName ==='purchase-orders-edit1'}}">
  661. <view style="width:50%;height:88rpx">
  662. <view wx:if="{{purchasePriceFlag}}" style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  663. 合计金额:
  664. </view>
  665. <dk-cell wx:if="{{purchasePriceFlag}}" contentFontSize="16" height="44rpx" fontWeight="600" left="0rpx" contentColor="#CAA977" title="" content="{{ totallength}}"></dk-cell>
  666. </view>
  667. <!-- 保存确定区域 -->
  668. <view style="width: 50%; display: flex;">
  669. <view wx:if="{{!rightButtonFlag}}" style="border-radius: 15rpx;width: 196rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  670. </view>
  671. <view style="border-radius: 15rpx;width:50%; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  672. <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">暂存
  673. </van-button>
  674. </view>
  675. <view wx:if="{{leftButtonFlag && rightButtonFlag}}" style="width: 10%;"></view>
  676. <view wx:if="{{rightButtonFlag}}" style="border-radius: 15rpx;width: 50%; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  677. <van-button wx:if="{{leftButtonFlag}}" disabled="{{disabledFlag}}" round size="large" color="#1B365D" custom-style="height:88rpx;" bind:click="allClean" type="default">提交
  678. </van-button>
  679. </view>
  680. </view>
  681. </view>
  682. <view style="padding:52rpx 34rpx 61rpx 43rpx; display: flex;" wx:if="{{flagTypeName ==='receipt-add'}}">
  683. <view style="width:40%;height:88rpx">
  684. <view style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  685. 合计金额:
  686. </view>
  687. <dk-cell contentFontSize="16" height="44rpx" fontWeight="600" left="0rpx" contentColor="#CAA977" title="" content="{{ totallength}}"></dk-cell>
  688. </view>
  689. <!-- 保存确定区域 -->
  690. <view style="width: 60%; display: flex;">
  691. <view style="border-radius: 15rpx;width: 26rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  692. </view>
  693. <view style="width: 19rpx;"></view>
  694. <view style="border-radius: 15rpx;width: 426rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  695. <van-button disabled="{{disabledFlag}}" loading="{{disabledFlag}}" round size="large" color="#CAA977" custom-style="height:88rpx;" bind:click="submit" type="info">收款
  696. </van-button>
  697. </view>
  698. </view>
  699. </view>
  700. <view style="padding:52rpx 34rpx 61rpx 43rpx; display: flex;" wx:if="{{flagTypeName ==='receipt-detail'}}">
  701. <view style="width:40%;height:88rpx">
  702. <view style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  703. 合计金额:
  704. </view>
  705. <dk-cell contentFontSize="16" height="44rpx" fontWeight="600" left="0rpx" contentColor="#CAA977" title="" content="{{ totallength}}"></dk-cell>
  706. </view>
  707. <!-- 保存确定区域 -->
  708. <view style="width: 60%; display: flex;">
  709. <view style="border-radius: 15rpx;width: 26rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  710. </view>
  711. <view style="width: 19rpx;"></view>
  712. <view style="border-radius: 15rpx;width: 426rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  713. <van-button disabled="{{disabledFlag}}" loading="{{disabledFlag}}" round size="large" color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="info">关闭
  714. </van-button>
  715. </view>
  716. </view>
  717. </view>
  718. <view style="padding:52rpx 34rpx 61rpx 43rpx; display: flex;" wx:if="{{flagTypeName ==='other-expenditure-orders-detail'}}">
  719. <view style="width:50%;height:88rpx">
  720. <view style="display: flex;">
  721. <view style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  722. 应付合计:
  723. </view>
  724. <dk-cell contentFontSize="16" height="44rpx" fontWeight="600" left="0rpx" contentColor="#CAA977" title="" content="{{ totallength}}"></dk-cell>
  725. </view>
  726. <view style="display: flex;">
  727. <view style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  728. 已付金额:
  729. </view>
  730. <dk-cell contentFontSize="16" height="44rpx" fontWeight="600" left="0rpx" contentColor="#CAA977" title="" content="{{ totallength}}"></dk-cell>
  731. </view>
  732. </view>
  733. <!-- 保存确定区域 -->
  734. <view style="width: 50%; display: flex;">
  735. <view style="border-radius: 15rpx;width: 26rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  736. </view>
  737. <view style="width: 19rpx;"></view>
  738. <view style="border-radius: 15rpx;width: 426rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  739. <van-button disabled="{{disabledFlag}}" loading="{{disabledFlag}}" round size="large" color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="info">关闭
  740. </van-button>
  741. </view>
  742. </view>
  743. </view>
  744. <view style="padding:52rpx 34rpx 61rpx 43rpx; display: flex;" wx:if="{{flagTypeName ==='payment-order-detail'}}">
  745. <view style="width:40%;height:88rpx">
  746. <view style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  747. 付款核销总额:
  748. </view>
  749. <dk-cell contentFontSize="16" height="44rpx" fontWeight="600" left="0rpx" contentColor="#CAA977" title="" content="{{ totallength}}"></dk-cell>
  750. </view>
  751. <!-- 保存确定区域 -->
  752. <view style="width: 60%; display: flex;">
  753. <view style="border-radius: 15rpx;width: 26rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  754. </view>
  755. <view style="width: 19rpx;"></view>
  756. <view style="border-radius: 15rpx;width: 426rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  757. <van-button disabled="{{disabledFlag}}" loading="{{disabledFlag}}" round size="large" color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="info">关闭
  758. </van-button>
  759. </view>
  760. </view>
  761. </view>
  762. <view style="padding:52rpx 34rpx 61rpx 43rpx; display: flex;" wx:if="{{flagTypeName ==='other-expenditure-orders-add'}}">
  763. <view style="width:40%;height:88rpx">
  764. <view style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  765. 应付合计:
  766. </view>
  767. <dk-cell contentFontSize="16" height="44rpx" fontWeight="600" left="0rpx" contentColor="#CAA977" title="" content="{{ totallength}}"></dk-cell>
  768. </view>
  769. <!-- 保存确定区域 -->
  770. <view style="width: 60%; display: flex;">
  771. <view style="border-radius: 15rpx;width: 226rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  772. <van-button disabled="{{disabledFlag}}" loading="{{disabledFlag}}" plain round size="large" color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="info">付款成交
  773. </van-button>
  774. </view>
  775. <view style="width: 19rpx;"></view>
  776. <view style="border-radius: 15rpx;width: 226rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  777. <van-button disabled="{{disabledFlag}}" loading="{{disabledFlag}}" round size="large" color="#CAA977" custom-style="height:88rpx;" bind:click="submit" type="info">付收款成交
  778. </van-button>
  779. </view>
  780. </view>
  781. </view>
  782. <view wx:if="{{flagTypeName ==='payment-order'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;justify-content: left;align-items: center;">
  783. <view style="width: calc(100% - 239rpx);height:85rpx;">
  784. <view>
  785. <dk-cell height="60rpx" left="2rpx" fontSize="16" fontWeight="600" contentFontWeight="600" contentColor="#CAA977" titleColor="#CAA977;" contentFontWeight="bold" title="收款总额:" content="{{totallength}}"></dk-cell>
  786. </view>
  787. </view>
  788. <!-- 保存确定区域 -->
  789. <view style="width:239rpx;" wx:if="{{submitFlag}}">
  790. <van-button size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="default">新建
  791. </van-button>
  792. </view>
  793. </view>
  794. <view wx:if="{{flagTypeName ==='funds-transfer'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;justify-content: left;align-items: center;">
  795. <view style="width: calc(100% - 239rpx);height:85rpx;">
  796. <view>
  797. </view>
  798. </view>
  799. <!-- 保存确定区域 -->
  800. <view style="width:239rpx;" wx:if="{{submitFlag}}">
  801. <van-button size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="default">新建
  802. </van-button>
  803. </view>
  804. </view>
  805. <view style="padding:52rpx 34rpx 61rpx 43rpx; display: flex;" wx:if="{{flagTypeName ==='funds-transfer-add'}}">
  806. <view style="width:40%;height:88rpx">
  807. <view style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  808. 转账合计:
  809. </view>
  810. <dk-cell contentFontSize="16" height="44rpx" fontWeight="600" left="0rpx" contentColor="#CAA977" title="" content="{{ totallength}}"></dk-cell>
  811. </view>
  812. <!-- 保存确定区域 -->
  813. <view style="width: 60%; display: flex;">
  814. <view style="border-radius: 15rpx;width: 26rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  815. </view>
  816. <view style="width: 19rpx;"></view>
  817. <view style="border-radius: 15rpx;width: 426rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  818. <van-button disabled="{{disabledFlag}}" loading="{{disabledFlag}}" round size="large" color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="info">确定
  819. </van-button>
  820. </view>
  821. </view>
  822. </view>
  823. <view style="padding:52rpx 34rpx 61rpx 43rpx; display: flex;" wx:if="{{flagTypeName ==='funds-transfer-detail'}}">
  824. <view style="width:40%;height:88rpx">
  825. <view style="color: #CAA977;font-size: 30rpx;line-height: 40rpx;">
  826. 转账合计:
  827. </view>
  828. <dk-cell contentFontSize="16" height="44rpx" fontWeight="600" left="0rpx" contentColor="#CAA977" title="" content="{{ totallength}}"></dk-cell>
  829. </view>
  830. <!-- 保存确定区域 -->
  831. <view style="width: 60%; display: flex;">
  832. <view style="border-radius: 15rpx;width: 26rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  833. </view>
  834. <view style="width: 19rpx;"></view>
  835. <view style="border-radius: 15rpx;width: 426rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  836. <van-button disabled="{{disabledFlag}}" loading="{{disabledFlag}}" round size="large" color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="info">关闭
  837. </van-button>
  838. </view>
  839. </view>
  840. </view>
  841. <view style="padding:52rpx 34rpx 61rpx 43rpx; display: flex;" wx:if="{{flagTypeName ==='accounting-verification'}}">
  842. <view style="width:40%;height:88rpx">
  843. </view>
  844. <!-- 保存确定区域 -->
  845. <view style="width: 60%; display: flex;">
  846. <view style="border-radius: 15rpx;width: 26rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  847. </view>
  848. <view style="width: 19rpx;"></view>
  849. <view style="border-radius: 15rpx;width: 426rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
  850. <van-button disabled="{{disabledFlag}}" loading="{{disabledFlag}}" round size="large" color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="info">新建
  851. </van-button>
  852. </view>
  853. </view>
  854. </view>
  855. </view>
  856. <!-- 自定义按钮 -->
  857. <view wx:if="{{bottomClass}}" class="bottom-class-1">
  858. <!-- 基础资料 -->
  859. <view wx:if="{{flagTypeName ==='basic-data'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;">
  860. <!-- <view style="width:48%">
  861. <van-button size="large" plain round color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="default">排序
  862. </van-button>
  863. </view>
  864. <view style="width: 4%;"></view> -->
  865. <view style="width:100%;">
  866. <van-button size="large" round color="#CAA977" custom-style="height:88rpx;" bind:click="allClean" type="default">新建
  867. </van-button>
  868. </view>
  869. <!-- <view style="width:100%;">
  870. <van-button size="large" round color="#CAA977" custom-style="height:88rpx;" bind:click="allClean" type="default">新建
  871. </van-button>
  872. </view> -->
  873. </view>
  874. <view wx:if="{{flagTypeName ==='Product-file'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;">
  875. <view style="width:100%;">
  876. <van-button size="large" round color="#CAA977" custom-style="height:88rpx;" bind:click="allClean" type="default">新建
  877. </van-button>
  878. </view>
  879. <!-- <view style="width:100%;">
  880. <van-button size="large" round color="#CAA977" custom-style="height:88rpx;" bind:click="allClean" type="default">新建
  881. </van-button>
  882. </view> -->
  883. </view>
  884. <view wx:if="{{flagTypeName ==='basic-data-sort'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;">
  885. <view style="width:100%;">
  886. <van-button size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="allClean" type="default">保存
  887. </van-button>
  888. </view>
  889. <!-- <view style="width:100%;">
  890. <van-button size="large" round color="#CAA977" custom-style="height:88rpx;" bind:click="allClean" type="default">新建
  891. </van-button>
  892. </view> -->
  893. </view>
  894. <!-- 商品档案新建 -->
  895. <view wx:if="{{flagTypeName ==='product-file-add'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;">
  896. <view style="width:48%">
  897. <van-button size="large" plain round color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="default">关闭
  898. </van-button>
  899. </view>
  900. <view style="width: 4%;"></view>
  901. <view style="width:48%;">
  902. <van-button size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="allClean" type="default">保存
  903. </van-button>
  904. </view>
  905. </view>
  906. <!-- 商品档案新建选择页面 -->
  907. <view wx:if="{{flagTypeName ==='product-file-add-select'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;">
  908. <view style="width:48%">
  909. <van-button size="large" plain round color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="default">关闭
  910. </van-button>
  911. </view>
  912. <view style="width: 4%;"></view>
  913. <view style="width:48%;">
  914. <van-button size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="allClean" type="default">确定
  915. </van-button>
  916. </view>
  917. </view>
  918. <view wx:if="{{flagTypeName ==='purchase-order-detail'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;justify-content: center;align-items: center;">
  919. <view style="width:61%">
  920. <dk-cell height="46rpx" spaceWidth="1rpx" left="0" fontSize="15" contentColor="#CAA977" fontWeight="600" title="合计金额:" content="{{totallength}}"></dk-cell>
  921. </view>
  922. <view style="width: 4%;"></view>
  923. <view style="width:35%;">
  924. <van-button size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="allClean" type="default">关闭
  925. </van-button>
  926. </view>
  927. </view>
  928. <view wx:if="{{flagTypeName ==='purchase-order-detail'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;justify-content: center;align-items: center;">
  929. <view style="width:61%">
  930. <dk-cell height="46rpx" spaceWidth="1rpx" left="0" fontSize="15" contentColor="#CAA977" fontWeight="600" title="合计金额:" content="{{totallength}}"></dk-cell>
  931. </view>
  932. <view style="width: 4%;"></view>
  933. <view style="width:35%;">
  934. <van-button size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="allClean" type="default">关闭
  935. </van-button>
  936. </view>
  937. </view>
  938. <view wx:if="{{flagTypeName ==='selecting-customers'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;">
  939. <view style="width:48%">
  940. <!-- <van-button size="large" plain round color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="default">关闭
  941. </van-button> -->
  942. </view>
  943. <view style="width: 4%;"></view>
  944. <view style="width:48%;">
  945. <van-button size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="allClean" type="default">确定
  946. </van-button>
  947. </view>
  948. </view>
  949. <view wx:if="{{flagTypeName ==='select-functional-permissions'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;">
  950. <view style="width:100%;">
  951. <van-button size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="allClean" type="default">保存
  952. </van-button>
  953. </view>
  954. </view>
  955. <view wx:if="{{flagTypeName ==='customer-add'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;">
  956. <view style="width:100%;">
  957. <van-button size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="allClean" type="default">保存
  958. </van-button>
  959. </view>
  960. </view>
  961. <view wx:if="{{flagTypeName ==='select-source-purchase-order'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;">
  962. <view style="width:55%;display: flex;justify-content: left;align-items: center;">
  963. <van-checkbox size="26rpx" checked-color="#95A8CB" value="{{ checked }}" bind:change="onCheckboxChange">
  964. <view style="color:#95A8CB;font-size: 26rpx;">全退</view>
  965. </van-checkbox>
  966. <view style="margin-left: 50rpx;">
  967. <dk-cell height="46rpx" spaceWidth="1rpx" left="0" fontSize="15" contentColor="#CAA977" fontWeight="600" title="退货总额:" ></dk-cell>
  968. <dk-cell height="46rpx" spaceWidth="1rpx" left="0" fontSize="15" contentColor="#CAA977" fontWeight="600" content="{{totallength}}"></dk-cell>
  969. </view>
  970. </view>
  971. <view style="width:10%;"></view>
  972. <view style="width:35%;">
  973. <van-button size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="allClean" type="default">确定
  974. </van-button>
  975. </view>
  976. </view>
  977. <view wx:if="{{flagTypeName ==='role-add'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;">
  978. <view style="width:38%">
  979. </view>
  980. <view style="width: 4%;"></view>
  981. <view style="width:58%;">
  982. <van-button size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="allClean" type="default">新建角色
  983. </van-button>
  984. </view>
  985. </view>
  986. <view wx:if="{{flagTypeName ==='document-list'}}" style="display: flex; padding:35rpx 34rpx 62rpx 34rpx;">
  987. <view style="width:48%">
  988. <view>
  989. <van-checkbox size="26rpx" value="{{ checked }}" data-index="{{index}}" data-index_="{{index_}}" bind:change="onListItemChange">
  990. <view style="color:#95A8CB;font-size: 26rpx;">全选</view>
  991. </van-checkbox>
  992. </view>
  993. <view style="line-height: 44rpx;font-size: 23rpx;color:#95A8CB;padding-top: 10rpx;">
  994. <text decode>共:{{selectlength}}&nbsp;单&emsp;数量:{{selectTotallength}}&nbsp;</text>
  995. </view>
  996. </view>
  997. <view style="width: 4%;"></view>
  998. <view style="width:48%;">
  999. <van-button size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="allClean" type="default">确定
  1000. </van-button>
  1001. </view>
  1002. </view>
  1003. </view>