applicationForWithdrawal.vue 23 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093
  1. <template>
  2. <view>
  3. <u-tabs
  4. ref="jputabs"
  5. class="jputabs" name="cate_name" gutter="200" bar-width="100" active-color="#101010"
  6. inactive-color="#A1A1A1" :list="tabList" :is-scroll="false" :current="current" @change="change"></u-tabs>
  7. <u-navbar title="提现申请单" style="margin-bottom: 40px;">
  8. </u-navbar>
  9. <template v-if="current==0">
  10. <view class="withdraw">
  11. <view class="withdraw-head">
  12. <b class="asterisk"><text>*</text>申请站点</b>
  13. <span>
  14. <picker @change="bindPickerChange1" range-key="name" :range="stationList">
  15. <view class="uni-input">
  16. <view class="input-text">
  17. {{stationObj.name?stationObj.name:'无站点'}}
  18. </view>
  19. <view class="iconfont more">
  20. &#xe600;
  21. </view>
  22. </view>
  23. </picker>
  24. </span>
  25. </view>
  26. <view class="withdraw-head">
  27. <b class="asterisk"><text>*</text>提现事由</b>
  28. <span>
  29. <picker @change="bindPickerChange2" range-key="name" :range="applicationList">
  30. <view class="uni-input">{{info.applicationTypeText}}<text
  31. class="iconfont more">
  32. &#xe600;
  33. </text></view>
  34. </picker>
  35. </span>
  36. </view>
  37. <view class="withdraw-head">
  38. <b class="asterisk"><text>*</text>提现月份</b>
  39. <span>
  40. <picker @change="bindPickerChange3" mode="date" fields="month" :end="nowTime"
  41. :value="queryTime">
  42. <view class="uni-input">{{showTime(queryTime)}}<text class="iconfont more">
  43. &#xe600;
  44. </text></view>
  45. </picker>
  46. </span>
  47. </view>
  48. <view class="withdraw-head ">
  49. <b>充电收入</b><span class="classFFF">{{info.chargingIncome}}元</span>
  50. </view>
  51. <view class="withdraw-head border-n">
  52. <b>分润提现明细表</b><span class="download" @click="ckdownload" >
  53. <u-icon name="download"></u-icon> 下载
  54. </span>
  55. </view>
  56. </view>
  57. <view class="withdraw">
  58. <view class="withdraw-head">
  59. <b class="asterisk"><text>*</text>成本电价</b>
  60. <text class="unit" style="float: right;font-size: 16px;">元/度</text>
  61. <span class="withdraw-input" style="width: 63%;">
  62. <u-input height="20px" v-model="info.electricityPrice"
  63. maxlength="10"
  64. placeholder="请填写电单价" input-align="left"
  65. type="digit">
  66. </u-input>
  67. </span>
  68. </view>
  69. <view class="withdraw-head">
  70. <b class="asterisk">预估电量</b>
  71. <span class="withdraw-input classFFF" style="width: 63%;">
  72. {{info.estimateElectricQuantity}}度
  73. </span>
  74. </view>
  75. <view class="withdraw-head">
  76. <b class="asterisk"><text>*</text>实际电量</b>
  77. <text class="unit" style="float: right;font-size: 16px;">度</text>
  78. <span class="withdraw-input" style="width: 63%;">
  79. <u-input height="20px" placeholder="请填写实际电量"
  80. maxlength="10"
  81. v-model="info.electricQuantity" input-align="left"
  82. type="digit">
  83. </u-input>
  84. </span>
  85. </view>
  86. <view class="withdraw-head border-n">
  87. <b>电费成本</b>
  88. <text class="unit" style="float: right;font-size: 16px;">元</text>
  89. <span class="withdraw-input" style="width: 63%;">
  90. <view class="classFFF" v-show="electricityPriceX">{{electricityPriceX}}</view>
  91. <view class="classFFF" v-show="!electricityPriceX">自动计算出结果</view>
  92. </span>
  93. </view>
  94. </view>
  95. <view class="withdraw">
  96. <view class="withdraw-head">
  97. <b>充电分成比例</b>
  98. <span class="classFFF" >
  99. {{info.chargingPercent}}%
  100. </span>
  101. </view>
  102. <view class="withdraw-head">
  103. <b>充电分成</b>
  104. <span class="classFFF" >
  105. {{info.chargingProfitAmount?info.chargingProfitAmount.toFixed(2):0}}元
  106. </span>
  107. </view>
  108. <view class="withdraw-head border-n">
  109. <b>充电服务收益</b>
  110. <span>
  111. <view class="classFFF" v-show="electricityPriceX">{{(info.chargingProfitAmount-electricityPriceX).toFixed(2)}}元</view>
  112. <view class="classFFF" v-show="!electricityPriceX">自动计算出结果</view>
  113. </span>
  114. </view>
  115. </view>
  116. <view class="withdraw">
  117. <view class="withdraw-head">
  118. <b>包月卡分润笔数</b>
  119. <span class="classFFF" >
  120. {{info.monthlyCardTotal}}笔
  121. </span>
  122. </view>
  123. <view class="withdraw-head border-n">
  124. <b>包月卡收益</b>
  125. <span class="classFFF" >
  126. {{info.monthlyCardIncome?info.monthlyCardIncome.toFixed(2):0}}元
  127. </span>
  128. </view>
  129. </view>
  130. <view class="withdraw">
  131. <view class="withdraw-head">
  132. <b>合伙人总收入</b>
  133. <span class="classFFF" >
  134. {{info.totalIncome?info.totalIncome.toFixed(2):0}}元
  135. </span>
  136. </view>
  137. <view class="withdraw-head border-n">
  138. <b>合伙人总收益</b>
  139. <span >
  140. <view class="classFFF" v-show="electricityPriceX">{{(info.chargingProfitAmount+info.monthlyCardIncome-electricityPriceX).toFixed(2)}}元</view>
  141. <view class="classFFF" v-show="!electricityPriceX">自动计算出结果</view>
  142. </span>
  143. </view>
  144. </view>
  145. <view class="withdraw">
  146. <view class="withdraw-head">
  147. <b>是否开票</b><span>
  148. <u-radio-group v-model="info.invoiceRequired">
  149. <u-radio v-for="(item, index) in list2" style="margin-right: 16px;" :key="index+'a'"
  150. :name="item.value" active-color="blue">
  151. {{item.name}}
  152. </u-radio>
  153. </u-radio-group>
  154. </span>
  155. </view>
  156. <view class="withdraw-head">
  157. <b v-if="info.invoiceRequired!='1'">发票类型</b>
  158. <b v-else class="asterisk"><text>*</text>发票类型</b>
  159. <span>
  160. <u-radio-group v-model="info.invoiceType" >
  161. <u-radio v-for="(item, index) in list1" :key="index+'a'" :name="item.value"
  162. :disabled="item.disabled" active-color="blue">
  163. {{item.name}}
  164. </u-radio>
  165. </u-radio-group>
  166. </span>
  167. </view>
  168. <view class="withdraw-head border-n">
  169. <b v-if="info.invoiceRequired!='1'">发票税率</b>
  170. <b v-else class="asterisk"><text>*</text>发票税率</b>
  171. <text style="float: right;font-size: 16px;">%</text>
  172. <span class="withdraw-input" style="width: 58%;">
  173. <u-input height="20px" v-model="info.taxRate"
  174. placeholder="请输入开票税率" input-align="left"
  175. maxlength="10"
  176. type="digit">
  177. </u-input>
  178. </span>
  179. </view>
  180. </view>
  181. <view class="withdraw">
  182. <view class="withdraw-head ">
  183. <b class="asterisk"><text>*</text>申请提现金额</b>
  184. <text class="unit" style="float: right;font-size: 16px;">元</text>
  185. <span class="withdraw-input" style="width: 63%;">
  186. <u-input height="20px" v-model="info.applicationAmount" maxlength="10" placeholder="请填写金额" input-align="left"
  187. type="digit">
  188. </u-input>
  189. </span>
  190. </view>
  191. <view class="withdraw-head border-n">
  192. <b>大写金额</b>
  193. <span class="withdraw-input" style="width: 63%;">
  194. <view class="classFFF" v-show="applicationAmountDX">{{applicationAmountDX}}</view>
  195. <view class="classFFF" v-show="!applicationAmountDX">自动转换</view>
  196. </span>
  197. </view>
  198. </view>
  199. <view class="withdraw">
  200. <view class="withdraw-head ">
  201. <b class="asterisk"><text>*</text>提现人收款户名</b>
  202. <u-input class="textarea" type="textarea"
  203. v-model="info.accountName"
  204. placeholder="请填写收款户名" height="96" cursor-spacing="8" />
  205. </view>
  206. <view class="withdraw-head ">
  207. <b class="asterisk"><text>*</text>提现人收款银行</b>
  208. <u-input class="textarea" type="textarea"
  209. v-model="info.bankName"
  210. placeholder="请填写收款银行全称" height="96" cursor-spacing="8" />
  211. </view>
  212. <view class="withdraw-head border-n">
  213. <b class="asterisk"><text>*</text>提现人收款账号</b>
  214. <u-input class="textarea" v-model="info.accountNo"
  215. type="textarea" placeholder="提现人收款账号" height="96" cursor-spacing="8" />
  216. </view>
  217. </view>
  218. </template>
  219. <template v-if="current==1">
  220. <view class="details withdrawHead" v-if="detailList.length&&info.applicationAmount">
  221. 申请提现金额:{{info.applicationAmount}}元<br/>
  222. 明细金额合计:<span :class="{
  223. red:itemApplicationAmountSum>parseFloat(info.applicationAmount)
  224. }">{{itemApplicationAmountSum}}元</span>
  225. </view>
  226. <view class="details" v-for="(item,i) in detailList" :key="i" >
  227. <view class="withdraw">
  228. <view class="withdraw-head">
  229. <b class="asterisk"><text>*</text>项目</b>
  230. <text class="unit" style="float: right;font-size: 16px;z-index: 99;" @click="delItem(i)">
  231. <i class="ri-indeterminate-circle-fill" style="color: red;font-size: 24px;"></i>
  232. </text>
  233. <span class="withdraw-input" style="width: 80%;">
  234. <u-input height="20px"
  235. v-model="item.itemName"
  236. placeholder="请填写项目名称" input-align="left" >
  237. </u-input>
  238. </span>
  239. </view>
  240. <view class="withdraw-head border-n">
  241. <b class="asterisk"><text>*</text>金额</b>
  242. <text class="unit" style="float: right;font-size: 16px;">元</text>
  243. <span class="withdraw-input" style="width: 80%;">
  244. <u-input height="20px"
  245. v-model="item.itemAmount"
  246. placeholder="请填写价格"
  247. maxlength="10"
  248. input-align="left" type="digit">
  249. </u-input>
  250. </span>
  251. </view>
  252. <view class="withdraw-head border-n">
  253. <b>备注</b>
  254. <span class="withdraw-input" style="width: 80%;">
  255. <u-input height="20px"
  256. v-model="item.itemRemark"
  257. placeholder="请填写备注信息" input-align="left">
  258. </u-input>
  259. </span>
  260. </view>
  261. </view>
  262. </view>
  263. <view class="add" @click="addItem" ><i class="ri-add-circle-fill"></i><text>增加项目</text></view>
  264. </template>
  265. <view class="applyBtn">
  266. <u-button class="save" @click="submit(-1)">保存草稿</u-button>
  267. <u-button class="submit" @click="submit(0)">提交申请单</u-button>
  268. </view>
  269. </view>
  270. </template>
  271. <script>
  272. import * as API from '@/apis/finance.js'
  273. import * as API_common from '@/apis/common.js'
  274. import {
  275. beforeTimeStamp,
  276. parseUnixTime,
  277. substrMb,
  278. DX
  279. } from '@/utils'
  280. export default {
  281. data() {
  282. return {
  283. id:'',
  284. uuid:'',
  285. isPt: false,
  286. detailList:[],
  287. info: {
  288. electricityPrice: '',
  289. electricQuantity: '',
  290. stationId: "",
  291. applicationType: '1'
  292. },
  293. applicationList: [{
  294. name: '物业结算',
  295. value: "1"
  296. }, {
  297. name: '市场费用',
  298. value: "2"
  299. }, {
  300. name: '利润提现',
  301. value: "3"
  302. }
  303. ],
  304. stationList: [],
  305. queryTime: '',
  306. nowTime: '',
  307. stationObj: {},
  308. current: 0, // tabs组件的current值,表示当前活动的tab选项
  309. params: {
  310. year: true,
  311. month: true,
  312. day: false,
  313. hour: false,
  314. minute: false,
  315. second: false,
  316. timestamp: false,
  317. },
  318. list1: [{
  319. name: '普票',
  320. value: "1"
  321. }, {
  322. name: '专票',
  323. value: "2"
  324. }, {
  325. name: '收据',
  326. value: "3"
  327. }],
  328. list2: [{
  329. name: '是',
  330. value: "1"
  331. }, {
  332. name: '否 ',
  333. value: "0"
  334. }],
  335. tabList: [{
  336. name: '申请单主表'
  337. }, {
  338. name: '提现明细'
  339. }],
  340. startTime:'',
  341. endTime:'',
  342. }
  343. },
  344. onLoad(op){
  345. if(op.id){
  346. this.id=op.id
  347. }
  348. this.uuid=op.uuid;
  349. },
  350. onShow() {
  351. },
  352. onReady() {
  353. var nowTime = parseUnixTime(new Date(), "{y}-{m}-01")
  354. this.queryTime = parseUnixTime(beforeTimeStamp(1, new Date(nowTime)), '{y}-{m}')
  355. this.nowTime = parseUnixTime(beforeTimeStamp(1, new Date(nowTime)), '{y}-{m}')
  356. this.getStationList()
  357. },
  358. computed: {
  359. itemApplicationAmountSum(){
  360. if (this.info.applicationAmount&&this.detailList&&this.detailList.length) {
  361. var applicationAmount=0;
  362. for(var i in this.detailList){
  363. var obj=this.detailList[i]
  364. var itemAmount=obj.itemAmount?obj.itemAmount:0
  365. applicationAmount+=parseFloat(itemAmount)
  366. }
  367. if(applicationAmount){
  368. return parseFloat(applicationAmount).toFixed(2)
  369. }else {
  370. return '0'
  371. }
  372. }else{
  373. return '0'
  374. }
  375. },
  376. applicationAmountDX() {
  377. if (this.info.applicationAmount) {
  378. var c = DX(this.info.applicationAmount)
  379. return c
  380. } else {
  381. return ''
  382. }
  383. },
  384. electricityPriceX() {
  385. if (this.info.electricityPrice != '' && this.info.electricQuantity != '') {
  386. return (this.info.electricityPrice * this.info.electricQuantity).toFixed(2)
  387. }
  388. return ''
  389. }
  390. },
  391. watch:{
  392. detailList(nVal, oVal) {
  393. console.log(nVal)
  394. var obj=[
  395. {
  396. name: '申请单主表'
  397. }, {
  398. name: '提现明细'
  399. }
  400. ]
  401. if(nVal&&nVal.length){
  402. obj[1].count=nVal.length
  403. }
  404. this.tabList=obj
  405. }
  406. },
  407. methods: {
  408. addItem(){
  409. this.detailList.push({})
  410. },
  411. delItem(i){
  412. this.detailList.splice(i,1)
  413. },
  414. submit(status){
  415. if(status==0){
  416. //this.value=this.info.amount
  417. if(!this.stationObj.id){
  418. uni.showToast({
  419. title: "请选择站点"
  420. })
  421. return
  422. }
  423. if(!this.info.electricityPrice){
  424. uni.showToast({
  425. title: "请输入成本电价"
  426. })
  427. return
  428. }
  429. if(!this.info.electricQuantity){
  430. uni.showToast({
  431. title: "请输入实际电量"
  432. })
  433. return
  434. }
  435. if(this.info.invoiceRequired=="1"){
  436. if(!this.info.invoiceType){
  437. uni.showToast({
  438. title: "请选择发票类型"
  439. })
  440. return
  441. }
  442. if(!this.info.taxRate){
  443. uni.showToast({
  444. title: "请选择发票税率"
  445. })
  446. return
  447. }
  448. }
  449. if(!this.info.applicationAmount){
  450. uni.showToast({
  451. title: "请输入申请提现金额"
  452. })
  453. return
  454. }
  455. if(!this.info.accountName){
  456. uni.showToast({
  457. title: "请输入提现人收款户名"
  458. })
  459. return
  460. }
  461. if(!this.info.bankName){
  462. uni.showToast({
  463. title: "请输入提现人收款银行"
  464. })
  465. return
  466. }
  467. if(!this.info.accountNo){
  468. uni.showToast({
  469. title: "请输入提现人收款账号"
  470. })
  471. return
  472. }
  473. for(var i in this.detailList){
  474. var obj=this.detailList[i]
  475. if(!obj.itemName){
  476. uni.showToast({
  477. title: `请填写提现明细中第${parseInt(i)+1}项的项目名称`
  478. })
  479. return
  480. }
  481. if(!obj.itemAmount){
  482. uni.showToast({
  483. title: `请填写提现明细[${obj.itemName}]项目的金额`
  484. })
  485. return
  486. }
  487. }
  488. if(this.detailList&&this.detailList.length){
  489. if(!(this.itemApplicationAmountSum==parseFloat(this.info.applicationAmount))){
  490. uni.showToast({
  491. title: `[申请提现金额]与[明细金额合计]不相等`
  492. })
  493. return
  494. }
  495. }
  496. }
  497. if(this.info.invoiceRequired!=''){
  498. this.info.invoiceRequired=this.info.invoiceRequired=='1'?true:false
  499. }
  500. uni.showLoading({
  501. title: "加载中",
  502. mask: true,
  503. })
  504. if(this.id){
  505. this.info.id=this.id;
  506. }
  507. this.info.status=status;
  508. //var str=JSON.stringify();
  509. API.applyWithdraw({
  510. record:this.info,
  511. detailList:this.detailList
  512. }).then((res) => {
  513. this.carhelp.set("withdrawRecord",{
  514. uuid:this.uuid,
  515. })
  516. this.id=res.data;
  517. uni.hideLoading()
  518. if(status==-1){
  519. uni.showModal({
  520. title:"提示",
  521. content:"保存成功",
  522. showCancel:false
  523. })
  524. }else{
  525. uni.redirectTo({
  526. url:"/pagesFinance/user/applyResult?value="+this.info.applicationAmount
  527. })
  528. }
  529. }).catch(error => {
  530. uni.hideLoading()
  531. uni.showModal({
  532. title:"提示",
  533. content:error,
  534. showCancel:false
  535. })
  536. })
  537. },
  538. ckdownload(){
  539. //this.value=this.info.amount
  540. if(!this.stationObj.id){
  541. uni.showToast({
  542. title: "请选择站点"
  543. })
  544. return
  545. }
  546. API.profitDetailsExcel({
  547. stationId:this.stationObj.id,
  548. yearMonth:this.queryTime,
  549. }).then((resDown) => {
  550. // uni.downloadFile({
  551. // url: resDown.data, //仅为示例,并非真实的资源
  552. // success: (res) => {
  553. // if (res.statusCode === 200) {
  554. // console.log('下载成功');
  555. // }
  556. // }
  557. // });
  558. if(resDown.data){
  559. window.location.href=resDown.data
  560. }else{
  561. uni.showToast({
  562. title:"无文件下载"
  563. })
  564. }
  565. }).catch(error => {
  566. uni.showToast({
  567. title:error
  568. })
  569. })
  570. },
  571. showTime(name) {
  572. if (!name) {
  573. return ''
  574. }
  575. return name.replace('-', '年') + '月';
  576. },
  577. queryWithdrawInfo() {
  578. uni.showLoading({
  579. title: "加载中",
  580. mask: true,
  581. })
  582. API.queryWithdrawInfo({
  583. stationId: this.stationObj.id,
  584. yearMonth: this.queryTime,
  585. applicationType: this.info.applicationType
  586. }).then((res) => {
  587. this.info = res.data.record;
  588. var detailList = res.data.detailList;
  589. this.detailList=[];
  590. if(detailList==null){
  591. detailList=[];
  592. }
  593. for(var i in detailList){
  594. if(this.id){
  595. this.detailList.push(detailList[i])
  596. }else{
  597. this.detailList.push({
  598. itemName:detailList[i].itemName,
  599. itemRemark:detailList[i].itemRemark,
  600. itemAmount:'',
  601. })
  602. }
  603. }
  604. uni.hideLoading()
  605. }).catch(error => {
  606. uni.showToast({
  607. title: error
  608. })
  609. })
  610. },
  611. getInfo(){
  612. uni.showLoading({
  613. title: "加载中",
  614. mask: true,
  615. })
  616. API.getWithdrawInfo(this.id).then((res) => {
  617. this.info=res.data.record
  618. this.detailList=res.data.detailList
  619. uni.hideLoading()
  620. }).catch(error => {
  621. uni.showToast({
  622. title: error
  623. })
  624. })
  625. },
  626. getStationList() {
  627. uni.showLoading({
  628. title: "加载中",
  629. mask: true,
  630. })
  631. API.stationList().then((res) => {
  632. this.stationList = res.data.stationList;
  633. if (this.stationList.length) {
  634. this.stationObj = this.stationList[0];
  635. if(this.id){
  636. this.getInfo()
  637. }else{
  638. this.queryWithdrawInfo()
  639. }
  640. }
  641. uni.hideLoading()
  642. }).catch(error => {
  643. uni.showToast({
  644. title: error
  645. })
  646. })
  647. API_common.findByCatalogName2({
  648. catalogName:"提现类型"
  649. }).then((res) => {
  650. this.applicationList= res.data.dataDictionaryList;
  651. // this.applicationList =dataDictionaryList.map((item)=>{
  652. // return {
  653. // name:item.name,
  654. // value:item.value
  655. // }
  656. // })
  657. uni.hideLoading()
  658. }).catch(error => {
  659. uni.showToast({
  660. title: error
  661. })
  662. })
  663. },
  664. bindPickerChange1(e) {
  665. if (this.stationList[e.detail.value]) {
  666. this.stationObj = this.stationList[e.detail.value];
  667. this.queryWithdrawInfo()
  668. }
  669. },
  670. bindPickerChange2(e) {
  671. this.info.applicationType = this.applicationList[e.detail.value].value;
  672. this.queryWithdrawInfo()
  673. },
  674. bindPickerChange3(e) {
  675. this.queryTime = e.detail.value;
  676. this.queryWithdrawInfo()
  677. },
  678. change(index) {
  679. this.current = index;
  680. }
  681. }
  682. }
  683. </script>
  684. <style>
  685. page {
  686. background-color: #F7F7F7;
  687. padding-bottom: 65px;
  688. }
  689. </style>
  690. <style lang="scss" scoped>
  691. .jputabs {
  692. //position: absolute;
  693. position: fixed;
  694. background-color: #FFF;
  695. width: 100%;
  696. top: 40px;
  697. z-index: 99;
  698. }
  699. .classFFF {
  700. color: #607d8b !important;
  701. }
  702. .download {
  703. color: #185AC6 !important;
  704. }
  705. /deep/.u-tab-bar {
  706. background-color: #0076FF !important;
  707. }
  708. /deep/.u-tabs-scorll-flex {
  709. width: 56%;
  710. margin: 0 auto;
  711. }
  712. .withdraw-tips {
  713. margin: 24px 16px;
  714. p {
  715. color: #999;
  716. margin-top: 4px;
  717. }
  718. }
  719. .uni-input {
  720. font-size: 16px;
  721. color: #333333;
  722. }
  723. .withdraw {
  724. margin-bottom: 8px;
  725. background-color: #fff;
  726. padding: 0px 16px 0 16px;
  727. .withdraw-head {
  728. padding: 16px 0;
  729. border-bottom: 1px solid #E5E7EA;
  730. align-items: center;
  731. position: relative;
  732. .unit {
  733. position: absolute;
  734. top: 34rpx;
  735. right: 0;
  736. }
  737. .whthdraw-price {
  738. font-size: 18px;
  739. color: #101010;
  740. font-weight: 600;
  741. }
  742. b {
  743. color: rgba(119, 119, 119, 100);
  744. font-size: 16px;
  745. }
  746. span {
  747. width: 60%;
  748. float: right;
  749. text-align: left;
  750. font-size: 16px;
  751. color: #333333;
  752. }
  753. @media screen and (max-width:320px) {
  754. span {
  755. width: 55%;
  756. }
  757. }
  758. }
  759. .withdraw-main {
  760. border-top: 1px solid #f7f7f7;
  761. border-bottom: 1px solid #f7f7f7;
  762. margin: 16px 0;
  763. padding: 16px 0;
  764. .withdraw-input {
  765. margin-top: 32px;
  766. display: flex;
  767. align-items: center;
  768. font-size: 28px;
  769. /deep/.uni-input-input {
  770. font-size: 28rpx;
  771. }
  772. }
  773. }
  774. .withdraw-foot {
  775. display: flex;
  776. align-items: center;
  777. p {
  778. color: #999
  779. }
  780. span {
  781. color: #2979FF;
  782. margin-left: 16px;
  783. }
  784. }
  785. }
  786. .more {
  787. color: #B3B3B3;
  788. font-size: 24px
  789. }
  790. .applyBtn {
  791. padding: 0 16px;
  792. display: flex;
  793. background-color: #FFF;
  794. font-size: 16px;
  795. line-height: 44px;
  796. height: 60px;
  797. position: fixed;
  798. bottom: 0;
  799. left: 0;
  800. right: 0;
  801. .save {
  802. width: 33.6%;
  803. border-radius: 8px 0px 0px 8px;
  804. background-color: rgba(0, 185, 98, 100);
  805. color: rgba(255, 255, 255, 100);
  806. }
  807. .submit {
  808. width: 66.4%;
  809. border-radius: 0px 8px 8px 0px;
  810. background-color: rgba(24, 90, 198, 100);
  811. color: rgba(255, 255, 255, 100);
  812. }
  813. }
  814. /deep/.uni-input-input {
  815. text-align: start !important;
  816. }
  817. .border-n {
  818. border: none !important;
  819. }
  820. .textarea {
  821. background-color: rgba(242, 242, 242, 100);
  822. margin-top: 12px;
  823. line-height: 20px;
  824. border-radius: 4px;
  825. color: rgba(136, 136, 136, 100);
  826. .uni-textarea-placeholder {
  827. padding: 0 16rpx;
  828. }
  829. /deep/.uni-textarea-textarea {
  830. width: 90%;
  831. padding: 0 16rpx;
  832. }
  833. }
  834. .withdrawHead{
  835. padding: 15px;
  836. font-size: 14px;
  837. .red{
  838. color: red;
  839. }
  840. }
  841. .details {
  842. margin: 16px;
  843. border-radius: 8px;
  844. background-color: #fff;
  845. overflow: hidden;
  846. }
  847. .asterisk {
  848. position: relative;
  849. text {
  850. position: absolute;
  851. top: 0px;
  852. left: -14rpx;
  853. color: #EE3138;
  854. }
  855. }
  856. .add {
  857. text-align: center;
  858. font-size: 18px;
  859. color: #101010;
  860. display: flex;
  861. align-items: center;
  862. justify-content: center;
  863. .ri-add-circle-fill {
  864. font-size: 24px;
  865. color: #44B371;
  866. margin: auto 0;
  867. margin-right: 4rpx;
  868. }
  869. }
  870. /deep/.u-input__input {
  871. font-size: 16px !important
  872. }
  873. .uni-input {
  874. display: flex;
  875. justify-content: space-between;
  876. }
  877. .input-text {
  878. white-space: nowrap;
  879. overflow: hidden;
  880. text-overflow: ellipsis;
  881. }
  882. </style>