businessInfo.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092
  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. <ujp-navbar title="收益核算" style="margin-bottom: 40px;">
  8. </ujp-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. {
  295. name: '利润提现',
  296. value: "3"
  297. },
  298. {
  299. name: '物业结算',
  300. value: "1"
  301. }, {
  302. name: '市场费用',
  303. value: "2"
  304. },
  305. ],
  306. stationList: [],
  307. queryTime: '',
  308. nowTime: '',
  309. stationObj: {},
  310. current: 0, // tabs组件的current值,表示当前活动的tab选项
  311. params: {
  312. year: true,
  313. month: true,
  314. day: false,
  315. hour: false,
  316. minute: false,
  317. second: false,
  318. timestamp: false,
  319. },
  320. list1: [{
  321. name: '普票',
  322. value: "1"
  323. }, {
  324. name: '专票',
  325. value: "2"
  326. }, {
  327. name: '收据',
  328. value: "3"
  329. }],
  330. list2: [{
  331. name: '是',
  332. value: "1"
  333. }, {
  334. name: '否 ',
  335. value: "0"
  336. }],
  337. tabList: [{
  338. name: '申请单主表'
  339. }, {
  340. name: '提现明细'
  341. }],
  342. startTime:'',
  343. endTime:'',
  344. }
  345. },
  346. onLoad(op){
  347. if(op.id){
  348. this.id=op.id
  349. }
  350. this.uuid=op.uuid;
  351. },
  352. onShow() {
  353. },
  354. onReady() {
  355. var nowTime = parseUnixTime(new Date(), "{y}-{m}-01")
  356. this.queryTime = parseUnixTime(beforeTimeStamp(1, new Date(nowTime)), '{y}-{m}')
  357. this.nowTime = parseUnixTime(beforeTimeStamp(1, new Date(nowTime)), '{y}-{m}')
  358. this.getStationList()
  359. },
  360. computed: {
  361. itemApplicationAmountSum(){
  362. if (this.info.applicationAmount&&this.detailList&&this.detailList.length) {
  363. var applicationAmount=0;
  364. for(var i in this.detailList){
  365. var obj=this.detailList[i]
  366. var itemAmount=obj.itemAmount?obj.itemAmount:0
  367. applicationAmount+=parseFloat(itemAmount)
  368. }
  369. if(applicationAmount){
  370. return parseFloat(applicationAmount).toFixed(2)
  371. }else {
  372. return '0'
  373. }
  374. }else{
  375. return '0'
  376. }
  377. },
  378. applicationAmountDX() {
  379. if (this.info.applicationAmount) {
  380. var c = DX(this.info.applicationAmount)
  381. return c
  382. } else {
  383. return ''
  384. }
  385. },
  386. electricityPriceX() {
  387. if (this.info.electricityPrice != '' && this.info.electricQuantity != '') {
  388. return (this.info.electricityPrice * this.info.electricQuantity).toFixed(2)
  389. }
  390. return ''
  391. }
  392. },
  393. watch:{
  394. detailList(nVal, oVal) {
  395. var obj=[
  396. {
  397. name: '申请单主表'
  398. }, {
  399. name: '提现明细'
  400. }
  401. ]
  402. if(nVal&&nVal.length){
  403. obj[1].count=nVal.length
  404. }
  405. this.tabList=obj
  406. }
  407. },
  408. methods: {
  409. addItem(){
  410. this.detailList.push({})
  411. },
  412. delItem(i){
  413. this.detailList.splice(i,1)
  414. },
  415. submit(status){
  416. if(status==0){
  417. //this.value=this.info.amount
  418. if(!this.stationObj.id){
  419. uni.showToast({
  420. title: "请选择站点"
  421. })
  422. return
  423. }
  424. if(!this.info.electricityPrice){
  425. uni.showToast({
  426. title: "请输入成本电价"
  427. })
  428. return
  429. }
  430. if(!this.info.electricQuantity){
  431. uni.showToast({
  432. title: "请输入实际电量"
  433. })
  434. return
  435. }
  436. if(this.info.invoiceRequired=="1"){
  437. if(!this.info.invoiceType){
  438. uni.showToast({
  439. title: "请选择发票类型"
  440. })
  441. return
  442. }
  443. if(!this.info.taxRate){
  444. uni.showToast({
  445. title: "请选择发票税率"
  446. })
  447. return
  448. }
  449. }
  450. if(!this.info.applicationAmount){
  451. uni.showToast({
  452. title: "请输入申请提现金额"
  453. })
  454. return
  455. }
  456. if(!this.info.accountName){
  457. uni.showToast({
  458. title: "请输入提现人收款户名"
  459. })
  460. return
  461. }
  462. if(!this.info.bankName){
  463. uni.showToast({
  464. title: "请输入提现人收款银行"
  465. })
  466. return
  467. }
  468. if(!this.info.accountNo){
  469. uni.showToast({
  470. title: "请输入提现人收款账号"
  471. })
  472. return
  473. }
  474. for(var i in this.detailList){
  475. var obj=this.detailList[i]
  476. if(!obj.itemName){
  477. uni.showToast({
  478. title: `请填写提现明细中第${parseInt(i)+1}项的项目名称`
  479. })
  480. return
  481. }
  482. if(!obj.itemAmount){
  483. uni.showToast({
  484. title: `请填写提现明细[${obj.itemName}]项目的金额`
  485. })
  486. return
  487. }
  488. }
  489. if(this.detailList&&this.detailList.length){
  490. if(!(this.itemApplicationAmountSum==parseFloat(this.info.applicationAmount))){
  491. uni.showToast({
  492. title: `[申请提现金额]与[明细金额合计]不相等`
  493. })
  494. return
  495. }
  496. }
  497. }
  498. if(this.info.invoiceRequired!=''){
  499. this.info.invoiceRequired=this.info.invoiceRequired=='1'?true:false
  500. }
  501. uni.showLoading({
  502. title: "加载中",
  503. mask: true,
  504. })
  505. if(this.id){
  506. this.info.id=this.id;
  507. }
  508. this.info.status=status;
  509. //var str=JSON.stringify();
  510. API.applyWithdraw({
  511. record:this.info,
  512. detailList:this.detailList
  513. }).then((res) => {
  514. this.carhelp.set("withdrawRecord",{
  515. uuid:this.uuid,
  516. })
  517. this.id=res.data;
  518. uni.hideLoading()
  519. if(status==-1){
  520. uni.showModal({
  521. title:"提示",
  522. content:"保存成功",
  523. showCancel:false
  524. })
  525. }else{
  526. uni.redirectTo({
  527. url:"/pagesFinance/user/applyResult?value="+this.info.applicationAmount
  528. })
  529. }
  530. }).catch(error => {
  531. uni.hideLoading()
  532. uni.showModal({
  533. title:"提示",
  534. content:error,
  535. showCancel:false
  536. })
  537. })
  538. },
  539. ckdownload(){
  540. //this.value=this.info.amount
  541. if(!this.stationObj.id){
  542. uni.showToast({
  543. title: "请选择站点"
  544. })
  545. return
  546. }
  547. uni.showLoading({
  548. title: "加载中",
  549. mask: true,
  550. })
  551. API.profitDetailsExcel({
  552. stationId:this.stationObj.id,
  553. yearMonth:this.queryTime,
  554. }).then((resDown) => {
  555. uni.hideLoading()
  556. if(resDown.data){
  557. window.location.href=resDown.data
  558. }else{
  559. uni.showToast({
  560. title:"无文件下载"
  561. })
  562. }
  563. }).catch(error => {
  564. uni.showToast({
  565. title:error
  566. })
  567. })
  568. },
  569. showTime(name) {
  570. if (!name) {
  571. return ''
  572. }
  573. return name.replace('-', '年') + '月';
  574. },
  575. queryWithdrawInfo() {
  576. uni.showLoading({
  577. title: "加载中",
  578. mask: true,
  579. })
  580. API.queryWithdrawInfo({
  581. stationId: this.stationObj.id,
  582. yearMonth: this.queryTime,
  583. applicationType: this.info.applicationType
  584. }).then((res) => {
  585. this.info = res.data.record;
  586. var detailList = res.data.detailList;
  587. this.detailList=[];
  588. if(detailList==null){
  589. detailList=[];
  590. }
  591. for(var i in detailList){
  592. if(this.id){
  593. this.detailList.push(detailList[i])
  594. }else{
  595. this.detailList.push({
  596. itemName:detailList[i].itemName,
  597. itemRemark:detailList[i].itemRemark,
  598. itemAmount:'',
  599. })
  600. }
  601. }
  602. uni.hideLoading()
  603. }).catch(error => {
  604. uni.showToast({
  605. title: error
  606. })
  607. })
  608. },
  609. getInfo(){
  610. uni.showLoading({
  611. title: "加载中",
  612. mask: true,
  613. })
  614. API.getWithdrawInfo(this.id).then((res) => {
  615. this.info=res.data.record
  616. this.detailList=res.data.detailList
  617. uni.hideLoading()
  618. }).catch(error => {
  619. uni.showToast({
  620. title: error
  621. })
  622. })
  623. },
  624. getStationList() {
  625. uni.showLoading({
  626. title: "加载中",
  627. mask: true,
  628. })
  629. API.stationList().then((res) => {
  630. this.stationList = res.data.stationList;
  631. if (this.stationList.length) {
  632. this.stationObj = this.stationList[0];
  633. if(this.id){
  634. this.getInfo()
  635. }else{
  636. this.queryWithdrawInfo()
  637. }
  638. }
  639. uni.hideLoading()
  640. }).catch(error => {
  641. uni.showToast({
  642. title: error
  643. })
  644. })
  645. API_common.findByCatalogName2({
  646. catalogName:"提现类型"
  647. }).then((res) => {
  648. this.applicationList= res.data.dataDictionaryList;
  649. // this.applicationList =dataDictionaryList.map((item)=>{
  650. // return {
  651. // name:item.name,
  652. // value:item.value
  653. // }
  654. // })
  655. uni.hideLoading()
  656. }).catch(error => {
  657. uni.showToast({
  658. title: error
  659. })
  660. })
  661. },
  662. bindPickerChange1(e) {
  663. if (this.stationList[e.detail.value]) {
  664. this.stationObj = this.stationList[e.detail.value];
  665. this.queryWithdrawInfo()
  666. }
  667. },
  668. bindPickerChange2(e) {
  669. this.info.applicationType = this.applicationList[e.detail.value].value;
  670. this.queryWithdrawInfo()
  671. },
  672. bindPickerChange3(e) {
  673. this.queryTime = e.detail.value;
  674. this.queryWithdrawInfo()
  675. },
  676. change(index) {
  677. this.current = index;
  678. }
  679. }
  680. }
  681. </script>
  682. <style>
  683. page {
  684. background-color: #F7F7F7;
  685. padding-bottom: 65px;
  686. }
  687. </style>
  688. <style lang="scss" scoped>
  689. .jputabs {
  690. //position: absolute;
  691. position: fixed;
  692. background-color: #FFF;
  693. width: 100%;
  694. top: 40px;
  695. z-index: 99;
  696. }
  697. .classFFF {
  698. color: #607d8b !important;
  699. }
  700. .download {
  701. color: #185AC6 !important;
  702. }
  703. /deep/.u-tab-bar {
  704. background-color: #0076FF !important;
  705. }
  706. /deep/.u-tabs-scorll-flex {
  707. width: 56%;
  708. margin: 0 auto;
  709. }
  710. .withdraw-tips {
  711. margin: 24px 16px;
  712. p {
  713. color: #999;
  714. margin-top: 4px;
  715. }
  716. }
  717. .uni-input {
  718. font-size: 16px;
  719. color: #333333;
  720. }
  721. .withdraw {
  722. margin-bottom: 8px;
  723. background-color: #fff;
  724. padding: 0px 16px 0 16px;
  725. .withdraw-head {
  726. padding: 16px 0;
  727. border-bottom: 1px solid #E5E7EA;
  728. align-items: center;
  729. position: relative;
  730. .unit {
  731. position: absolute;
  732. top: 34rpx;
  733. right: 0;
  734. }
  735. .whthdraw-price {
  736. font-size: 18px;
  737. color: #101010;
  738. font-weight: 600;
  739. }
  740. b {
  741. color: rgba(119, 119, 119, 100);
  742. font-size: 16px;
  743. }
  744. span {
  745. width: 60%;
  746. float: right;
  747. text-align: left;
  748. font-size: 16px;
  749. color: #333333;
  750. }
  751. @media screen and (max-width:320px) {
  752. span {
  753. width: 55%;
  754. }
  755. }
  756. }
  757. .withdraw-main {
  758. border-top: 1px solid #f7f7f7;
  759. border-bottom: 1px solid #f7f7f7;
  760. margin: 16px 0;
  761. padding: 16px 0;
  762. .withdraw-input {
  763. margin-top: 32px;
  764. display: flex;
  765. align-items: center;
  766. font-size: 28px;
  767. /deep/.uni-input-input {
  768. font-size: 28rpx;
  769. }
  770. }
  771. }
  772. .withdraw-foot {
  773. display: flex;
  774. align-items: center;
  775. p {
  776. color: #999
  777. }
  778. span {
  779. color: #2979FF;
  780. margin-left: 16px;
  781. }
  782. }
  783. }
  784. .more {
  785. color: #B3B3B3;
  786. font-size: 24px
  787. }
  788. .applyBtn {
  789. padding: 0 16px;
  790. display: flex;
  791. background-color: #FFF;
  792. font-size: 16px;
  793. line-height: 44px;
  794. height: 60px;
  795. position: fixed;
  796. bottom: 0;
  797. left: 0;
  798. right: 0;
  799. .save {
  800. width: 33.6%;
  801. border-radius: 8px 0px 0px 8px;
  802. background-color: rgba(0, 185, 98, 100);
  803. color: rgba(255, 255, 255, 100);
  804. }
  805. .submit {
  806. width: 66.4%;
  807. border-radius: 0px 8px 8px 0px;
  808. background-color: rgba(24, 90, 198, 100);
  809. color: rgba(255, 255, 255, 100);
  810. }
  811. }
  812. /deep/.uni-input-input {
  813. text-align: start !important;
  814. }
  815. .border-n {
  816. border: none !important;
  817. }
  818. .textarea {
  819. background-color: rgba(242, 242, 242, 100);
  820. margin-top: 12px;
  821. line-height: 20px;
  822. border-radius: 4px;
  823. color: rgba(136, 136, 136, 100);
  824. .uni-textarea-placeholder {
  825. padding: 0 16rpx;
  826. }
  827. /deep/.uni-textarea-textarea {
  828. width: 90%;
  829. padding: 0 16rpx;
  830. }
  831. }
  832. .withdrawHead{
  833. padding: 15px;
  834. font-size: 14px;
  835. .red{
  836. color: red;
  837. }
  838. }
  839. .details {
  840. margin: 16px;
  841. border-radius: 8px;
  842. background-color: #fff;
  843. overflow: hidden;
  844. }
  845. .asterisk {
  846. position: relative;
  847. text {
  848. position: absolute;
  849. top: 0px;
  850. left: -14rpx;
  851. color: #EE3138;
  852. }
  853. }
  854. .add {
  855. text-align: center;
  856. font-size: 18px;
  857. color: #101010;
  858. display: flex;
  859. align-items: center;
  860. justify-content: center;
  861. .ri-add-circle-fill {
  862. font-size: 24px;
  863. color: #44B371;
  864. margin: auto 0;
  865. margin-right: 4rpx;
  866. }
  867. }
  868. /deep/.u-input__input {
  869. font-size: 16px !important
  870. }
  871. .uni-input {
  872. display: flex;
  873. justify-content: space-between;
  874. }
  875. .input-text {
  876. white-space: nowrap;
  877. overflow: hidden;
  878. text-overflow: ellipsis;
  879. }
  880. </style>