1 line
6.7 KiB
JavaScript
1 line
6.7 KiB
JavaScript
"use strict";require("./sub-common/0eff1e0ddb93591db0e73d4e2106c601.js");require("./sub-common/26acc9c9fff667435082ac5bbdbaa896.js");(wx.webpackJsonp=wx.webpackJsonp||[]).push([[5932],{3279:function(e,o,n){var a=n(2180),d=n(9439),i=n(4165),s=n(5861),t=n(1515),l=n(2954),r=n.n(l),c=n(7294),f=n(4184),h=n.n(f),_={common_safe_area_y:"index-module__common_safe_area_y___uYQl7",hoverClass:"index-module__hoverClass___YpHIS","full-100":"index-module__full-100___FE54S","deposit-beforehand":"index-module__deposit-beforehand___m5bkn","deposit-beforehand-card":"index-module__deposit-beforehand-card___keC0p","deposit-beforehand-balance":"index-module__deposit-beforehand-balance___rVztl","deposit-beforehand-balance-title":"index-module__deposit-beforehand-balance-title___Osnrl","deposit-beforehand-balance-price":"index-module__deposit-beforehand-balance-price___XNn1H","deposit-beforehand-balance-button":"index-module__deposit-beforehand-balance-button___zCvjX","deposit-beforehand-info-title":"index-module__deposit-beforehand-info-title___nq2sq","deposit-beforehand-info-title-left":"index-module__deposit-beforehand-info-title-left___YKIOu","deposit-beforehand-info-title-copy":"index-module__deposit-beforehand-info-title-copy___oxPln","deposit-beforehand-info-list":"index-module__deposit-beforehand-info-list___y8zpj","deposit-beforehand-info-list-left":"index-module__deposit-beforehand-info-list-left___vlBJY","deposit-beforehand-info-list-right":"index-module__deposit-beforehand-info-list-right___oIVJH","deposit-beforehand-particulars":"index-module__deposit-beforehand-particulars___I3xHf","deposit-beforehand-particulars-left":"index-module__deposit-beforehand-particulars-left___zPhna","deposit-beforehand-particulars-right":"index-module__deposit-beforehand-particulars-right___J2a3c","deposit-beforehand-dialog":"index-module__deposit-beforehand-dialog___s5h4g","deposit-beforehand-dialog-title":"index-module__deposit-beforehand-dialog-title___oLybg","deposit-beforehand-dialog-content":"index-module__deposit-beforehand-dialog-content___MRDxL","deposit-beforehand-dialog-bottom":"index-module__deposit-beforehand-dialog-bottom___cvmcD","deposit-beforehand-dialog-button":"index-module__deposit-beforehand-dialog-button___jFx0h","deposit-beforehand-dialog-button-cancel":"index-module__deposit-beforehand-dialog-button-cancel___JkcOV","deposit-beforehand-dialog-button-confirm":"index-module__deposit-beforehand-dialog-button-confirm___oJ61p"},p=n(4733),b=n(4158),u=n(9521),m=n(4408),x=n(1117),g=n(9194),j=n(1115),N=n(9498),G=n(5893),v=function DepositBeforehand(){var e;(0,m.Z)(),(0,N.av)("pages/depositBeforehand/index");var o=(0,p.UQ)(),n=o.fetchData,a=o.state,f=function(){var e=(0,s.Z)((0,i.Z)().mark((function _callee(){return(0,i.Z)().wrap((function _callee$(e){for(;;)switch(e.prev=e.next){case 0:n();case 1:case"end":return e.stop()}}),_callee)})));return function getData(){return e.apply(this,arguments)}}();(0,c.useEffect)((function(){f()}),[]);var v=(0,c.useState)(!1),C=(0,d.Z)(v,2),k=C[0],y=C[1],Z=function handleCloseModal(){y(!1)},w=(0,g.v)((function(e){return e.userInfo}));return(0,G.jsxs)(t.G7,{className:_["deposit-beforehand"],children:[(0,G.jsx)(u.Z,{text:"汇款成功后,1-5分钟自动到账。"}),(0,G.jsx)(t.G7,{className:_["deposit-beforehand-card"],children:(0,G.jsxs)(t.G7,{className:_["deposit-beforehand-balance"],children:[(0,G.jsx)(t.G7,{className:_["deposit-beforehand-balance-title"],children:"余额 (元)"}),(0,G.jsx)(t.xv,{className:_["deposit-beforehand-balance-price"],children:(0,b.Qo)((0,b.yb)(null===(e=a.data)||void 0===e?void 0:e.amount)).toLocaleString()}),(0,G.jsx)(t.G7,{className:_["deposit-beforehand-balance-button"],onClick:function handleClick(){y(!0)},children:"转出"})]})}),(0,G.jsx)(t.G7,{className:_["deposit-beforehand-card"],children:(0,G.jsxs)(t.G7,{className:_["deposit-beforehand-info"],children:[(0,G.jsxs)(t.G7,{className:_["deposit-beforehand-info-title"],children:[(0,G.jsxs)(t.G7,{className:_["deposit-beforehand-info-title-left"],children:[(0,G.jsx)(t.xv,{})," 货款充值"]}),(0,G.jsx)(t.G7,{className:_["deposit-beforehand-info-title-copy"],onClick:function handleCopy(){(0,l.setClipboardData)({data:"4443 2201 0400 1476 5"})},children:"复制"})]}),(0,G.jsxs)(t.G7,{className:_["deposit-beforehand-info-content"],children:[(0,G.jsxs)(t.G7,{className:_["deposit-beforehand-info-list"],children:[(0,G.jsx)(t.G7,{className:_["deposit-beforehand-info-list-left"],children:"开户名称"}),(0,G.jsx)(t.G7,{className:_["deposit-beforehand-info-list-right"],children:"中国农业银行股份有限公司佛山张搓开发区支行"})]}),(0,G.jsxs)(t.G7,{className:_["deposit-beforehand-info-list"],children:[(0,G.jsx)(t.G7,{className:_["deposit-beforehand-info-list-left"],children:"开户银行"}),(0,G.jsx)(t.G7,{className:_["deposit-beforehand-info-list-right"],children:"中国农业银行"})]}),(0,G.jsxs)(t.G7,{className:_["deposit-beforehand-info-list"],children:[(0,G.jsx)(t.G7,{className:_["deposit-beforehand-info-list-left"],children:"汇款账号"}),(0,G.jsx)(t.G7,{className:_["deposit-beforehand-info-list-right"],children:"4443 2201 0400 1476 5"})]})]})]})}),(0,G.jsx)(t.G7,{className:_["deposit-beforehand-card"],children:(0,G.jsxs)(t.G7,{className:_["deposit-beforehand-particulars"],children:[(0,G.jsx)(t.G7,{className:_["deposit-beforehand-particulars-left"],children:"收支明细"}),(0,G.jsxs)(t.C3,{hoverClass:"none",url:"/pages/depositList/index",className:"deposit-beforehand-particulars-right",children:["全部 ",(0,G.jsx)(t.xv,{className:"iconfont icon-a-moreback"})]})]})}),(0,G.jsx)(x.Z,{show:k,onClose:Z,onChange:function handleChangeModal(e){y(e)},children:(0,G.jsxs)(t.G7,{className:_["deposit-beforehand-dialog"],children:[(0,G.jsx)(t.G7,{className:_["deposit-beforehand-dialog-title"],children:"提示"}),(0,G.jsx)(t.G7,{className:_["deposit-beforehand-dialog-content"],children:"若需提现,请联系业务经理进行转出"}),(0,G.jsxs)(t.G7,{className:_["deposit-beforehand-dialog-bottom"],children:[(0,G.jsx)(t.G7,{className:h()(_["deposit-beforehand-dialog-button"],_["deposit-beforehand-dialog-button-cancel"]),onClick:Z,children:"取消"}),(0,G.jsx)(t.G7,{className:h()(_["deposit-beforehand-dialog-button"],_["deposit-beforehand-dialog-button-confirm"]),onClick:function handleCallPhone(){var e,o;if(null==w||null===(e=w.adminUserInfo)||void 0===e||!e.sale_user_phone)return j.Z9.error("手机号不能为空");r().makePhoneCall({phoneNumber:null==w||null===(o=w.adminUserInfo)||void 0===o?void 0:o.sale_user_phone}),Z()},children:"联系业务经理"})]})]})})]})};v.enableShareAppMessage=!0;Page((0,a.createPageConfig)(v,"pages/depositBeforehand/index",{root:{cn:[]}},{navigationBarTitleText:"货款余额",enableShareAppMessage:!0}||{}))}},function(e){e.O(0,[3115,4295,8199,2107,1216,8592],(function(){return o=3279,e(e.s=o);var o}));e.O()}]); |