BillPending.vue 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065
  1. <template>
  2. <view class="">
  3. <h3 class="userInfotenantName">{{userInfotenantName}}</h3>
  4. <view class="subsection">
  5. <u-subsection :list="list" fontSize="30rpx" :current="current" @change="sectionChange"></u-subsection>
  6. </view>
  7. <!-- 账单明细 -->
  8. <view class="" v-show="cdshow==0">
  9. <view class="topbilledit">
  10. <view class="changetime1">
  11. <picker mode="date" :value="myday" fields="month" @change="dateChange">
  12. <view class="selestDate">{{myday}}</view>
  13. </picker>
  14. </view>
  15. <view class="changetime2">
  16. <u-icon name="arrow-down-fill" color="#666666" size="20"></u-icon>
  17. </view>
  18. </view>
  19. <view style="padding:20rpx 0 0 30rpx">
  20. 共有 <span style="color: red">{{totalnumber}}</span>条记录
  21. </view>
  22. <view class="u-listdata">
  23. <u-list @scrolltolower="scrolltolower" :pagingEnabled='true'>
  24. <u-list-item v-for="(item, index) in indexList1" :key="index">
  25. <view class="paisong">
  26. <view class="outstanding1" v-if='item.status==1'>
  27. 已支付
  28. </view>
  29. <view class="outstanding2" v-if='item.status==2'>
  30. 待支付
  31. </view>
  32. <view class="outstanding3" v-if='item.status==3'>
  33. 支付失败
  34. </view>
  35. <view class="Currentamount" @click="paybills(item)">
  36. <checkbox :checked="item.check"/>
  37. 物业费: <span>¥{{item.amount}}</span>
  38. </view>
  39. <view class="Currentamount1">
  40. 管理费:{{item.billLists[0].amount}}
  41. </view>
  42. <view class="Currentamount1">
  43. 中央空调使用费:{{item.billLists[1].amount}}
  44. </view>
  45. <view class="Currentamount1">
  46. 电梯费:{{item.billLists[2].amount}}
  47. </view>
  48. </view>
  49. </u-list-item>
  50. </u-list>
  51. </view>
  52. <view class="zhifu" v-show="zhifumk">
  53. <view class="zhifuleft">
  54. <checkbox :checked="quanxuan"/>
  55. 全选
  56. </view>
  57. <view class="zhifuright" @click="Immediatepayment">
  58. <view class="heji">
  59. 合计:<span>¥ {{heji}}</span>
  60. </view>
  61. <view class="likezhifu">
  62. <u-button type="primary" size='mini' shape='circle' text="立即支付"></u-button>
  63. </view>
  64. </view>
  65. </view>
  66. </view>
  67. <!--缴费记录 -->
  68. <view class="" v-show="cdshow==1">
  69. <!-- 列表 -->
  70. <view class="u-listdata">
  71. <view class="topbilledit" @click="typechange">
  72. <view class="changetime1">
  73. {{mytype}}
  74. </view>
  75. <view class="changetime2">
  76. <u-icon name="arrow-down-fill" color="#666666" size="20"></u-icon>
  77. </view>
  78. </view>
  79. <view style="padding:20rpx 0 0 30rpx">
  80. 共有 <span style="color: red">{{totalnumber}}</span>条记录
  81. </view>
  82. <u-list @scrolltolower="scrolltolower2" :pagingEnabled='true'>
  83. <u-list-item v-for="(item, index) in indexList2" :key="index">
  84. <view class="paisong2">
  85. <view class="settled1" v-if="item.type=='Subsidy'">
  86. 补助
  87. </view>
  88. <view class="settled2" v-if="item.type=='PreStorage'">
  89. 预存
  90. </view>
  91. <!-- <view class="settled3" v-if="item.type==3">
  92. 普通
  93. </view> -->
  94. <h3>{{item.tenantInfo.name}}</h3>
  95. <view class="Currentamount1">
  96. 扣缴金额:{{item.amount}}
  97. </view>
  98. <view class="Currentamount1">
  99. 账户金额:{{item.surplus}}
  100. </view>
  101. <view class="Currentamount1">
  102. 租户电话:{{item.tenantInfo.tel}}
  103. </view>
  104. <view class="Currentamount1">
  105. 操作人:{{item.createName}}
  106. </view>
  107. <view class="Currentamount1">
  108. 扣缴时间:{{item.createDate}}
  109. </view>
  110. </view>
  111. </u-list-item>
  112. </u-list>
  113. <view class="Predeposit" v-show="Predepositshow">
  114. <u-button type="primary" text="预存充值" @click="Predeposit"></u-button>
  115. </view>
  116. </view>
  117. </view>
  118. <u-picker :show="showtype" :columns="columnstype" keyName="dictLabel" @confirm="confirmtype"
  119. @cancel='canceltype'></u-picker>
  120. <u-popup :show="showpay" @close="closepay" @open="openpay" mode="bottom" :round="10" :closeable=true
  121. :closeOnClickOverlay=true>
  122. <view class="paytall">
  123. <!-- <text>请选择支付方式</text> -->
  124. <view class="hejitop">
  125. ¥ {{heji}}
  126. </view>
  127. <view class="zhifufs">
  128. <u-radio-group @change="groupChange" v-model="radiovalue1" placement="column" iconPlacement="right">
  129. <u-radio :customStyle="{marginBottom: '8px'}" v-for="(item, index) in radiolist1" :key="index"
  130. :label="item.name" :name="item.id">
  131. </u-radio>
  132. </u-radio-group>
  133. </view>
  134. <view style="margin: 0 30rpx;">
  135. <u-button type="primary" text="确认支付" @click="Confirmationpayment"></u-button>
  136. </view>
  137. </view>
  138. </u-popup>
  139. <u-modal :show="showjiaofei" title="提示" content='当前账户余额不足,请问是否充值?' @confirm="jiaofeiconfirm"
  140. @cancel='jiaofeicancel' :showCancelButton=true></u-modal>
  141. <view class="canys" v-if="zhifucanvas">
  142. <h4>请用微信扫码二维码</h4>
  143. <canvas class="zhifucanvas" canvas-id='canvas'></canvas>
  144. <view class="guanbi">
  145. <u-button type="primary" :plain="true" text="关闭" @click="guanbi"></u-button>
  146. </view>
  147. </view>
  148. <u-popup :show="showpayjine" @close="closepay1" @open="openpay1" mode="bottom" :round="10" :closeable=true
  149. :closeOnClickOverlay=true>
  150. <view class="paytall1">
  151. <!-- <text>请选择支付方式</text> -->
  152. <view class="hejitop">
  153. 预存
  154. </view>
  155. <view class="zhifufs">
  156. <u--form
  157. labelWidth="100"
  158. labelPosition="left"
  159. :model="model1"
  160. :rules="rules"
  161. ref="uForm"
  162. >
  163. <u-form-item
  164. label="金额"
  165. prop="userInfo.amount"
  166. borderBottom
  167. ref="item1"
  168. >
  169. <u--input
  170. v-model="model1.userInfo.amount"
  171. border="none"
  172. ></u--input>
  173. </u-form-item>
  174. </u--form>
  175. </view>
  176. <view style="margin: 0 30rpx;">
  177. <u-button type="primary" text="确认支付" @click="Confirmationpaymentjine"></u-button>
  178. </view>
  179. </view>
  180. </u-popup>
  181. <u-notify ref="uNotify" message=""></u-notify>
  182. </view>
  183. </template>
  184. <script>
  185. var QRCode = require('@/utils/qrcode.js');
  186. const BaseApi = require("@/http/baseApi.js");
  187. // import {isEmpty,getDictDataList} from "@/utils/index";
  188. export default {
  189. name: 'Workordertodone',
  190. data() {
  191. const currentDate = this.getDate({
  192. format: 'yyyy-mm'
  193. })
  194. return {
  195. model1: {
  196. userInfo: {
  197. amount: '',
  198. },
  199. },
  200. rules: {
  201. 'userInfo.amount': {
  202. type: 'string',
  203. required: true,
  204. message: '请填写预存金额',
  205. trigger: ['blur', 'change']
  206. },
  207. },
  208. Predepositshow:true,
  209. showpayjine: false,
  210. showcw: false,
  211. zhifucanvas: false,
  212. radiolist1: [],
  213. radiovalue1: '微信',
  214. showjiaofei: false,
  215. showpay: false,
  216. quanxuan: true,
  217. zhifumk: false,
  218. mytype: '全部',
  219. myday: currentDate,
  220. totalnumber: 0,
  221. jfnodata: false,
  222. showtype: false,
  223. cdshow: 0,
  224. fatherparameter: {},
  225. expensedata: '全部',
  226. list: ['账单明细', '缴费记录',],
  227. current: 0,
  228. dataForm: {
  229. tenantId: '',
  230. costCycle: currentDate,
  231. type: '',
  232. page: 1,
  233. limit: 10,
  234. },
  235. zhanghuyue: 0,
  236. heji: 0,
  237. indexList1: [],
  238. indexList2: [],
  239. payStatusList: [],
  240. nodata: true,
  241. pd: true,
  242. zhifufangshi: '',
  243. columnstype: [],
  244. repairTypeList: [],
  245. UrgencyTypelist: [],
  246. PayStatus: [],
  247. PropertyType: [],
  248. userInfotenantName: '',
  249. }
  250. },
  251. //监听页面加载,其参数为上个页面传递的数据,参数类型为 Object(用于页面传参
  252. onLoad: function (options) { //option为object类型,会序列化上个页面传递的参数
  253. let userInfo = JSON.parse(decodeURIComponent(options.info));
  254. // console.log('userInfo', userInfo);
  255. this.userInfotenantName = userInfo.tenantName;
  256. this.dataForm.tenantId = userInfo.tenantId;
  257. let getDictDataList = uni.getStorageSync('getDictDataList');
  258. console.log('111111111111111111', getDictDataList)
  259. for (let i = 0; i < getDictDataList.length; i++) {
  260. if (getDictDataList[i].dictType == 'PayType') {
  261. this.columnstype = [getDictDataList[i].dataList]
  262. }
  263. if (getDictDataList[i].dictType == 'PayStatus') {
  264. this.PayStatus = [getDictDataList[i].dataList]
  265. }
  266. if (getDictDataList[i].dictType == 'PropertyType') {
  267. this.PropertyType = [getDictDataList[i].dataList]
  268. }
  269. }
  270. console.log('111111111111111111', this.PayStatus)
  271. this.getpaisongdata();
  272. },
  273. //监听页面初次渲染完成。注意如果渲染速度快,会在页面进入动画完成前触发
  274. onReady() {
  275. },
  276. //监听页面隐藏
  277. onHide() {
  278. },
  279. //监听窗口尺寸变化
  280. onResize() {
  281. },
  282. //监听页面卸载
  283. onUnload() {
  284. },
  285. //监听用户下拉动作,一般用于下拉刷新
  286. onPullDownRefresh() {
  287. },
  288. methods: {
  289. guanbi(){
  290. this.zhifucanvas=false;
  291. this.Predepositshow=true;
  292. this.queryOrder1();
  293. this.queryOrder2();
  294. },
  295. Confirmationpaymentjine() {
  296. this.zhifucanvas=true;
  297. this.$refs.uForm.validate().then(res => {
  298. uni.$u.toast('校验通过')
  299. console.log('111111111111111111', this.model1.userInfo.amount)
  300. this.showpayjine=false;
  301. this.Predepositshow=false;
  302. // this.Immediatepayment();
  303. let postdata = {
  304. totalFee: '0.01',
  305. tenantId: Math.floor(this.dataForm.tenantId),
  306. tradeType: 'NATIVE',
  307. billIds: ''
  308. }
  309. uni.request({
  310. url: BaseApi.BaseApi + '/pay/createOrder',
  311. method: "POST",
  312. data: postdata,
  313. header: {
  314. 'content-type': 'application/x-www-form-urlencoded',
  315. "token": uni.getStorageSync('tokendata'),
  316. },
  317. success: (res) => {
  318. // window.open(res.codeUrl, '_blank);
  319. let qrcode = new QRCode('canvas', {
  320. text: res.data.codeUrl, // weixin://wxpay/bizpayurl?pr=sZz****
  321. width: 213,
  322. height: 213,
  323. colorDark: "black",
  324. colorLight: "white",
  325. correctLevel: QRCode.CorrectLevel.H,
  326. });
  327. // 10秒之后调取查询订单
  328. let that = this;
  329. setTimeout(function () {
  330. that.queryOrder2();
  331. }, 15000);
  332. }
  333. });
  334. }).catch(errors => {
  335. uni.$u.toast('校验失败')
  336. })
  337. },
  338. groupChange(n) {
  339. console.log('groupChange', n);
  340. this.zhifufangshi = n;
  341. },
  342. Predeposit() {
  343. this.showpayjine = true;
  344. },
  345. queryOrder1() {
  346. this.Predepositshow=true;
  347. this.zhifucanvas = false;
  348. //this.cdshow = 0;
  349. this.indexList1 = [];
  350. this.dataForm.page = 1;
  351. this.getpaisongdata();
  352. },
  353. queryOrder2() {
  354. this.Predepositshow=true;
  355. this.zhifucanvas = false;
  356. this.indexList2 = [];
  357. this.dataForm.page = 1;
  358. this.getpayrecord();
  359. },
  360. Confirmationpayment() {
  361. if (this.zhifufangshi == 'zhanghu') {
  362. if (this.zhanghuyue >= this.heji) {
  363. console.log('账户余额支付',)
  364. //this.showpay=false;
  365. let billIdslist = [this.indexList1[0].billLists[0].id, this.indexList1[0].billLists[1].id,
  366. this.indexList1[0].billLists[2].id];
  367. let postdata = {
  368. amount: String(this.zhanghuyue - this.heji),
  369. tenantId: this.dataForm.tenantId,
  370. payType: 'Account',
  371. billIds: billIdslist
  372. }
  373. this.$api.post('/billinfo/billPay', postdata)
  374. .then(res => {
  375. console.log('111111111111111111', res)
  376. if (res.data.code == 0) {
  377. this.zhifucanvas = true;
  378. this.$refs.uNotify.success(res.data.msg)
  379. this.showpay = false;
  380. this.indexList1 = [];
  381. this.dataForm.page = 1;
  382. this.getpaisongdata();
  383. } else {
  384. this.$refs.uNotify.error(res.data.msg)
  385. this.showpay = false;
  386. this.indexList1 = [];
  387. this.dataForm.page = 1;
  388. this.getpaisongdata();
  389. }
  390. })
  391. } else if (this.zhanghuyue < this.heji) {
  392. this.showjiaofei = true;
  393. }
  394. } else if (this.zhifufangshi == 'weixin') {
  395. this.zhifucanvas = true;
  396. this.showpay = false;
  397. let billIdslist = this.indexList1[0].billLists[0].id + ',' +
  398. this.indexList1[0].billLists[1].id + ',' + this.indexList1[0].billLists[2].id;
  399. // let postdata = {
  400. // totalFee: String(this.heji),
  401. // tenantId:Math.floor(this.dataForm.tenantId),
  402. // tradeType: 'NATIVE',
  403. // billIds: billIdslist
  404. // }
  405. let postdata = {
  406. totalFee: '0.01',
  407. tenantId: Math.floor(this.dataForm.tenantId),
  408. tradeType: 'NATIVE',
  409. billIds: billIdslist
  410. }
  411. uni.request({
  412. url: BaseApi.BaseApi + '/pay/createOrder',
  413. method: "POST",
  414. data: postdata,
  415. header: {
  416. 'content-type': 'application/x-www-form-urlencoded',
  417. "token": uni.getStorageSync('tokendata'),
  418. },
  419. success: (res) => {
  420. // window.open(res.codeUrl, '_blank);
  421. let qrcode = new QRCode('canvas', {
  422. text: res.data.codeUrl, // weixin://wxpay/bizpayurl?pr=sZz****
  423. width: 213,
  424. height: 213,
  425. colorDark: "black",
  426. colorLight: "white",
  427. correctLevel: QRCode.CorrectLevel.H,
  428. });
  429. //10秒之后调取查询订单
  430. let that = this;
  431. setTimeout(function () {
  432. that.queryOrder1();
  433. }, 15000);
  434. }
  435. });
  436. }
  437. },
  438. jiaofeiconfirm() {
  439. this.showpay = false;
  440. console.log('111111111111111111', this.heji - this.zhanghuyue)
  441. let billIdslist = this.indexList1[0].billLists[0].id + ',' +
  442. this.indexList1[0].billLists[1].id + ',' + this.indexList1[0].billLists[2].id;
  443. let postdata = {
  444. totalFee: String(this.heji - this.zhanghuyue),
  445. tenantId: Math.floor(this.dataForm.tenantId),
  446. tradeType: 'NATIVE',
  447. billIds: billIdslist
  448. }
  449. uni.request({
  450. url: BaseApi.BaseApi + '/pay/createOrder',
  451. method: "POST",
  452. data: postdata,
  453. header: {
  454. 'content-type': 'application/x-www-form-urlencoded',
  455. "token": uni.getStorageSync('tokendata'),
  456. },
  457. success: (res) => {
  458. // window.open(res.codeUrl, '_blank);
  459. let qrcode = new QRCode('canvas', {
  460. text: res.data.codeUrl, // weixin://wxpay/bizpayurl?pr=sZz****
  461. width: 213,
  462. height: 213,
  463. colorDark: "black",
  464. colorLight: "white",
  465. correctLevel: QRCode.CorrectLevel.H,
  466. });
  467. //10秒之后调取查询订单
  468. let that = this;
  469. setTimeout(function () {
  470. that.queryOrder1();
  471. }, 15000);
  472. }
  473. });
  474. },
  475. jiaofeicancel() {
  476. this.showjiaofei = false;
  477. },
  478. Immediatepayment() {
  479. this.$api.get('/accountinfo/detail/' + this.dataForm.tenantId, {})
  480. .then(res => {
  481. this.zhanghuyue = res.data.data.amount;
  482. this.showpay = true;
  483. this.radiolist1 = [{
  484. name: '微信',
  485. disabled: false,
  486. id: 'weixin',
  487. },
  488. {
  489. name: '账户余额' + '(可用¥' + this.zhanghuyue + ')',
  490. disabled: false,
  491. id: 'zhanghu'
  492. },
  493. ]
  494. })
  495. },
  496. openpay() {
  497. console.log('open');
  498. },
  499. closepay() {
  500. this.showpay = false
  501. // console.log('close');
  502. },
  503. openpay1() {
  504. console.log('open');
  505. },
  506. closepay1() {
  507. this.showpayjine = false
  508. // console.log('close');
  509. },
  510. paybills(e) {
  511. e.check = !e.check;
  512. if (e.check) {
  513. console.log('111111111111111111',e.check)
  514. this.zhifumk = e.check
  515. } else {
  516. console.log('222222',e.check)
  517. this.zhifumk = e.check
  518. }
  519. },
  520. dateChange(e) {
  521. this.myday = e.target.value;
  522. this.dataForm.costCycle = e.target.value;
  523. this.dataForm.page = 1;
  524. this.indexList1 = [];
  525. this.getpaisongdata();
  526. },
  527. sectionChange(index) {
  528. this.current = index;
  529. if (index == 0) {
  530. this.cdshow = 0;
  531. this.indexList1 = [];
  532. this.dataForm.page = 1;
  533. this.getpaisongdata();
  534. } else if (index == 1) {
  535. this.cdshow = 1;
  536. this.indexList2 = [];
  537. this.dataForm.page = 1;
  538. this.getpayrecord();
  539. }
  540. },
  541. scrolltolower() {
  542. if (this.pd) {
  543. this.getpaisongdata();
  544. } else {
  545. return
  546. }
  547. },
  548. scrolltolower2() {
  549. if (this.pd) {
  550. this.getpayrecord();
  551. } else {
  552. return
  553. }
  554. },
  555. getpayrecord() {
  556. this.$api.get('/payrecord/page', this.dataForm)
  557. .then(res => {
  558. this.totalnumber = res.data.data.total;
  559. console.log('111111111111111111', res.data.data)
  560. if (res.data.data.list.length != 0) {
  561. this.indexList2.push(...res.data.data.list);
  562. this.dataForm.page = this.dataForm.page + 1;
  563. this.pd = true;
  564. this.jfnodata = false;
  565. } else {
  566. uni.showToast({
  567. title: '暂无更多数据了',
  568. icon: 'none',
  569. duration: 1500
  570. })
  571. this.pd = false;
  572. //this.jfnodata=true
  573. }
  574. })
  575. },
  576. getpaisongdata() {
  577. this.$api.post('/billinfo/billDetail', this.dataForm)
  578. .then(res => {
  579. this.totalnumber = res.data.data.length;
  580. //console.log('111111111111111111', res.data.data)
  581. if (res.data.data.length != 0) {
  582. //check
  583. for (let i = 0; i < res.data.data.length; i++) {
  584. res.data.data[i].check = false;
  585. }
  586. this.heji = res.data.data[0].amount;
  587. this.indexList1.push(...res.data.data);
  588. this.dataForm.page = this.dataForm.page + 1;
  589. this.pd = true;
  590. this.jfnodata = false;
  591. } else {
  592. uni.showToast({
  593. title: '暂无更多数据了',
  594. icon: 'none',
  595. duration: 1500
  596. })
  597. this.pd = false;
  598. //this.jfnodata=true
  599. }
  600. })
  601. },
  602. getDate(type) {
  603. const date = new Date();
  604. let year = date.getFullYear();
  605. let month = date.getMonth() + 1;
  606. if (type === 'start') {
  607. year = year - 60;
  608. } else if (type === 'end') {
  609. year = year + 2;
  610. }
  611. month = month > 9 ? month : '0' + month;
  612. // day = day > 9 ? day : '0' + day;
  613. return `${year}-${month}`;
  614. },
  615. typechange() {
  616. this.showtype = true;
  617. },
  618. confirmtype(e) {
  619. this.indexList2 = [];
  620. //console.log('111111111111111111', e.value[0])
  621. this.showtype = false;
  622. if (e.value[0].dictValue == 'all') {
  623. this.mytype = e.value[0].dictLabel;
  624. this.dataForm.type = '';
  625. this.dataForm.page = 1;
  626. this.getpayrecord();
  627. } else {
  628. this.mytype = e.value[0].dictLabel;
  629. this.dataForm.type = e.value[0].dictValue;
  630. this.dataForm.page = 1;
  631. this.getpayrecord();
  632. }
  633. },
  634. canceltype() {
  635. this.showtype = false;
  636. },
  637. dict_filter(val, list) {
  638. if (isEmpty(val)) {
  639. return "";
  640. }
  641. return this[list].find((item) => item.dictValue == val);
  642. },
  643. }
  644. }
  645. </script>
  646. <style lang="scss">
  647. .Predeposit {
  648. position: fixed;
  649. bottom: 0;
  650. left: 0;
  651. right: 0;
  652. width: 750rpx;
  653. }
  654. .nodata {
  655. text-align: center;
  656. padding-top: 400rpx;
  657. }
  658. .zhifucanvas {
  659. width: 400rpx;
  660. height: 400rpx;
  661. margin: 0 auto;
  662. }
  663. .canys{
  664. width: 500rpx;
  665. height: 600rpx;
  666. position: fixed;
  667. top: 30%;
  668. left: 140rpx;
  669. background: #e6e6e6;
  670. h4{
  671. width: 500rpx;
  672. text-align: center;
  673. height: 80rpx;
  674. line-height: 80rpx;
  675. }
  676. }
  677. .guanbi{
  678. margin-top: 50rpx;
  679. }
  680. .zhifufs {
  681. padding: 30rpx;
  682. ::v-deep .u-radio-label--right {
  683. margin-top: 30rpx;
  684. }
  685. ::v-deep .u-radio__icon-wrap {
  686. width: 40rpx !important;
  687. height: 40rpx !important;
  688. }
  689. ::v-deep .u-radio__text {
  690. font-size: 32rpx !important;
  691. }
  692. }
  693. .hejitop {
  694. width: 750rpx;
  695. text-align: center;
  696. font-weight: bold;
  697. font-size: 40rpx;
  698. margin-bottom: 30rpx;
  699. }
  700. .paytall {
  701. width: 750rpx;
  702. height: 400rpx;
  703. background-color: #fff;
  704. }
  705. .paytall1 {
  706. width: 750rpx;
  707. height: 330rpx;
  708. background-color: #fff;
  709. }
  710. .heji span {
  711. color: #ED3A25;
  712. }
  713. .likezhifu {
  714. margin-left: 20rpx;
  715. margin-right: 30rpx;
  716. }
  717. .zhifu {
  718. position: fixed;
  719. right: 0 ;
  720. bottom: 0 ;
  721. left: 0 ;
  722. height: 140rpx;
  723. background-color: #fff;
  724. display: flex;
  725. align-items: center;
  726. justify-content: space-between;
  727. }
  728. .zhifuleft {
  729. margin-left: 30rpx;
  730. }
  731. .zhifuright {
  732. display: flex;
  733. align-items: center;
  734. justify-content: flex-end;
  735. }
  736. .outstanding1 {
  737. background-color: #09C700;
  738. width: 100rpx;
  739. height: 40rpx;
  740. text-align: center;
  741. line-height: 40rpx;
  742. color: #fff;
  743. font-size: 14 rpx;
  744. position: absolute;
  745. top: 0px;
  746. right: 0px;
  747. border-top-right-radius: 10rpx;
  748. border-bottom-left-radius: 10rpx;
  749. }
  750. .outstanding2 {
  751. background-color: #ED3A25;
  752. width: 100rpx;
  753. height: 40rpx;
  754. text-align: center;
  755. line-height: 40rpx;
  756. color: #fff;
  757. font-size: 14rpx;
  758. position: absolute;
  759. top: 0px;
  760. right: 0px;
  761. border-top-right-radius: 10rpx;
  762. border-bottom-left-radius: 10rpx;
  763. }
  764. .outstanding3 {
  765. background-color: #e6e6e6;
  766. width: 100rpx;
  767. height: 40rpx;
  768. text-align: center;
  769. line-height: 40rpx;
  770. color: #fff;
  771. font-size: 14 rpx;
  772. position: absolute;
  773. top: 0px;
  774. right: 0px;
  775. border-top-right-radius: 10rpx;
  776. border-bottom-left-radius: 10rpx;
  777. }
  778. .userInfotenantName {
  779. text-align: center;
  780. margin-bottom: 10rpx;
  781. font-size: 34rpx;
  782. }
  783. .topbilledit {
  784. display: flex;
  785. justify-content: space-around;
  786. align-items: center;
  787. }
  788. .changetime1 {
  789. padding-right: 10rpx;
  790. }
  791. .paisong {
  792. display: flex;
  793. flex-direction: column;
  794. justify-content: center;
  795. height: 220rpx;
  796. background-color: #fff;
  797. margin: 30rpx;
  798. border-radius: 9rpx;
  799. position: relative;
  800. h3 {
  801. height: 70rpx;
  802. line-height: 70rpx;
  803. padding-left: 30rpx;
  804. }
  805. }
  806. .paisong2 {
  807. display: flex;
  808. flex-direction: column;
  809. justify-content: center;
  810. height: 330rpx;
  811. background-color: #fff;
  812. margin: 30rpx;
  813. border-radius: 9rpx;
  814. position: relative;
  815. h3 {
  816. height: 70rpx;
  817. line-height: 70rpx;
  818. padding-left: 30rpx;
  819. }
  820. }
  821. .companylist {
  822. margin: 20rpx 30rpx;
  823. background: #fff;
  824. height: 280rpx;
  825. border-radius: 10px;
  826. position: relative;
  827. h3 {
  828. height: 70rpx;
  829. line-height: 70rpx;
  830. padding-left: 30rpx;
  831. }
  832. }
  833. .settled1 {
  834. background-color: #09C700;
  835. width: 100rpx;
  836. height: 40rpx;
  837. text-align: center;
  838. line-height: 40rpx;
  839. color: #fff;
  840. font-size: 14rpx;
  841. position: absolute;
  842. top: 0px;
  843. right: 0px;
  844. border-top-right-radius: 10rpx;
  845. border-bottom-left-radius: 10rpx;
  846. }
  847. .settled2 {
  848. background-color: #30D3A2;
  849. width: 100rpx;
  850. height: 40rpx;
  851. text-align: center;
  852. line-height: 40rpx;
  853. color: #fff;
  854. font-size: 14 rpx;
  855. position: absolute;
  856. top: 0px;
  857. right: 0px;
  858. border-top-right-radius: 10rpx;
  859. border-bottom-left-radius: 10rpx;
  860. }
  861. .settled3 {
  862. background-color: #30D3A2;
  863. width: 100rpx;
  864. height: 40rpx;
  865. text-align: center;
  866. line-height: 40rpx;
  867. color: #fff;
  868. font-size: 14rpx;
  869. position: absolute;
  870. top: 0px;
  871. right: 0px;
  872. border-top-right-radius: 10rpx;
  873. border-bottom-left-radius: 10rpx;
  874. }
  875. .Currentamount {
  876. padding-left: 30rpx;
  877. height: 50rpx;
  878. line-height: 50rpx;
  879. color: #BCB3A7;
  880. span {
  881. color: #FA5555;
  882. padding-left: 9rpx;
  883. }
  884. }
  885. .Currentamount1 {
  886. padding-left: 30rpx;
  887. height: 45rpx;
  888. line-height: 45rpx;
  889. color: #BCB3A7;
  890. span {
  891. color: #FA5555;
  892. padding-left: 9rpx;
  893. }
  894. }
  895. .records1 {
  896. background-color: #FA5555;
  897. width: 100rpx;
  898. height: 40rpx;
  899. text-align: center;
  900. line-height: 40rpx;
  901. color: #fff;
  902. font-size: 14rpx;
  903. position: absolute;
  904. top: 0px;
  905. right: 0px;
  906. border-top-right-radius: 10rpx;
  907. border-bottom-left-radius: 10rpx;
  908. }
  909. .records {
  910. display: flex;
  911. flex-direction: column;
  912. // justify-content: center;
  913. position: relative;
  914. width: 690rpx;
  915. height: 210rpx;
  916. background: #fff;
  917. margin: 0 auto;
  918. border-radius: 9rpx;
  919. }
  920. .onerecord {
  921. width: 750rpx;
  922. height: 90rpx;
  923. line-height: 90rpx;
  924. padding-left: 30rpx;
  925. color: #999;
  926. span {
  927. color: red;
  928. }
  929. }
  930. .topbilledit {
  931. display: flex;
  932. justify-content: center;
  933. align-items: center;
  934. background: #fff;
  935. height: 60rpx;
  936. }
  937. .changetime2 {
  938. padding-left: 10rpx;
  939. }
  940. .subsection {
  941. padding: 30rpx;
  942. background: #fff;
  943. }
  944. .topname {
  945. height: 44px;
  946. width: 750rpx;
  947. display: flex;
  948. align-items: center;
  949. }
  950. .topname1 {
  951. width: 50rpx;
  952. padding-left: 10rpx;
  953. }
  954. .topname2 {
  955. width: 700rpx;
  956. text-align: center;
  957. font-weight: bold;
  958. }
  959. </style>