| 1 |
- {"code":"/*!\n * build: vue-admin-beautiful \n * copyright: chuzhixin 1204505056@qq.com \n * time: 2022-12-12 09:51:32\n */\n(window[\"webpackJsonp\"]=window[\"webpackJsonp\"]||[]).push([[\"chunk-4d77917e\"],{\"0908\":function(e,t,n){},\"0e55\":function(e,t,n){\"use strict\";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(\"ContainerQuery\",[e.$accessCheck(e.$Access.FunTransferAddAccountTransfer)?n(\"el-button\",{attrs:{slot:\"left\",size:\"small\",type:\"primary\"},on:{click:function(t){return e.$router.push(\"/Finance/Cashier/AddFunTransfer\")}},slot:\"left\"},[e._v(\" 新增 \")]):e._e(),n(\"div\",{attrs:{slot:\"more\"},slot:\"more\"},[n(\"el-form\",{staticClass:\"demo-form-inline\",attrs:{size:\"small\",inline:!0}},[n(\"el-form-item\",[n(\"el-input\",{staticStyle:{width:\"220px\"},attrs:{clearable:\"\",placeholder:\"单据编号\"},on:{clear:function(t){return e.pageChange(1)}},nativeOn:{keyup:function(t){return!t.type.indexOf(\"key\")&&e._k(t.keyCode,\"enter\",13,t.key,\"Enter\")?null:e.pageChange(1)}},model:{value:e.no,callback:function(t){e.no=t},expression:\"no\"}},[n(\"el-button\",{attrs:{slot:\"append\",icon:\"el-icon-search\"},on:{click:function(t){return e.pageChange(1)}},slot:\"append\"})],1)],1),n(\"el-form-item\",[n(\"el-date-picker\",{attrs:{clearable:\"\",type:\"daterange\",\"value-format\":\"timestamp\",\"range-separator\":\"-\",\"start-placeholder\":\"开始日期\",\"end-placeholder\":\"结束日期\"},on:{change:e.orderDate},model:{value:e.time,callback:function(t){e.time=t},expression:\"time\"}})],1),n(\"el-form-item\",[n(\"el-input\",{staticStyle:{width:\"150px\"},attrs:{clearable:\"\",placeholder:\"付款账户\"},on:{clear:function(t){return e.AccountClear(\"out\")}},model:{value:e.outAccountNumber,callback:function(t){e.outAccountNumber=t},expression:\"outAccountNumber\"}},[n(\"i\",{staticClass:\"el-input__icon el-icon-search\",attrs:{slot:\"suffix\"},on:{click:function(t){return e.transferAccount(\"out\")}},slot:\"suffix\"})])],1),n(\"el-form-item\",[n(\"el-input\",{staticStyle:{width:\"150px\"},attrs:{clearable:\"\",placeholder:\"收款账户\"},on:{clear:function(t){return e.AccountClear(\"inAccount\")}},model:{value:e.inAccountNumber,callback:function(t){e.inAccountNumber=t},expression:\"inAccountNumber\"}},[n(\"i\",{staticClass:\"el-input__icon el-icon-search\",attrs:{slot:\"suffix\"},on:{click:function(t){return e.inferAccount(\"in\")}},slot:\"suffix\"})])],1)],1)],1),n(\"el-table\",{attrs:{data:e.tableData}},[n(\"el-table-column\",{attrs:{prop:\"id\",label:\"ID\",fixed:\"left\",\"min-width\":\"50\",align:\"left\"}}),n(\"el-table-column\",{attrs:{prop:\"no\",label:\"单据编号\",align:\"left\",\"min-width\":\"180\",fixed:\"left\"}}),n(\"el-table-column\",{attrs:{prop:\"createTime\",label:\"单据日期\",align:\"left\",\"min-width\":\"120\"},scopedSlots:e._u([{key:\"default\",fn:function(t){return[e._v(\" \"+e._s(e.$_common.formatDate(t.row.createTime,\"yyyy-MM-dd\")||\"\")+\" \")]}}])}),n(\"el-table-column\",{attrs:{prop:\"outAccountNumber\",label:\"转出账户\",align:\"left\",\"min-width\":\"180\"},scopedSlots:e._u([{key:\"default\",fn:function(t){return[e._v(\" \"+e._s(t.row.records[0].outAccountNumber)+\" \")]}}])}),n(\"el-table-column\",{attrs:{prop:\"inAccountNumber\",label:\"转入账户\",align:\"left\",\"min-width\":\"180\"},scopedSlots:e._u([{key:\"default\",fn:function(t){return[e._v(\" \"+e._s(t.row.records[0].inAccountNumber)+\" \")]}}])}),e.moneyFlag?n(\"el-table-column\",{attrs:{prop:\"money\",align:\"left\",label:\"金额\",\"min-width\":\"100\"},scopedSlots:e._u([{key:\"default\",fn:function(t){return[e._v(\" \"+e._s(e.$_common.formattedNumber(t.row.records[0].money))+\" \")]}}],null,!1,1960537415)}):e._e(),e.totalFlag?n(\"el-table-column\",{attrs:{prop:\"totalMoney\",label:\"合计金额\",align:\"left\",\"min-width\":\"100\"},scopedSlots:e._u([{key:\"default\",fn:function(t){return[e._v(\" \"+e._s(e.$_common.formattedNumber(t.row.totalMoney))+\" \")]}}],null,!1,3214581091)}):e._e(),e.preparedByFlag?n(\"el-table-column\",{attrs:{prop:\"operatorName\",label:\"制单人\",align:\"left\",\"min-width\":\"110\"}}):e._e(),e.remarkFlag?n(\"el-table-column\",{attrs:{prop:\"remark\",label:\"备注\",\"show-overflow-tooltip\":\"\",align:\"left\",\"min-width\":\"120\"},scopedSlots:e._u([{key:\"default\",fn:function(t){return[e._v(\" \"+e._s(t.row.records[0].remark)+\" \")]}}],null,!1,1259851705)}):e._e(),e.stateFlag?n(\"el-table-column\",{attrs:{prop:\"auditStatus\",label:\"状态\",align:\"left\",\"min-width\":\"80\"},scopedSlots:e._u([{key:\"default\",fn:function(t){return[1===t.row.auditStatus?n(\"span\",{staticClass:\"info-status\"},[e._v(\" 待审核 \")]):n(\"span\",{staticClass:\"success-status\"},[e._v(\"已审核\")])]}}],null,!1,2575528467)}):e._e(),n(\"el-table-column\",{attrs:{\"header-align\":\"left\",align:\"left\",label:\"操作\",\"min-width\":\"160\",fixed:\"right\"},scopedSlots:e._u([{key:\"header\",fn:function(t){return[e._e(),n(\"span\",[e._v(\"操作\")]),n(\"el-popover\",{attrs:{\"popper-class\":\"custom-table-checkbox\",trigger:\"click\"}},[n(\"el-checkbox-group\",{model:{value:e.checkList,callback:function(t){e.checkList=t},expression:\"checkList\"}},e._l(e.columns,(function(t,a){return n(\"el-checkbox\",{key:a,attrs:{label:t.label},on:{change:e.change}})})),1),n(\"el-button\",{attrs:{slot:\"reference\",icon:\"el-icon-setting\",type:\"text\"},slot:\"reference\"})],1)]}},{key:\"default\",fn:function(t){return[e.$accessCheck(e.$Access.AccountListEditAccountTransfer)?n(\"el-button\",{attrs:{disabled:2===t.row.auditStatus,type:\"text\"},on:{click:function(n){return e.$router.push(\"/Finance/Cashier/EditFunTransfer/\"+t.row.id)}}},[e._v(\" 编辑 \")]):e._e(),e.$accessCheck(e.$Access.FunTransferUpdateAccountTransferStatus)?n(\"el-button\",{attrs:{disabled:2===t.row.auditStatus,type:\"text\"},on:{click:function(n){return e.updateStatus(t.row)}}},[e._v(\" 审核 \")]):e._e()]}}])})],1),n(\"FooterPage\",{attrs:{\"page-size\":e.pageSize,\"total-page\":e.total,\"current-page\":e.page},on:{\"update:totalPage\":function(t){e.total=t},\"update:total-page\":function(t){e.total=t},\"update:currentPage\":function(t){e.page=t},\"update:current-page\":function(t){e.page=t},pageChange:e.pageChange,sizeChange:e.sizeChange}}),e.account_show?n(\"AccountType\",{attrs:{\"is-check\":!1,\"is-show\":e.account_show},on:{cancel:function(t){e.account_show=!1},confirm:e.selAccount}}):e._e()],1)},c=[],u=n(\"ef98\"),o=n(\"d099\"),r={name:\"FunTransfer\",components:{AccountType:u[\"default\"]},data(){return{account_show:!1,inAccountName:\"\",outAccountName:\"\",inAccountNumber:\"\",outAccountNumber:\"\",time:\"\",inAccountId:\"\",outAccountId:\"\",no:\"\",start:\"\",end:\"\",tableData:[],total:0,page:1,accountName:\"\",pageSize:10,checkList:[\"金额\",\"合计金额\",\"制单人\",\"备注\",\"状态\"],columns:[{label:\"金额\"},{label:\"合计金额\"},{label:\"制单人\"},{label:\"备注\"},{label:\"状态\"}],moneyFlag:!0,totalFlag:!0,preparedByFlag:!0,remarkFlag:!0,stateFlag:!0}},created(){this.pageChange(1)},activated(){this.$_isInit()||this.getAllAccountTransfer()},methods:{async getAllAccountTransfer(){const{data:e,pageTotal:t}=await Object(o[\"getAllAccountTransfer\"])({page:this.page,pageSize:this.pageSize,start:this.start,end:this.end,inAccountId:this.inAccountId,outAccountId:this.outAccountId,no:this.no});this.tableData=e,this.total=t},updateStatus(e){this.$confirm(\"确定要审核此账单\",\"提示\",{confirmButtonText:\"确定\",cancelButtonClass:\"取消\",type:\"warning\"}).then(async()=>{await Object(o[\"updateAccountTransferStatus\"])(e.id);this.getAllAccountTransfer(),this.$message({type:\"success\",message:\"审核成功\"})})},transferAccount(e){this.accountName=e,this.account_show=!0},inferAccount(e){this.accountName=e,this.account_show=!0},AccountClear(e){\"out\"===e?(this.outAccountId=\"\",this.outAccountNumber=\"\",this.outAccountName=\"\",this.pageChange(1)):(this.inAccountId=\"\",this.inAccountNumber=\"\",this.inAccountName=\"\",this.pageChange(1))},selAccount(e){return\"out\"===this.accountName?(this.outAccountId=e[0].id,this.outAccountNumber=e[0].accountNumber,this.outAccountName=e[0].name,void this.pageChange(1)):\"in\"===this.accountName?(this.inAccountId=e[0].id,this.inAccountNumber=e[0].accountNumber,this.inAccountName=e[0].name,void this.pageChange(1)):void 0},orderDate(e){e&&e.length?(this.start=e[0]/1e3,this.end=e[1]/1e3+86399):(this.start=\"\",this.end=\"\"),this.pageChange(1)},pageChange(e){this.page=e,this.getAllAccountTransfer()},sizeChange(e){this.pageSize=e,this.pageChange(1)},change(){this.moneyFlag=this.checkList.some(e=>\"金额\"===e),this.totalFlag=this.checkList.some(e=>\"合计金额\"===e),this.preparedByFlag=this.checkList.some(e=>\"制单人\"===e),this.remarkFlag=this.checkList.some(e=>\"备注\"===e),this.stateFlag=this.checkList.some(e=>\"状态\"===e)}}},i=r,l=(n(\"4f24\"),n(\"2877\")),d=Object(l[\"a\"])(i,a,c,!1,null,\"27eb0c2d\",null);t[\"default\"]=d.exports},\"4a22\":function(e,t,n){},\"4f24\":function(e,t,n){\"use strict\";n(\"4a22\")},d099:function(e,t,n){\"use strict\";n.r(t),n.d(t,\"addFinanceType\",(function(){return c})),n.d(t,\"editFinanceType\",(function(){return u})),n.d(t,\"delFinanceType\",(function(){return o})),n.d(t,\"getAllFinanceType\",(function(){return r})),n.d(t,\"getAllFinanceTypeNoPage\",(function(){return i})),n.d(t,\"updateFinanceTypeStatus\",(function(){return l})),n.d(t,\"updateFinanceTypeDefaultStatus\",(function(){return d})),n.d(t,\"getAllReceive\",(function(){return s})),n.d(t,\"exportGetAllReceive\",(function(){return f})),n.d(t,\"searchAllReceive\",(function(){return p})),n.d(t,\"exportSearchAllReceive\",(function(){return h})),n.d(t,\"getReceiveInfo\",(function(){return m})),n.d(t,\"updateReceiveStatus\",(function(){return g})),n.d(t,\"getReceivedByOrder\",(function(){return b})),n.d(t,\"getAllPay\",(function(){return A})),n.d(t,\"exportGetAllPay\",(function(){return F})),n.d(t,\"searchPay\",(function(){return y})),n.d(t,\"exportSearchPay\",(function(){return O})),n.d(t,\"updatePayStatus\",(function(){return T})),n.d(t,\"getPayInfo\",(function(){return S})),n.d(t,\"addAccount\",(function(){return R})),n.d(t,\"getAllAccount\",(function(){return v})),n.d(t,\"editAccount\",(function(){return j})),n.d(t,\"delAccount\",(function(){return _})),n.d(t,\"updateAccountDefaultStatus\",(function(){return w})),n.d(t,\"updateAccountStatus\",(function(){return k})),n.d(t,\"getAccountInfo\",(function(){return x})),n.d(t,\"getAllAccountDetail\",(function(){return C})),n.d(t,\"addReceived\",(function(){return P})),n.d(t,\"deleteReceived\",(function(){return N})),n.d(t,\"exportsgetAllReceived\",(function(){return D})),n.d(t,\"getAllReceived\",(function(){return I})),n.d(t,\"getReceivedInfo\",(function(){return B})),n.d(t,\"updateReceivedStatus\",(function(){return E})),n.d(t,\"updateReceiptRequisitionStatus\",(function(){return $})),n.d(t,\"getTempReceivedData\",(function(){return z})),n.d(t,\"ReceivedSearch\",(function(){return q})),n.d(t,\"editReceived\",(function(){return L})),n.d(t,\"addPaid\",(function(){return M})),n.d(t,\"searchPaid\",(function(){return G})),n.d(t,\"getAllPaid\",(function(){return J})),n.d(t,\"exportsgetAllPaid\",(function(){return Q})),n.d(t,\"getPaidInfo\",(function(){return U})),n.d(t,\"updatePaidStatus\",(function(){return H})),n.d(t,\"getTempPaidData\",(function(){return K})),n.d(t,\"editPaid\",(function(){return V})),n.d(t,\"getAllCustomerBalance\",(function(){return W})),n.d(t,\"exportgetAllCustomerBalance\",(function(){return X})),n.d(t,\"getAllCustomerBalanceDetail\",(function(){return Y})),n.d(t,\"exportgetAllCustomerBalanceDetail\",(function(){return Z})),n.d(t,\"getAllSupplierBalance\",(function(){return ee})),n.d(t,\"exportGetAllSupplierBalance\",(function(){return te})),n.d(t,\"exportgetAllSupplierBalanceDetail\",(function(){return ne})),n.d(t,\"getAllSupplierBalanceDetail\",(function(){return ae})),n.d(t,\"addAccountTransfer\",(function(){return ce})),n.d(t,\"getAccountTransferInfo\",(function(){return ue})),n.d(t,\"editAccountTransfer\",(function(){return oe})),n.d(t,\"getAllAccountTransfer\",(function(){return re})),n.d(t,\"updateAccountTransferStatus\",(function(){return ie})),n.d(t,\"getTempAccountTransferData\",(function(){return le})),n.d(t,\"getTodayStatistics\",(function(){return de})),n.d(t,\"getAllReceiptRequisition\",(function(){return se})),n.d(t,\"addReceiptRequisition\",(function(){return fe})),n.d(t,\"editReceiptRequisition\",(function(){return pe})),n.d(t,\"getReceiptRequisitionInfo\",(function(){return he})),n.d(t,\"getAllAccountType\",(function(){return me})),n.d(t,\"addAccountType\",(function(){return ge})),n.d(t,\"delAccountType\",(function(){return be})),n.d(t,\"getAccountTypeInfo\",(function(){return Ae})),n.d(t,\"editAccountType\",(function(){return Fe})),n.d(t,\"getAllExpenseSingle\",(function(){return ye})),n.d(t,\"addExpenseSingle\",(function(){return Oe})),n.d(t,\"getExpenseSingleInfo\",(function(){return Te})),n.d(t,\"editExpenseSingle\",(function(){return Se})),n.d(t,\"delExpenseSingle\",(function(){return Re})),n.d(t,\"updateExpenseStatus\",(function(){return ve})),n.d(t,\"getAllRefund\",(function(){return je})),n.d(t,\"addRefund\",(function(){return _e})),n.d(t,\"getRefundInfo\",(function(){return we})),n.d(t,\"editRefund\",(function(){return ke})),n.d(t,\"updateRefundStatus\",(function(){return xe})),n.d(t,\"getAllReceivedOffset\",(function(){return Ce})),n.d(t,\"getAllPaidOffset\",(function(){return Pe}));var a=n(\"b775\");function c(e){return Object(a[\"default\"])({url:\"/Finance/FinanceType/addFinanceType\",method:\"post\",data:e})}function u(e,t){return Object(a[\"default\"])({url:\"/Finance/FinanceType/editFinanceType/\"+e,method:\"put\",data:t})}function o(e,t){return Object(a[\"default\"])({url:\"/Finance/FinanceType/delFinanceType/\"+e,method:\"delete\",data:t})}function r(e){return Object(a[\"default\"])({url:\"/Finance/FinanceType/getAllFinanceType\",method:\"post\",data:e})}function i(e,t){return Object(a[\"default\"])({url:\"/Finance/FinanceType/getAllFinanceTypeNoPage/\"+e,method:\"post\",data:t})}function l(e){return Object(a[\"default\"])({url:\"/Finance/FinanceType/updateFinanceTypeStatus\",method:\"post\",data:e})}function d(e){return Object(a[\"default\"])({url:\"/Finance/FinanceType/updateFinanceTypeDefaultStatus\",method:\"post\",data:e})}function s(e){return Object(a[\"default\"])({url:\"/Finance/Receive/getAllReceive\",method:\"post\",data:e})}function f(e){return Object(a[\"default\"])({url:\"/Finance/Receive/getAllReceive\",responseType:\"blob\",method:\"post\",data:e})}function p(e){return Object(a[\"default\"])({url:\"/Finance/Receive/search\",method:\"post\",data:e})}function h(e){return Object(a[\"default\"])({url:\"/Finance/Receive/search\",responseType:\"blob\",method:\"post\",data:e})}function m(e){return Object(a[\"default\"])({url:\"/Finance/Receive/getReceiveInfo\",method:\"post\",data:e})}function g(e){return Object(a[\"default\"])({url:\"/Finance/Receive/updateReceiveStatus\",method:\"post\",data:e})}function b(e){return Object(a[\"default\"])({url:\"/Finance/Received/getReceivedByOrder\",method:\"post\",data:e})}function A(e){return Object(a[\"default\"])({url:\"/Finance/Pay/getAllPay\",method:\"post\",data:e})}function F(e){return Object(a[\"default\"])({url:\"/Finance/Pay/getAllPay\",responseType:\"blob\",method:\"post\",data:e})}function y(e){return Object(a[\"default\"])({url:\"/Finance/Pay/search\",method:\"post\",data:e})}function O(e){return Object(a[\"default\"])({url:\"/Finance/Pay/search\",responseType:\"blob\",method:\"post\",data:e})}function T(e){return Object(a[\"default\"])({url:\"/Finance/Pay/updatePayStatus\",method:\"post\",data:e})}function S(e){return Object(a[\"default\"])({url:\"/Finance/Pay/getPayInfo\",method:\"post\",data:e})}function R(e){return Object(a[\"default\"])({url:\"/Finance/Account/addAccount\",method:\"post\",data:e})}function v(e){return Object(a[\"default\"])({url:\"/Finance/Account/getAllAccount\",method:\"post\",data:e})}function j(e,t){return Object(a[\"default\"])({url:\"/Finance/Account/editAccount/\"+e,method:\"put\",data:t})}function _(e,t){return Object(a[\"default\"])({url:\"/Finance/Account/delAccount/\"+e,method:\"delete\",data:t})}function w(e){return Object(a[\"default\"])({url:\"/Finance/Account/updateAccountDefaultStatus\",method:\"post\",data:e})}function k(e){return Object(a[\"default\"])({url:\"/Finance/Account/updateAccountStatus\",method:\"post\",data:e})}function x(e,t){return Object(a[\"default\"])({url:\"/Finance/Account/getAccountInfo/\"+e,method:\"get\",data:t})}function C(e){return Object(a[\"default\"])({url:\"/Finance/AccountDetail/getAllAccountDetail\",method:\"post\",data:e})}function P(e){return Object(a[\"default\"])({url:\"/Finance/Received/addReceived\",method:\"post\",data:e})}function N(e,t){return Object(a[\"default\"])({url:\"/Finance/Received/deleteReceived/\"+e,method:\"delete\",data:t})}function D(e){return Object(a[\"default\"])({url:\"/Finance/Received/getAllReceived\",method:\"post\",responseType:\"blob\",data:e})}function I(e){return Object(a[\"default\"])({url:\"Finance/Received/getAllReceived\",method:\"post\",data:e})}function B(e){return Object(a[\"default\"])({url:\"/Finance/Received/getReceivedInfo\",method:\"post\",data:e})}function E(e){return Object(a[\"default\"])({url:\"/Finance/Received/updateReceivedStatus\",method:\"post\",data:e})}function $(e){return Object(a[\"default\"])({url:\"Finance/ReceiptRequisition/updateReceiptRequisitionStatus\",method:\"post\",data:e})}function z(e){return Object(a[\"default\"])({url:\"/Finance/Received/getTempReceivedData\",method:\"get\",data:e})}function q(e){return Object(a[\"default\"])({url:\"/Finance/Received/search\",method:\"post\",data:e})}function L(e,t){return Object(a[\"default\"])({url:\"/Finance/Received/editReceived/\"+e,method:\"post\",data:t})}function M(e){return Object(a[\"default\"])({url:\"/Finance/Paid/addPaid\",method:\"post\",data:e})}function G(e){return Object(a[\"default\"])({url:\"/Finance/Paid/search\",method:\"post\",data:e})}function J(e){return Object(a[\"default\"])({url:\"/Finance/Paid/getAllPaid\",method:\"post\",data:e})}function Q(e){return Object(a[\"default\"])({url:\"/Finance/Paid/getAllPaid\",method:\"post\",responseType:\"blob\",data:e})}function U(e){return Object(a[\"default\"])({url:\"/Finance/Paid/getPaidInfo\",method:\"post\",data:e})}function H(e){return Object(a[\"default\"])({url:\"/Finance/Paid/updatePaidStatus\",method:\"post\",data:e})}function K(e){return Object(a[\"default\"])({url:\"/Finance/Paid/getTempPaidData\",method:\"get\",data:e})}function V(e,t){return Object(a[\"default\"])({url:\"/Finance/Paid/editPaid/\"+e,method:\"post\",data:t})}function W(e){return Object(a[\"default\"])({url:\"/Finance/CustomerBalance/getAllCustomerBalance\",method:\"post\",data:e})}function X(e){return Object(a[\"default\"])({url:\"Finance/CustomerBalance/getAllCustomerBalance\",method:\"post\",responseType:\"blob\",data:e})}function Y(e){return Object(a[\"default\"])({url:\"/Finance/CustomerBalanceDetail/getAllCustomerBalanceDetail\",method:\"post\",data:e})}function Z(e){return Object(a[\"default\"])({url:\"/Finance/CustomerBalanceDetail/getAllCustomerBalanceDetail\",method:\"post\",responseType:\"blob\",data:e})}function ee(e){return Object(a[\"default\"])({url:\"/Finance/SupplierBalance/getAllSupplierBalance\",method:\"post\",data:e})}function te(e){return Object(a[\"default\"])({url:\"/Finance/SupplierBalance/getAllSupplierBalance\",method:\"post\",responseType:\"blob\",data:e})}function ne(e){return Object(a[\"default\"])({url:\"/Finance/SupplierBalanceDetail/getAllSupplierBalanceDetail\",method:\"post\",responseType:\"blob\",data:e})}function ae(e){return Object(a[\"default\"])({url:\"/Finance/SupplierBalanceDetail/getAllSupplierBalanceDetail\",method:\"post\",data:e})}function ce(e){return Object(a[\"default\"])({url:\"/Finance/AccountTransfer/addAccountTransfer\",method:\"post\",data:e})}function ue(e,t){return Object(a[\"default\"])({url:\"/Finance/AccountTransfer/getAccountTransferInfo/\"+e,method:\"get\",data:t})}function oe(e,t){return Object(a[\"default\"])({url:\"/Finance/AccountTransfer/editAccountTransfer/\"+e,method:\"put\",data:t})}function re(e){return Object(a[\"default\"])({url:\"/Finance/AccountTransfer/getAllAccountTransfer\",method:\"post\",data:e})}function ie(e,t){return Object(a[\"default\"])({url:\"/Finance/AccountTransfer/updateAccountTransferStatus/\"+e,method:\"put\",data:t})}function le(e){return Object(a[\"default\"])({url:\"/Finance/AccountTransfer/getTempAccountTransferData\",method:\"post\",data:e})}function de(e){return Object(a[\"default\"])({url:\"Finance/Account/getTodayStatistics\",method:\"post\",data:e})}function se(e){return Object(a[\"default\"])({url:\"Finance/ReceiptRequisition/getAllReceiptRequisition\",method:\"post\",data:e})}function fe(e){return Object(a[\"default\"])({url:\"Finance/ReceiptRequisition/addReceiptRequisition\",method:\"post\",data:e})}function pe(e,t){return Object(a[\"default\"])({url:\"Finance/ReceiptRequisition/editReceiptRequisition/\"+e,method:\"post\",data:t})}function he(e,t){return Object(a[\"default\"])({url:\"Finance/ReceiptRequisition/getReceiptRequisitionInfo/\"+e,method:\"get\",data:t})}function me(e){return Object(a[\"default\"])({url:\"Finance/AccountType/getAllAccountType\",method:\"post\",data:e})}function ge(e){return Object(a[\"default\"])({url:\"Finance/AccountType/addAccountType\",method:\"post\",data:e})}function be(e,t){return Object(a[\"default\"])({url:\"Finance/AccountType/delAccountType/\"+e,method:\"delete\",data:t})}function Ae(e,t){return Object(a[\"default\"])({url:\"Finance/AccountType/getAccountTypeInfo/\"+e,method:\"post\",data:t})}function Fe(e){return Object(a[\"default\"])({url:\"Finance/AccountType/editAccountType\",method:\"post\",data:e})}function ye(e){return Object(a[\"default\"])({url:\"Finance/ExpenseSingle/getAllExpenseSingle\",method:\"post\",data:e})}function Oe(e){return Object(a[\"default\"])({url:\"Finance/ExpenseSingle/addExpenseSingle\",method:\"post\",data:e})}function Te(e,t){return Object(a[\"default\"])({url:\"Finance/ExpenseSingle/getExpenseSingleInfo/\"+e,method:\"get\",data:t})}function Se(e,t){return Object(a[\"default\"])({url:\"Finance/ExpenseSingle/editExpenseSingle/\"+e,method:\"post\",data:t})}function Re(e,t){return Object(a[\"default\"])({url:\"Finance/ExpenseSingle/delExpenseSingle/\"+e,method:\"delete\",data:t})}function ve(e){return Object(a[\"default\"])({url:\"Finance/ExpenseSingle/updateExpenseStatus\",method:\"post\",data:e})}function je(e){return Object(a[\"default\"])({url:\"Finance/Refund/getAllRefund\",method:\"post\",data:e})}function _e(e){return Object(a[\"default\"])({url:\"Finance/Refund/addRefund\",method:\"post\",data:e})}function we(e){return Object(a[\"default\"])({url:\"Finance/Refund/getRefundInfo\",method:\"post\",data:e})}function ke(e,t){return Object(a[\"default\"])({url:\"Finance/Refund/editRefund/\"+e,method:\"post\",data:t})}function xe(e){return Object(a[\"default\"])({url:\"Finance/Refund/updateRefundStatus\",method:\"post\",data:e})}function Ce(e){return Object(a[\"default\"])({url:\"Finance/Received/getAllReceivedOffset\",method:\"post\",data:e})}function Pe(e){return Object(a[\"default\"])({url:\"Finance/Paid/getAllPaidOffset\",method:\"post\",data:e})}},d4b8:function(e,t,n){\"use strict\";n(\"0908\")},ef98:function(e,t,n){\"use strict\";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(\"el-dialog\",{attrs:{\"close-on-press-escape\":!1,\"close-on-click-modal\":!1,title:\"账户列表\",visible:e.isShow,width:\"60%\"},on:{close:e.cancel}},[n(\"el-table\",{attrs:{data:e.tableData,size:\"small\"},on:{\"row-dblclick\":e.dbSelect}},[n(\"el-table-column\",{attrs:{prop:\"accountCode\",label:\"账户编号\",\"min-width\":\"140\",fixed:\"left\"}}),n(\"el-table-column\",{attrs:{prop:\"name\",label:\"账户名称\",\"show-overflow-tooltip\":\"\",\"min-width\":\"120\"}}),n(\"el-table-column\",{attrs:{prop:\"accountNumber\",label:\"账户号\",\"show-overflow-tooltip\":\"\",\"min-width\":\"150\"}}),n(\"el-table-column\",{attrs:{prop:\"money\",label:\"当前余额\",\"min-width\":\"120\"},scopedSlots:e._u([{key:\"default\",fn:function(t){return[e._v(\" \"+e._s(e.$_common.formattedNumber(t.row.money))+\" \")]}}])}),n(\"el-table-column\",{attrs:{prop:\"createTime\",label:\"建账日期\",\"min-width\":\"160\"},scopedSlots:e._u([{key:\"default\",fn:function(t){return[e._v(\" \"+e._s(e.$_common.formatDate(t.row.createTime))+\" \")]}}])}),n(\"el-table-column\",{attrs:{prop:\"beginMoney\",label:\"期初余额\",\"min-width\":\"110\"},scopedSlots:e._u([{key:\"default\",fn:function(t){return[e._v(\" \"+e._s(e.$_common.formattedNumber(t.row.beginMoney))+\" \")]}}])}),n(\"el-table-column\",{attrs:{prop:\"shopName\",label:\"所属商铺\",\"show-overflow-tooltip\":\"\",\"min-width\":\"120\"}}),n(\"el-table-column\",{attrs:{label:\"选择\",fixed:\"right\",width:\"90\"},scopedSlots:e._u([{key:\"default\",fn:function(t){return[n(\"el-button\",{attrs:{icon:\"el-icon-check\",size:\"mini\",plain:\"\",type:\"primary\"},on:{click:function(n){return e.dbSelect(t.row)}}})]}}])})],1),n(\"FooterPage\",{attrs:{\"page-size\":e.pre_page,\"total-page\":e.total,\"current-page\":e.page},on:{\"update:totalPage\":function(t){e.total=t},\"update:total-page\":function(t){e.total=t},\"update:currentPage\":function(t){e.page=t},\"update:current-page\":function(t){e.page=t},pageChange:e.pageChange,sizeChange:e.sizeChange}}),e.isCheck?n(\"div\",{staticStyle:{width:\"100%\",\"border-top\":\"1px solid #eee\",\"padding-top\":\"10px\"},attrs:{slot:\"footer\"},slot:\"footer\"},[n(\"el-button\",{attrs:{size:\"small\",type:\"primary\"},on:{click:e.confirm}},[e._v(\"确定\")]),n(\"el-button\",{attrs:{size:\"small\"},on:{click:e.cancel}},[e._v(\"取消\")])],1):e._e()],1)},c=[],u=n(\"3c48\"),o=n(\"d099\"),r={name:\"NoShopIdAccount\",components:{FooterPage:u[\"default\"]},props:{isShow:{type:Boolean,default:!1},isCheck:{type:Boolean,default:!0}},data(){return{choose_data:[],clientList:[],tableData:[],pre_page:10,page:1,selectedIndex:null,total:0,loading:!1,pageLayout:\"total, prev, pager, next\",selectedClient:{}}},created(){this.getAllAccount()},methods:{async getAllAccount(){const{data:e,pageTotal:t}=await Object(o[\"getAllAccount\"])({page:this.page,pageSize:this.pre_page,enableStatus:5});this.tableData=e,this.total=t},dbSelect(e){this.choose_data=[e],this.$emit(\"confirm\",this.choose_data),this.cancel()},selectionChange(e){this.choose_data=e},confirm(){this.$emit(\"confirm\",this.choose_data),this.cancel()},cancel(){this.$emit(\"cancel\")},pageChange(e){this.page=e,this.getAllAccount()},sizeChange(e){this.pre_page=e,this.pageChange(1)}}},i=r,l=(n(\"d4b8\"),n(\"2877\")),d=Object(l[\"a\"])(i,a,c,!1,null,\"5c1c5288\",null);t[\"default\"]=d.exports}}]);","extractedComments":[]}
|