(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-502da322"],{b7a3:function(t,e,a){},dd9c:function(t,e,a){"use strict";a.r(e);var l=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-list-content"},[a("x-crud",{staticClass:"liu-crud-wrap",on:{load:t.onLoad},scopedSlots:t._u([{key:"slot-apply",fn:function(e){var l=e.scope;return[1==l.row.status?[a("el-button",{attrs:{type:"text"},on:{click:function(e){return t.showModalFn(l.row)}}},[t._v("审核")])]:t._e()]}},{key:"table-column-status",fn:function(e){var l=e.scope;return[1==l.row.status?[a("span",[t._v("待审核")])]:2==l.row.status?[a("span",{staticClass:"success_color"},[t._v("通过")])]:3==l.row.status?[a("span",{staticClass:"error_color"},[t._v("未通过")])]:[a("span",{staticClass:"error_color"},[t._v("-")])]]}}])}),a("el-dialog",{attrs:{title:"审核",visible:t.applyDialog,"close-on-click-modal":!1,width:"500px"},on:{"update:visible":function(e){t.applyDialog=e}}},[a("div",{staticClass:"ad-modal-content"},[a("el-form",{ref:"form",staticClass:"demo-form",attrs:{model:t.form,rules:t.rule,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"状态",prop:"status"}},[a("el-radio-group",{model:{value:t.form.status,callback:function(e){t.$set(t.form,"status",e)},expression:"form.status"}},[a("el-radio",{attrs:{label:"2"}},[t._v("通过")]),a("el-radio",{attrs:{label:"3"}},[t._v("拒绝")])],1)],1),a("el-form-item",{attrs:{label:"备注",prop:"remark"}},[a("el-input",{attrs:{type:"textarea"},model:{value:t.form.remark,callback:function(e){t.$set(t.form,"remark",e)},expression:"form.remark"}})],1)],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{size:"small"},on:{click:t.resetForm}},[t._v("取 消")]),a("el-button",{attrs:{type:"primary",size:"small"},on:{click:t.applyFn}},[t._v("确认")])],1)])],1)},r=[],s={data:function(){return{app:null,applyDialog:!1,form:{id:"",status:"2",remark:""},rule:{}}},mounted:function(){},methods:{showModalFn:function(t){this.form.id=t.id,this.applyDialog=!0},applyFn:function(){var t=this;this.$service.cash.check(this.form).then((function(e){t.app.refresh(),t.$message.success("操作成功"),t.resetForm()}))},resetForm:function(){this.$refs["form"].resetFields(),this.applyDialog=!1},onLoad:function(t){var e=t.ctx,a=t.app;this.app=a,e.service(this.$service.cash).set("table",{columns:[{prop:"id",label:"ID",align:"center",width:"70"},{prop:"sjName",label:"商家",align:"center",width:"120"},{prop:"shopName",label:"门店",align:"center",width:"120"},{prop:"sjId",label:"商家ID",align:"center",width:"90"},{prop:"shopId",label:"门店ID",align:"center",width:"90"},{prop:"cashName",label:"收款人姓名",align:"center",width:"120"},{prop:"cashAccount",label:"收款人帐号",align:"center",width:"130"},{prop:"amount",label:"提现金额",align:"center",emptyText:"无",width:"100"},{prop:"thirdOrderSn",label:"提现回执",align:"center",emptyText:"",width:"130"},{prop:"remark",label:"备注",align:"center",emptyText:"",width:"180"},{prop:"status",label:"状态",align:"center",emptyText:"无"},{prop:"addTime",label:"提交时间",align:"center",emptyText:"无"}],op:{visible:!0,props:{width:150,align:"center",fixed:"right",label:"操作"},layout:["slot-apply"]}}).set("layout",[["slot-tabs"],["flex1","refresh-btn"],["data-table"],["flex1","pagination"]]).done(),a.refresh()}}},o=s,i=(a("ec06"),a("5d22")),n=Object(i["a"])(o,l,r,!1,null,"b890fa54",null);e["default"]=n.exports},ec06:function(t,e,a){"use strict";a("b7a3")}}]);