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
25 KiB
1 lines
25 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-101a9de9"],{"0b65":function(t,e,a){"use strict";e["a"]={shortcuts:[{text:"今天",onClick:function(t){var e=new Date,a=new Date;a.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate())),t.$emit("pick",[a,e])}},{text:"昨天",onClick:function(t){var e=new Date,a=new Date;a.setTime(a.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-1))),e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-1))),t.$emit("pick",[a,e])}},{text:"最近7天",onClick:function(t){var e=new Date,a=new Date;a.setTime(a.getTime()-6048e5),t.$emit("pick",[a,e])}},{text:"最近30天",onClick:function(t){var e=new Date,a=new Date;a.setTime(a.getTime()-2592e6),t.$emit("pick",[a,e])}},{text:"本月",onClick:function(t){var e=new Date,a=new Date;a.setTime(a.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),1))),t.$emit("pick",[a,e])}},{text:"本年",onClick:function(t){var e=new Date,a=new Date;a.setTime(a.setTime(new Date((new Date).getFullYear(),0,1))),t.$emit("pick",[a,e])}}]}},2801:function(t,e,a){"use strict";a.d(e,"f",(function(){return r})),a.d(e,"j",(function(){return i})),a.d(e,"v",(function(){return s})),a.d(e,"w",(function(){return l})),a.d(e,"a",(function(){return c})),a.d(e,"b",(function(){return o})),a.d(e,"x",(function(){return u})),a.d(e,"B",(function(){return f})),a.d(e,"z",(function(){return d})),a.d(e,"A",(function(){return m})),a.d(e,"y",(function(){return _})),a.d(e,"d",(function(){return v})),a.d(e,"c",(function(){return p})),a.d(e,"L",(function(){return g})),a.d(e,"n",(function(){return b})),a.d(e,"i",(function(){return h})),a.d(e,"g",(function(){return y})),a.d(e,"h",(function(){return w})),a.d(e,"r",(function(){return D})),a.d(e,"N",(function(){return x})),a.d(e,"K",(function(){return k})),a.d(e,"I",(function(){return C})),a.d(e,"G",(function(){return F})),a.d(e,"M",(function(){return L})),a.d(e,"J",(function(){return $})),a.d(e,"H",(function(){return V})),a.d(e,"m",(function(){return S})),a.d(e,"l",(function(){return z})),a.d(e,"k",(function(){return O})),a.d(e,"e",(function(){return T})),a.d(e,"q",(function(){return j})),a.d(e,"o",(function(){return M})),a.d(e,"O",(function(){return P})),a.d(e,"t",(function(){return R})),a.d(e,"s",(function(){return J})),a.d(e,"p",(function(){return W})),a.d(e,"P",(function(){return B})),a.d(e,"u",(function(){return E})),a.d(e,"F",(function(){return Y})),a.d(e,"C",(function(){return q})),a.d(e,"D",(function(){return H})),a.d(e,"E",(function(){return N}));var n=a("0c6d");function r(t){return n["a"].get("user/extract/lst",t)}function i(t,e){return n["a"].post("user/extract/status/".concat(t),e)}function s(t){return n["a"].get("user/recharge/list",t)}function l(){return n["a"].get("user/recharge/total")}function c(t){return n["a"].get("bill/list",t)}function o(){return n["a"].get("bill/type")}function u(t){return n["a"].get("merchant/order/reconciliation/lst",t)}function f(t,e){return n["a"].post("merchant/order/reconciliation/status/".concat(t),e)}function d(t,e){return n["a"].get("merchant/order/reconciliation/".concat(t,"/order"),e)}function m(t,e){return n["a"].get("merchant/order/reconciliation/".concat(t,"/refund"),e)}function _(t){return n["a"].get("merchant/order/reconciliation/mark/".concat(t,"/form"))}function v(t){return n["a"].get("financial_record/list",t)}function p(t){return n["a"].get("financial_record/export",t)}function g(t){return n["a"].get("financial/export",t)}function b(t){return n["a"].get("bill/export",t)}function h(t){return n["a"].get("user/extract/export",t)}function y(t){return n["a"].get("user/extract/status_form/".concat(t))}function w(t){return n["a"].get("user/extract/detail/".concat(t))}function D(){return n["a"].get("version")}function x(t){return n["a"].get("config/".concat(t))}function k(t){return n["a"].get("financial/lst",t)}function C(){return n["a"].get("financial/title")}function F(t){return n["a"].get("financial/detail/".concat(t))}function L(t,e){return n["a"].post("financial/status/".concat(t),e)}function $(t){return n["a"].get("financial/mark/".concat(t,"/form"))}function V(t,e){return n["a"].post("financial/update/".concat(t),e)}function S(t){return n["a"].get("financial_record/lst",t)}function z(t,e){return n["a"].get("financial_record/detail/".concat(t),e)}function O(t){return n["a"].get("financial_record/title",t)}function T(t,e){return n["a"].get("financial_record/detail_export/".concat(t),e)}function j(t){return n["a"].get("financial_record/count",t)}function M(t){return n["a"].get("agreement/".concat(t))}function P(t,e){return n["a"].post("agreement/".concat(t),e)}function R(t){return n["a"].get("receipt/lst",t)}function J(t){return n["a"].get("receipt/detail/".concat(t))}function W(){return n["a"].get("profitsharing/config")}function B(t){return n["a"].post("profitsharing/config",t)}function E(t){return n["a"].get("financial_record/mer_lst",t)}function Y(t,e){return n["a"].get("financial_record/mer_list/".concat(t),e)}function q(t,e){return n["a"].get("financial_record/mer_detail/".concat(t),e)}function H(t,e){return n["a"].get("financial_record/mer_excel/".concat(t),e)}function N(t,e){return n["a"].get("financial_record/mer_title/".concat(t),e)}},3932:function(t,e,a){"use strict";a("b7fc")},a503:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"divBox"},[a("div",{staticClass:"selCard mb14"},[a("el-form",{ref:"searchForm",attrs:{model:t.tableFrom,size:"small",inline:"","label-width":"85px"}},[a("el-form-item",{attrs:{label:"时间选择:"}},[a("el-date-picker",{staticStyle:{width:"280px"},attrs:{"value-format":"yyyy/MM/dd",format:"yyyy/MM/dd",size:"small",type:"daterange",placement:"bottom-end",placeholder:"自定义时间","picker-options":t.pickerOptions},on:{change:t.onchangeTime},model:{value:t.timeVal,callback:function(e){t.timeVal=e},expression:"timeVal"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"审核状态:",prop:"status"}},[a("el-select",{staticClass:"selWidth",attrs:{clearable:"",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"}},[a("el-option",{attrs:{label:"全部",value:""}}),t._v(" "),a("el-option",{attrs:{label:"待审核",value:"0"}}),t._v(" "),a("el-option",{attrs:{label:"已审核",value:"1"}}),t._v(" "),a("el-option",{attrs:{label:"审核失败",value:"-1"}})],1)],1),t._v(" "),a("el-form-item",{attrs:{label:"商户名称:",prop:"mer_id"}},[a("el-select",{staticClass:"selWidth",attrs:{clearable:"",filterable:"",placeholder:"请选择"},on:{change:function(e){return t.getList(1)}},model:{value:t.tableFrom.mer_id,callback:function(e){t.$set(t.tableFrom,"mer_id",e)},expression:"tableFrom.mer_id"}},t._l(t.merSelect,(function(t){return a("el-option",{key:t.mer_id,attrs:{label:t.mer_name,value:t.mer_id}})})),1)],1),t._v(" "),a("el-form-item",{attrs:{label:"商户类别:",prop:"is_trader"}},[a("el-select",{staticClass:"selWidth",attrs:{clearable:"",placeholder:"请选择"},on:{change:function(e){return t.getList(1)}},model:{value:t.tableFrom.is_trader,callback:function(e){t.$set(t.tableFrom,"is_trader",e)},expression:"tableFrom.is_trader"}},[a("el-option",{attrs:{label:"自营",value:"1"}}),t._v(" "),a("el-option",{attrs:{label:"非自营",value:"0"}})],1)],1),t._v(" "),a("el-form-item",{attrs:{label:"收款方式:",prop:"financial_type"}},[a("el-select",{staticClass:"selWidth",attrs:{clearable:"",placeholder:"请选择"},on:{change:function(e){return t.getList(1)}},model:{value:t.tableFrom.financial_type,callback:function(e){t.$set(t.tableFrom,"financial_type",e)},expression:"tableFrom.financial_type"}},[a("el-option",{attrs:{label:"全部",value:""}}),t._v(" "),a("el-option",{attrs:{label:"银行卡",value:"1"}}),t._v(" "),a("el-option",{attrs:{label:"支付宝",value:"3"}}),t._v(" "),a("el-option",{attrs:{label:"微信",value:"2"}})],1)],1),t._v(" "),a("el-form-item",{attrs:{label:"转账状态:",prop:"financial_status"}},[a("el-select",{staticClass:"selWidth",attrs:{placeholder:"请选择",clearable:""},on:{change:t.getList},model:{value:t.tableFrom.financial_status,callback:function(e){t.$set(t.tableFrom,"financial_status",e)},expression:"tableFrom.financial_status"}},t._l(t.arrivalStatusList,(function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),t._v(" "),a("el-form-item",{attrs:{label:"关键字:",prop:"keyword"}},[a("el-input",{staticClass:"selWidth",attrs:{placeholder:"请输入管理员姓名",size:"small"},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(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(e){return t.getList(1)}}},[t._v("搜索")]),t._v(" "),a("el-button",{attrs:{size:"small"},on:{click:function(e){return t.searchReset()}}},[t._v("重置")])],1)],1)],1),t._v(" "),t.cardLists.length>0?a("cards-data",{attrs:{"card-lists":t.cardLists}}):t._e(),t._v(" "),a("el-card",[a("div",{staticClass:"mb20"},[a("el-button",{attrs:{size:"small",type:"primary"},on:{click:t.exports}},[t._v("导出列表")])],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticClass:"table",attrs:{"tooltip-effect":"dark",data:t.tableData.data,size:"small"}},[a("el-table-column",{attrs:{label:"序号","min-width":"60"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.$index+(t.tableFrom.page-1)*t.tableFrom.limit+1))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"mer_name",label:"商户类别","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.merchant?a("span",{staticClass:"spBlock"},[t._v(t._s(e.row.merchant.is_trader?"自营":"非自营"))]):t._e()]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"商户名称","min-width":"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.merchant?e.row.merchant.mer_name:""))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"create_time",label:"申请时间","min-width":"150"}}),t._v(" "),a("el-table-column",{attrs:{prop:"extract_money",label:"转账金额(元)","min-width":"120"}}),t._v(" "),a("el-table-column",{attrs:{prop:"admin_id",label:"平台管理员姓名","min-width":"120"}}),t._v(" "),a("el-table-column",{attrs:{label:"收款方式","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.financial_type?a("span",[t._v(t._s(1==e.row.financial_type?"银行":2==e.row.financial_type?"微信":"支付宝"))]):a("span",[t._v("--")])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"审核状态","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(0==e.row.status?"待审核":1==e.row.status?"审核通过":"审核未通过"))]),t._v(" "),-1===e.row.status?a("span",{staticStyle:{"font-size":"12px"}},[a("br"),t._v("\n 原因:"+t._s(e.row.refusal)+"\n ")]):t._e()]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"到账状态","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(1==e.row.financial_status?"已到账":"未到账"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"mer_money",label:"商户余额(元)","min-width":"120"}}),t._v(" "),a("el-table-column",{attrs:{label:"操作","min-width":"180",fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(e){return[0==e.row.status?a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return t.transferDetail(e.row.financial_id)}}},[t._v("审核")]):t._e(),t._v(" "),1==e.row.status&&1!=e.row.financial_status?a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return t.transferDetail(e.row.financial_id,1)}}},[t._v("转账")]):t._e(),t._v(" "),1==e.row.status&&1==e.row.financial_status?a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return t.transferDetail(e.row.financial_id,0)}}},[t._v("转账信息")]):t._e(),t._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return t.transferMark(e.row.financial_id)}}},[t._v("备注")])]}}])})],1),t._v(" "),a("div",{staticClass:"block"},[a("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(" "),t.dialogVisible?a("el-dialog",{attrs:{title:0==t.transferData.status?"审核":"转账信息",visible:t.dialogVisible,width:"700px"},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("div",{staticClass:"box-container"},[a("el-form",{ref:"ruleForm",attrs:{size:"small"}},[a("div",{staticClass:"section"},[a("div",{staticClass:"title"},[t._v("商户信息")]),t._v(" "),a("div",{staticClass:"list"},[a("div",{staticClass:"item"},[a("label",{staticClass:"name"},[t._v("商户名称:")]),t._v(t._s(t.transferData.merchant&&t.transferData.merchant.mer_name))]),t._v(" "),a("div",{staticClass:"item"},[a("label",{staticClass:"name"},[t._v("商户ID:")]),t._v(t._s(t.transferData.merchant&&t.transferData.merchant.mer_id))]),t._v(" "),a("div",{staticClass:"item"},[a("label",{staticClass:"name"},[t._v("商户余额:")]),t._v(t._s(t.transferData.mer_money))]),t._v(" "),a("div",{staticClass:"item"},[a("label",{staticClass:"name"},[t._v("商户收款方式:")]),t._v(t._s(1==t.transferData.financial_type?"银行卡":2==t.transferData.financial_type?"微信":"支付宝"))]),t._v(" "),1==t.transferData.financial_type?a("div",{staticClass:"item"},[a("label",{staticClass:"name"},[t._v("开户银行:")]),t._v(t._s(t.transferData.financial_account.bank))]):t._e(),t._v(" "),1==t.transferData.financial_type?a("div",{staticClass:"item"},[a("label",{staticClass:"name"},[t._v("银行账号:")]),t._v(t._s(t.transferData.financial_account.bank_code))]):t._e(),t._v(" "),1==t.transferData.financial_type?a("div",{staticClass:"item"},[a("label",{staticClass:"name"},[t._v("开户户名:")]),t._v(t._s(t.transferData.financial_account.name))]):t._e(),t._v(" "),1!=t.transferData.financial_type?a("div",{staticClass:"item"},[a("label",{staticClass:"name"},[t._v("真实姓名:")]),t._v(t._s(t.transferData.financial_account.name))]):t._e()])]),t._v(" "),a("div",{staticClass:"section"},[a("div",{staticClass:"title"},[t._v("收款信息")]),t._v(" "),a("div",{staticClass:"list"},[2==t.transferData.financial_type?a("div",{staticClass:"item"},[a("label",{staticClass:"name"},[t._v("微信号:")]),t._v(t._s(t.transferData.financial_account.wechat))]):t._e(),t._v(" "),2==t.transferData.financial_type?a("div",{staticClass:"item image"},[a("label",{staticClass:"name"},[t._v("微信收款二维码:")]),a("img",{staticStyle:{"max-width":"150px",height:"80px"},attrs:{src:t.transferData.financial_account.wechat_code},on:{click:function(e){return t.getPicture(t.transferData.financial_account.wechat_code),!1}}})]):t._e(),t._v(" "),3==t.transferData.financial_type?a("div",{staticClass:"item"},[a("label",{staticClass:"name"},[t._v("支付宝账号:")]),t._v(t._s(t.transferData.financial_account.alipay))]):t._e(),t._v(" "),3==t.transferData.financial_type?a("div",{staticClass:"item image"},[a("label",{staticClass:"name"},[t._v("支付宝收款二维码:")]),a("img",{staticStyle:{"max-width":"150px",height:"80px"},attrs:{src:t.transferData.financial_account.alipay_code},on:{click:function(e){return t.getPicture(t.transferData.financial_account.alipay_code),!1}}})]):t._e(),t._v(" "),a("div",{staticClass:"item"},[a("label",{staticClass:"name"},[t._v("本次申请转账金额:")]),a("span",{staticClass:"font-red"},[t._v(t._s(t.transferData.extract_money))])]),t._v(" "),0!=t.transferData.status?a("div",{staticClass:"item"},[a("label",{staticClass:"name"},[t._v("审核状态:")]),t._v(t._s(0==t.transferData.status?"待审核":1==t.transferData.status?"已审核":"审核失败"))]):t._e(),t._v(" "),1==t.transferData.status?a("div",{staticClass:"item"},[a("label",{staticClass:"name"},[t._v("审核时间:")]),t._v(t._s(t.transferData.status_time))]):t._e(),t._v(" "),-1==t.transferData.status?a("div",{staticClass:"item"},[a("label",{staticClass:"name"},[t._v("审核未通过原因:")]),t._v(t._s(t.transferData.refusal))]):t._e(),t._v(" "),0==t.transferData.status?a("el-form-item",{staticClass:"item",attrs:{label:"审核状态:",required:""}},[a("el-radio-group",{model:{value:t.formValidate.status,callback:function(e){t.$set(t.formValidate,"status",e)},expression:"formValidate.status"}},[a("el-radio",{staticClass:"radio",attrs:{label:1}},[t._v("通过")]),t._v(" "),a("el-radio",{attrs:{label:-1}},[t._v("拒绝")])],1)],1):t._e(),t._v(" "),-1==t.formValidate.status?a("el-form-item",{staticClass:"item",attrs:{label:"原因:",required:""}},[a("el-input",{attrs:{type:"textarea"},model:{value:t.formValidate.refusal,callback:function(e){t.$set(t.formValidate,"refusal",e)},expression:"formValidate.refusal"}})],1):t._e(),t._v(" "),1==t.transferData.status?a("el-form-item",{staticClass:"item",attrs:{label:"转账凭证:"}},[a("div",{staticClass:"acea-row"},[t._l(t.voucher_image,(function(e,n){return t.voucher_image.length>0?a("div",{key:n,staticClass:"pictrue"},[a("img",{attrs:{src:e},on:{click:function(a){return t.getPicture(e)}}}),t._v(" "),a("i",{staticClass:"el-icon-error btndel",on:{click:function(e){return t.handleRemove(n)}}})]):t._e()})),t._v(" "),a("div",{staticClass:"upLoadPicBox",on:{click:function(e){return t.modalPicTap("2")}}},[a("div",{staticClass:"upLoad"},[a("i",{staticClass:"el-icon-camera"})])])],2)]):t._e()],1)])])],1),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{size:"small"},on:{click:function(e){t.dialogVisible=!1}}},[t._v("取消")]),t._v(" "),0==t.transferData.status?a("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(e){return t.transferReview(t.transferData.financial_id)}}},[t._v("提交")]):t._e(),t._v(" "),1==t.transferData.status?a("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(e){return t.onSubmit(t.transferData.financial_id)}}},[t._v("提交")]):t._e()],1)]):t._e(),t._v(" "),t.pictureVisible?a("el-dialog",{attrs:{visible:t.pictureVisible,width:"700px"},on:{"update:visible":function(e){t.pictureVisible=e}}},[a("img",{staticClass:"pictures",attrs:{src:t.pictureUrl}})]):t._e(),t._v(" "),a("file-list",{ref:"exportList"})],1)},r=[],i=a("c80c"),s=(a("96cf"),a("3b8d")),l=a("c4c8"),c=a("2801"),o=a("0f56"),u=a("2e83"),f=a("30dc"),d=a("0b65"),m={components:{cardsData:o["a"],fileList:f["a"]},name:"transferRecord",data:function(){return{type:"",pickerOptions:d["a"],tableData:{data:[],total:0},arrivalStatusList:[{label:"已到账",value:1},{label:"未到账",value:0}],listLoading:!0,cardLists:[],voucher_image:[],formValidate:{status:1,refusal:""},approvalStatus:0,tableFrom:{date:"",page:1,limit:20,mer_id:"",financial_type:"",keyword:"",status:"",is_trader:""},orderChartType:{},timeVal:[],fromList:{title:"选择时间",custom:!0,fromTxt:[{text:"全部",val:""},{text:"今天",val:"today"},{text:"昨天",val:"yesterday"},{text:"最近7天",val:"lately7"},{text:"最近30天",val:"lately30"},{text:"本月",val:"month"},{text:"本年",val:"year"}]},merSelect:[],tableFromLog:{page:1,limit:20},tableDataLog:{data:[],total:0},loading:!1,dialogVisible:!1,pictureVisible:!1,pictureUrl:"",transferData:{financial_account:{}}}},mounted:function(){this.getList(1),this.getMerSelect(),this.getHeaderData()},methods:{searchReset:function(){this.timeVal=[],this.tableFrom.date="",this.$refs.searchForm.resetFields(),this.getList(1)},getMerSelect:function(){var t=this;Object(l["Q"])().then((function(e){t.merSelect=e.data})).catch((function(e){t.$message.error(e.message)}))},getHeaderData:function(){var t=this;Object(c["I"])().then((function(e){t.cardLists=e.data})).catch((function(e){t.$message.error(e.message)}))},transferDetail:function(t,e){var a=this;e&&(this.voucher_image=[]),Object(c["G"])(t).then((function(t){a.listLoading=!1,a.dialogVisible=!0,a.transferData=t.data,a.formValidate.status=t.data.status,a.voucher_image=e?[]:t.data.image})).catch((function(t){a.listLoading=!1,a.$message.error(t.message)}))},getPicture:function(t){this.pictureVisible=!0,this.pictureUrl=t},transferReview:function(t){var e=this,a={status:this.formValidate.status,refusal:this.formValidate.refusal};Object(c["M"])(t,a).then((function(t){e.listLoading=!1,e.$message.success(t.message),e.dialogVisible=!1,e.getList(1)})).catch((function(t){e.listLoading=!1,e.$message.error(t.message)}))},transferMark:function(t){var e=this;this.$modalForm(Object(c["J"])(t)).then((function(){return e.getList("1")}))},onSubmit:function(t){var e=this;if(0==this.voucher_image)return this.$message.error("请上传转账凭证!");Object(c["H"])(t,{image:this.voucher_image}).then((function(t){e.$message.success(t.message),e.dialogVisible=!1,e.getList(1)})).catch((function(t){e.$message.error(t.message)}))},modalPicTap:function(t,e,a){var n=this,r=[];this.$modalUpload((function(a){"2"!==t||e||a.map((function(t){r.push(t.attachment_src),n.voucher_image.push(t),n.voucher_image.length>6&&(n.voucher_image.length=6)}))}),t)},handleRemove:function(t){this.voucher_image.splice(t,1)},onchangeTime:function(t){this.timeVal=t,this.tableFrom.date=t?this.timeVal.join("-"):"",this.getList(1)},exports:function(){var t=Object(s["a"])(Object(i["a"])().mark((function t(){var e,a,n,r,s;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e=JSON.parse(JSON.stringify(this.tableFrom)),a=[],e.page=1,n=1,r={},s=0;case 5:if(!(s<n)){t.next=14;break}return t.next=8,this.downData(e);case 8:r=t.sent,n=Math.ceil(r.count/e.limit),r.export.length&&(a=a.concat(r.export),e.page++);case 11:s++,t.next=5;break;case 14:return Object(u["a"])(r.header,r.title,a,r.foot,r.filename),t.abrupt("return");case 16:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),downData:function(t){return new Promise((function(e,a){Object(c["L"])(t).then((function(t){return e(t.data)}))}))},exportRecord:function(){var t=this;Object(c["L"])(this.tableFrom).then((function(e){var a=t.$createElement;t.$msgbox({title:"提示",message:a("p",null,[a("span",null,'文件正在生成中,请稍后点击"'),a("span",{style:"color: teal"},"导出记录"),a("span",null,'"查看~ ')]),confirmButtonText:"我知道了"}).then((function(t){}))})).catch((function(e){t.$message.error(e.message)}))},getExportFileList:function(){this.$refs.exportList.exportFileList()},getList:function(t){var e=this;this.listLoading=!0,this.tableFrom.page=t||this.tableFrom.page,Object(c["K"])(this.tableFrom).then((function(t){e.tableData.data=t.data.list,e.tableData.total=t.data.count,e.listLoading=!1})).catch((function(t){e.$message.error(t.message),e.listLoading=!1}))},pageChange:function(t){this.tableFrom.page=t,this.getList()},handleSizeChange:function(t){this.tableFrom.limit=t,this.getList()},handleClose:function(){this.dialogLogistics=!1}}},_=m,v=(a("3932"),a("2877")),p=Object(v["a"])(_,n,r,!1,null,"39baf623",null);e["default"]=p.exports},b7fc:function(t,e,a){},f8b7:function(t,e,a){"use strict";a.d(e,"m",(function(){return r})),a.d(e,"b",(function(){return i})),a.d(e,"a",(function(){return s})),a.d(e,"o",(function(){return l})),a.d(e,"k",(function(){return c})),a.d(e,"l",(function(){return o})),a.d(e,"n",(function(){return u})),a.d(e,"s",(function(){return f})),a.d(e,"i",(function(){return d})),a.d(e,"j",(function(){return m})),a.d(e,"g",(function(){return _})),a.d(e,"h",(function(){return v})),a.d(e,"f",(function(){return p})),a.d(e,"u",(function(){return g})),a.d(e,"v",(function(){return b})),a.d(e,"t",(function(){return h})),a.d(e,"e",(function(){return y})),a.d(e,"d",(function(){return w})),a.d(e,"c",(function(){return D})),a.d(e,"r",(function(){return x})),a.d(e,"q",(function(){return k})),a.d(e,"p",(function(){return C}));var n=a("0c6d");function r(t){return n["a"].get("order/lst",t)}function i(){return n["a"].get("order/chart")}function s(t){return n["a"].get("order/title",t)}function l(t){return n["a"].get("store/order/update/".concat(t,"/form"))}function c(t){return n["a"].get("store/order/delivery/".concat(t,"/form"))}function o(t){return n["a"].get("order/detail/".concat(t))}function u(t,e){return n["a"].get("order/status/".concat(t),e)}function f(t){return n["a"].get("order/refund/lst",t)}function d(t){return n["a"].get("order/children/".concat(t))}function m(t){return n["a"].get("order/express/".concat(t))}function _(t){return n["a"].get("order/excel",t)}function v(t){return n["a"].get("order/refund/excel",t)}function p(t){return n["a"].get("excel/lst",t)}function g(){return n["a"].get("order/takechart")}function b(t){return n["a"].get("order/takelst",t)}function h(t){return n["a"].get("order/take_title",t)}function y(){return n["a"].get("excel/type")}function w(t){return n["a"].get("delivery/order/lst",t)}function D(t){return n["a"].get("delivery/order/cancel/".concat(t,"/form"))}function x(t){return n["a"].get("delivery/station/payLst",t)}function k(){return n["a"].get("delivery/title")}function C(){return n["a"].get("delivery/belence")}}}]); |