You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
12 KiB
1 lines
12 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1a0468a2"],{2801:function(t,e,n){"use strict";n.d(e,"f",(function(){return a})),n.d(e,"j",(function(){return i})),n.d(e,"v",(function(){return o})),n.d(e,"w",(function(){return l})),n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return u})),n.d(e,"x",(function(){return s})),n.d(e,"B",(function(){return f})),n.d(e,"z",(function(){return d})),n.d(e,"A",(function(){return m})),n.d(e,"y",(function(){return g})),n.d(e,"d",(function(){return p})),n.d(e,"c",(function(){return b})),n.d(e,"L",(function(){return _})),n.d(e,"n",(function(){return h})),n.d(e,"i",(function(){return v})),n.d(e,"g",(function(){return k})),n.d(e,"h",(function(){return w})),n.d(e,"r",(function(){return y})),n.d(e,"N",(function(){return x})),n.d(e,"K",(function(){return F})),n.d(e,"I",(function(){return C})),n.d(e,"G",(function(){return L})),n.d(e,"M",(function(){return $})),n.d(e,"J",(function(){return D})),n.d(e,"H",(function(){return V})),n.d(e,"m",(function(){return z})),n.d(e,"l",(function(){return S})),n.d(e,"k",(function(){return O})),n.d(e,"e",(function(){return T})),n.d(e,"q",(function(){return j})),n.d(e,"o",(function(){return E})),n.d(e,"O",(function(){return M})),n.d(e,"t",(function(){return I})),n.d(e,"s",(function(){return q})),n.d(e,"p",(function(){return P})),n.d(e,"P",(function(){return A})),n.d(e,"u",(function(){return B})),n.d(e,"F",(function(){return J})),n.d(e,"C",(function(){return N})),n.d(e,"D",(function(){return G})),n.d(e,"E",(function(){return H}));var r=n("0c6d");function a(t){return r["a"].get("user/extract/lst",t)}function i(t,e){return r["a"].post("user/extract/status/".concat(t),e)}function o(t){return r["a"].get("user/recharge/list",t)}function l(){return r["a"].get("user/recharge/total")}function c(t){return r["a"].get("bill/list",t)}function u(){return r["a"].get("bill/type")}function s(t){return r["a"].get("merchant/order/reconciliation/lst",t)}function f(t,e){return r["a"].post("merchant/order/reconciliation/status/".concat(t),e)}function d(t,e){return r["a"].get("merchant/order/reconciliation/".concat(t,"/order"),e)}function m(t,e){return r["a"].get("merchant/order/reconciliation/".concat(t,"/refund"),e)}function g(t){return r["a"].get("merchant/order/reconciliation/mark/".concat(t,"/form"))}function p(t){return r["a"].get("financial_record/list",t)}function b(t){return r["a"].get("financial_record/export",t)}function _(t){return r["a"].get("financial/export",t)}function h(t){return r["a"].get("bill/export",t)}function v(t){return r["a"].get("user/extract/export",t)}function k(t){return r["a"].get("user/extract/status_form/".concat(t))}function w(t){return r["a"].get("user/extract/detail/".concat(t))}function y(){return r["a"].get("version")}function x(t){return r["a"].get("config/".concat(t))}function F(t){return r["a"].get("financial/lst",t)}function C(){return r["a"].get("financial/title")}function L(t){return r["a"].get("financial/detail/".concat(t))}function $(t,e){return r["a"].post("financial/status/".concat(t),e)}function D(t){return r["a"].get("financial/mark/".concat(t,"/form"))}function V(t,e){return r["a"].post("financial/update/".concat(t),e)}function z(t){return r["a"].get("financial_record/lst",t)}function S(t,e){return r["a"].get("financial_record/detail/".concat(t),e)}function O(t){return r["a"].get("financial_record/title",t)}function T(t,e){return r["a"].get("financial_record/detail_export/".concat(t),e)}function j(t){return r["a"].get("financial_record/count",t)}function E(t){return r["a"].get("agreement/".concat(t))}function M(t,e){return r["a"].post("agreement/".concat(t),e)}function I(t){return r["a"].get("receipt/lst",t)}function q(t){return r["a"].get("receipt/detail/".concat(t))}function P(){return r["a"].get("profitsharing/config")}function A(t){return r["a"].post("profitsharing/config",t)}function B(t){return r["a"].get("financial_record/mer_lst",t)}function J(t,e){return r["a"].get("financial_record/mer_list/".concat(t),e)}function N(t,e){return r["a"].get("financial_record/mer_detail/".concat(t),e)}function G(t,e){return r["a"].get("financial_record/mer_excel/".concat(t),e)}function H(t,e){return r["a"].get("financial_record/mer_title/".concat(t),e)}},"6c77":function(t,e,n){},a921:function(t,e,n){"use strict";n("6c77")},c2c1:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"divBox"},[n("el-card",{staticClass:"box-card"},[n("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[n("div",{staticClass:"filter-container"},[n("el-form",{attrs:{inline:!0,size:"small"}},[n("el-form-item",{attrs:{label:"对账状态:"}},[n("el-select",{attrs:{placeholder:"请选择使用状态"},on:{change:function(e){return t.getList(1)}},model:{value:t.tableFrom.status,callback:function(e){t.$set(t.tableFrom,"status",e)},expression:"tableFrom.status"}},[n("el-option",{attrs:{label:"全部",value:""}}),t._v(" "),n("el-option",{attrs:{label:"未确认",value:"0"}}),t._v(" "),n("el-option",{attrs:{label:"已拒绝",value:"1"}}),t._v(" "),n("el-option",{attrs:{label:"已确认",value:"2"}})],1)],1),t._v(" "),n("el-form-item",{attrs:{label:"时间选择:"}},[n("el-date-picker",{staticStyle:{width:"280px"},attrs:{type:"daterange",align:"right","unlink-panels":"",format:"yyyy/MM/dd","value-format":"yyyy/MM/dd","range-separator":"-","picker-options":t.pickerOptions},on:{change:t.onchangeTime},model:{value:t.timeVal,callback:function(e){t.timeVal=e},expression:"timeVal"}})],1),t._v(" "),n("el-form-item",{attrs:{label:"关键字:"}},[n("el-input",{staticClass:"selWidth",attrs:{placeholder:"请输入管理员姓名/商户名称"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getList(1)}},model:{value:t.tableFrom.keyword,callback:function(e){t.$set(t.tableFrom,"keyword",e)},expression:"tableFrom.keyword"}})],1),t._v(" "),n("el-form-item",[n("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(e){return t.getList(1)}}},[t._v("查询")])],1)],1)],1)]),t._v(" "),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticClass:"table",staticStyle:{width:"100%"},attrs:{data:t.tableData.data,size:"mini","highlight-current-row":""}},[n("el-table-column",{attrs:{type:"expand"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-form",{staticClass:"demo-table-expand",attrs:{"label-position":"left",inline:""}},[n("el-form-item",{attrs:{label:"银行卡持卡人:"}},[n("span",[t._v(t._s(t._f("filterEmpty")(e.row.bank_name)))])]),t._v(" "),n("el-form-item",{attrs:{label:"开户行地址:"}},[n("span",[t._v(t._s(t._f("filterEmpty")(e.row.bank_address)))])]),t._v(" "),n("el-form-item",{attrs:{label:"转账时间:"}},[n("span",[t._v(t._s(t._f("filterEmpty")(e.row.accounts_time)))])]),t._v(" "),n("el-form-item",{attrs:{label:"备注:"}},[n("span",[t._v(t._s(t._f("filterEmpty")(e.row.admin_mark)))])])],1)]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"reconciliation_id",label:"ID",width:"60"}}),t._v(" "),n("el-table-column",{attrs:{prop:"admin.real_name",label:"后台管理员","min-width":"100"}}),t._v(" "),n("el-table-column",{attrs:{prop:"merchant.mer_name",label:"商户名称","min-width":"150"}}),t._v(" "),n("el-table-column",{attrs:{label:"对账状态","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("reconciliationStatusFilter")(e.row.status)))])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"price",label:"对账总金额","min-width":"120"}}),t._v(" "),n("el-table-column",{attrs:{prop:"charge",label:"总扣除金额","min-width":"120"}}),t._v(" "),n("el-table-column",{attrs:{prop:"bank",label:"开户行","min-width":"180"}}),t._v(" "),n("el-table-column",{attrs:{label:"银行卡号","min-width":"150",prop:"bank_number"}}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"转账状态","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("accountStatusFilter")(e.row.is_accounts)))])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"操作","min-width":"180",fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("router-link",{staticClass:"mr5",attrs:{to:{path:t.roterPre+"/accounts/reconciliation/order/"+e.row.reconciliation_id+"/0"}}},[n("el-button",{attrs:{type:"text",size:"small"}},[t._v("查看订单")])],1),t._v(" "),2===e.row.status?n("el-button",{attrs:{type:"text",size:"small"},on:{click:function(n){return t.onAccounts(e.row.reconciliation_id)}}},[t._v("确认转账")]):t._e(),t._v(" "),n("el-button",{attrs:{type:"text",size:"small"},on:{click:function(n){return t.onMark(e.row.reconciliation_id)}}},[t._v("备注")])]}}])})],1),t._v(" "),n("div",{staticClass:"block mb20"},[n("el-pagination",{attrs:{background:"","page-size":t.tableFrom.limit,"current-page":t.tableFrom.page,layout:"total, prev, pager, next, jumper",total:t.tableData.total},on:{"size-change":t.handleSizeChange,"current-change":t.pageChange}})],1)],1),t._v(" "),n("el-dialog",{attrs:{title:"请选择转账状态",visible:t.dialogVisible,width:"450px","before-close":t.handleClose},on:{"update:visible":function(e){t.dialogVisible=e}}},[n("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:t.ruleForm,rules:t.rules,"label-width":"100px"}},[n("el-form-item",{attrs:{label:"转账状态",prop:"status"}},[n("el-radio-group",{model:{value:t.ruleForm.status,callback:function(e){t.$set(t.ruleForm,"status",e)},expression:"ruleForm.status"}},[n("el-radio",{attrs:{label:"1"}},[t._v("已转账")]),t._v(" "),n("el-radio",{attrs:{label:"2"}},[t._v("未转帐")])],1)],1),t._v(" "),n("el-form-item",[n("el-button",{attrs:{type:"primary",loading:t.loading},on:{click:function(e){return t.submitForm("ruleForm")}}},[t._v("提交")])],1)],1)],1)],1)},a=[],i=n("2801"),o=n("83d6"),l={name:"Record",data:function(){return{loading:!1,roterPre:o["roterPre"],timeVal:[],pickerOptions:{shortcuts:[{text:"最近一周",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.getTime()-6048e5),t.$emit("pick",[n,e])}},{text:"最近一个月",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.getTime()-2592e6),t.$emit("pick",[n,e])}},{text:"最近三个月",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.getTime()-7776e6),t.$emit("pick",[n,e])}}]},listLoading:!0,tableData:{data:[],total:0},tableFrom:{page:1,limit:10,date:"",status:"",keyword:"",reconciliation_id:this.$route.query.reconciliation_id?this.$route.query.reconciliation_id:""},ruleForm:{status:"2"},dialogVisible:!1,rules:{status:[{required:!0,message:"请选择转账状态",trigger:"change"}]},reconciliationId:0}},mounted:function(){this.getList()},methods:{onMark:function(t){var e=this;this.$modalForm(Object(i["y"])(t)).then((function(){return e.getList()}))},onAccounts:function(t){this.reconciliationId=t,this.dialogVisible=!0},handleClose:function(){this.dialogVisible=!1,this.$refs["ruleForm"].resetFields()},submitForm:function(t){var e=this;this.$refs[t].validate((function(t){if(!t)return!1;e.loading=!0,Object(i["B"])(e.reconciliationId,e.ruleForm).then((function(t){e.$message.success(t.message),e.loading=!1,e.handleClose(),e.getList()})).catch((function(t){e.$message.error(t.message),e.loading=!1}))}))},onchangeTime:function(t){this.timeVal=t,this.tableFrom.date=this.timeVal?this.timeVal.join("-"):"",this.tableFrom.page=1,this.getList()},getList:function(t){var e=this;this.listLoading=!0,this.tableFrom.page=t||this.tableFrom.page,Object(i["x"])(this.tableFrom).then((function(t){e.tableData.data=t.data.list,e.tableData.total=t.data.count,e.listLoading=!1})).catch((function(t){e.listLoading=!1,e.$message.error(t.message)}))},pageChange:function(t){this.tableFrom.page=t,this.getList()},handleSizeChange:function(t){this.tableFrom.limit=t,this.chkName="",this.getList()}}},c=l,u=(n("a921"),n("2877")),s=Object(u["a"])(c,r,a,!1,null,"d86f2d54",null);e["default"]=s.exports}}]); |