chunk-03297f90.9d479819.js 3.6 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-03297f90"],{"031b":function(t,e,a){"use strict";a("d683")},d683: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=[],o={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:"100"},{prop:"shopName",label:"门店",align:"center",width:"100"},{prop:"sjId",label:"商家ID",align:"center",width:"90"},{prop:"shopId",label:"门店ID",align:"center",width:"90"},{prop:"cashName",label:"申请人",align:"center",width:"100"},{prop:"cashAccount",label:"收款帐号",align:"center",width:"100"},{prop:"amount",label:"申请提现",align:"center",emptyText:"无",width:"100"},{prop:"beAmount",label:"应转",align:"center",emptyText:"无",width:"100"},{prop:"getAmount",label:"到帐",align:"center",emptyText:"无",width:"100"},{prop:"thirdOrderSn",label:"提现回执",align:"center",emptyText:"",width:"130"},{prop:"remark",label:"备注",align:"center",emptyText:"",width:"160"},{prop:"status",label:"状态",align:"center",emptyText:"无"},{prop:"addTime",label:"提交时间",align:"center",emptyText:"无",width:"135"}],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()}}},s=o,n=(a("031b"),a("5d22")),i=Object(n["a"])(s,l,r,!1,null,"0e8e1550",null);e["default"]=i.exports}}]);