| 1 |
- (window.webpackJsonp=window.webpackJsonp||[]).push([[58],{495:function(t,e,o){},612:function(t,e,o){"use strict";o(495)},724:function(t,e,o){"use strict";o.r(e);var r=o(7),n=(o(41),o(40),{name:"kaifabao",components:{quillEditor:o(188).quillEditor},data:function(){return{tab:"service",tabUrl:"",accountType:"1",editorOption:{modules:{toolbar:[["bold","italic","underline","strike"],["blockquote","code-block"],[{header:1},{header:2}],[{list:"ordered"},{list:"bullet"}],[{script:"sub"},{script:"super"}],[{indent:"-1"},{indent:"+1"}],[{direction:"rtl"}],[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{font:[]}],["clean"],["link","image"]],imageResize:{}}},pageInfo:{page:1,size:20,total:0},serviceRules:{},basicFormVisible:!1,serviceFormVisible:!1,basicForm:{id:0,content:""},serviceForm:{id:0,status:1},basicConfigData:[],serviceData:[],salaryData:[],withdrawalData:[],verifyData:[],serviceCountData:{},withdrawalCountData:{accountBalance:{}},verifyCountData:{}}},mounted:function(){this.getList()},methods:{getList:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var o,r,data,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o=t.pageInfo.page,r=t.pageInfo.size,data={page:o,size:r},e.t0=t.tab,e.next="service"===e.t0?6:"salary"===e.t0?11:"withdrawal"===e.t0?16:"verify"===e.t0?21:26;break;case 6:return e.next=8,t.$post("/api/admin/kaifabao/getConfigList");case 8:return(n=e.sent)&&1===n.status&&(t.serviceData=n.data.buckleList||[],t.basicConfigData=n.data.basicList||[]),e.abrupt("break",26);case 11:return e.next=13,t.$post("/api/admin/kaifabao/getKaifabaoOrderList",data);case 13:return(n=e.sent)&&1===n.status&&(t.salaryData=n.data.list||[],t.serviceCountData.totalDraw=t.formatPrice(n.data.totalDraw),t.serviceCountData.totalWaitDraw=t.formatPrice(n.data.totalWaitDraw),t.serviceCountData.totalSuccessPay=t.formatPrice(n.data.totalSuccessPay),t.pageInfo.page=1*n.data.page,t.pageInfo.total=1*n.data.total),e.abrupt("break",26);case 16:return e.next=18,t.$post("/api/admin/kaifabao/getKaifabaoSalaryList",data);case 18:return(n=e.sent)&&1===n.status&&(t.withdrawalData=n.data.list||[],t.withdrawalCountData.accountBalance=n.data.accountBalance||{},t.withdrawalCountData.totalWaitConfirmTax=n.data.totalWaitConfirmTax||0,t.withdrawalCountData.totalPayingTax=n.data.totalPayingTax||0,t.withdrawalCountData.totalSuccessTax=n.data.totalSuccessTax||0,t.withdrawalCountData.totalSuccess=n.data.totalSuccess||0,t.withdrawalCountData.totalSuccessMayRecharge=n.data.totalSuccessMayRecharge||0,t.withdrawalCountData.totalSuccessDeveloperMayGet=n.data.totalSuccessDeveloperMayGet||0,t.withdrawalCountData.totalWaitConfirmMayRecharge=n.data.totalWaitConfirmMayRecharge||0,t.withdrawalCountData.totalWaitConfirmDeveloperMayGet=n.data.totalWaitConfirmDeveloperMayGet||0,t.pageInfo.page=1*n.data.page,t.pageInfo.total=1*n.data.total),e.abrupt("break",26);case 21:return e.next=23,t.$post("/api/admin/kaifabao/invoiceWithdrawalApplyList",data);case 23:return(n=e.sent)&&1===n.status&&(t.verifyData=n.data.list||[],t.pageInfo.page=1*n.data.page,t.pageInfo.total=1*n.data.total,t.verifyCountData.totalNum=n.data.totalNum||0,t.verifyCountData.auditAdoptNum=n.data.auditAdoptNum||0,t.verifyCountData.auditInNum=n.data.auditInNum||0,t.verifyCountData.auditFailNum=n.data.auditFailNum||0,t.pageInfo.page=1*n.data.page,t.pageInfo.total=1*n.data.total),e.abrupt("break",26);case 26:case"end":return e.stop()}}),e)})))()},onAddService:function(){this.serviceForm={id:0,status:1},this.serviceFormVisible=!0},onServiceEdit:function(t){this.serviceForm=t,this.serviceForm.content=t.value,this.serviceForm.status=1*t.status,this.serviceFormVisible=!0},onServiceSave:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var data,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(data=t.serviceForm).content=data.content.replace(/ /gi,""),e.next=4,t.$post("/api/admin/kaifabao/saveBuckleConfig",data);case 4:(o=e.sent)&&1===o.status&&(t.$message({type:"success",message:"操作成功!"}),t.clear());case 6:case"end":return e.stop()}}),e)})))()},onBasicEdit:function(t){this.basicForm.id=t.id,this.basicForm.content=t.value,this.basicFormVisible=!0},onBasicSave:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var data,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return data=t.basicForm,e.next=3,t.$post("/api/admin/kaifabao/editBasicConfig",data);case 3:(o=e.sent)&&1===o.status&&(t.$message({type:"success",message:"操作成功!"}),t.clear());case 5:case"end":return e.stop()}}),e)})))()},onPage:function(t){this.pageInfo.page=t,this.getList()},clear:function(){this.basicFormVisible=!1,this.serviceFormVisible=!1,this.serviceForm={id:0,status:1},this.getList()},goTopic:function(t){console.log(t),window.open(this.$store.state.domainConfig.jishuinUrl+"/p/"+t.id+".html")},goRooterUser:function(t){window.open(this.$store.state.domainConfig.siteUrl+"/rooter/user/"+t.uid)},clickDev:function(t){window.open(this.$store.state.domainConfig.siteUrl+"/rooter/user/".concat(t))},formatPrice:function(t){return t?t/100:0},confirmPay:function(i){this.rePay(i)},rePay:function(i){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$post("/api/admin/kaifabao/redoSalaryDraw",{id:i.id});case 2:e.sent&&t.getList();case 4:case"end":return e.stop()}}),e)})))()},onToUrl:function(){var t="";switch(this.tabUrl){case"gongmao":t="/main/gongmall";break;case"qingtuanbao":t="/main/qingtuanbao"}""!==t&&this.$router.push({path:t})},projectLink:function(t){var e=t.entity_type;if("2"===e)window.open(this.$store.state.domainConfig.siteUrl+"/rooter/outsourceitem/".concat(t.entity_id));else if("3"===e)window.open(this.$store.state.domainConfig.siteUrl+"/rooter/wagedetails?job_id=".concat(t.entity_id));else{if("9"!==e)return!1;window.open(this.$store.state.domainConfig.siteUrl+"/rooter/cloudjobitem/".concat(t.entity_id))}},onEditorReady:function(t){},downFinanceList:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("withdrawal"===t.tab){e.next=2;break}return e.abrupt("return",!1);case 2:o=window.location.host+"/api/admin/kaifabao/export",window.location.href="https://"+o;case 4:case"end":return e.stop()}}),e)})))()},downWithdrawalList:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("withdrawal"===t.tab){e.next=2;break}return e.abrupt("return",!1);case 2:o=window.location.host+"/api/admin/kaifabao/exportWithdrawal",window.location.href="https://"+o;case 4:case"end":return e.stop()}}),e)})))()},formatDate:function(time){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if("0"===time)return"--";var e=new Date(1e3*time),o=e.getFullYear(),r=e.getMonth()+1,n=e.getDate(),l=e.getHours(),c=e.getMinutes(),d=e.getSeconds();return l<10&&(l="0"+l),c<10&&(c="0"+c),d<10&&(d="0"+d),""==t?o+"-"+r+"-"+n+" "+l+":"+c+":"+d:o+"-"+r+"-"+n+" "+l+":"+c}}}),l=n,c=(o(612),o(4)),component=Object(c.a)(l,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticStyle:{"margin-bottom":"4px"}},[e("span",{staticClass:"left-title"},[t._v("历史数据:")]),t._v(" "),e("el-radio-group",{attrs:{size:"small"},on:{change:t.onToUrl},model:{value:t.tabUrl,callback:function(e){t.tabUrl=e},expression:"tabUrl"}},[e("el-radio-button",{attrs:{label:"gongmao"}},[t._v("工猫提现记录")]),t._v(" "),e("el-radio-button",{attrs:{label:"qingtuanbao"}},[t._v("青团宝提现记录")])],1)],1),t._v(" "),e("div",[e("span",{staticClass:"left-title"},[t._v("领薪宝配置:")]),t._v(" "),e("el-radio-group",{attrs:{size:"small"},on:{change:t.getList},model:{value:t.tab,callback:function(e){t.tab=e},expression:"tab"}},[e("el-radio-button",{attrs:{label:"service"}},[t._v("领薪宝服务配置")]),t._v(" "),e("el-radio-button",{attrs:{label:"salary"}},[t._v("领薪宝结薪订单")]),t._v(" "),e("el-radio-button",{attrs:{label:"withdrawal"}},[t._v("领薪宝提现订单")]),t._v(" "),e("el-radio-button",{attrs:{label:"verify"}},[t._v("发票审核")])],1)],1),t._v(" "),e("div",{staticClass:"t-content"},["service"===t.tab?[t._m(0),t._v(" "),e("el-table",{staticStyle:{width:"100%"},attrs:{border:"",data:t.basicConfigData}},[e("el-table-column",{attrs:{prop:"config_key",label:"键",width:"180"}}),t._v(" "),e("el-table-column",{attrs:{prop:"description",label:"描述",width:"180"},scopedSlots:t._u([{key:"default",fn:function(o){return[e("span",{domProps:{innerHTML:t._s(o.row.description?o.row.description.substring(0,9):"")}})]}}],null,!1,389181405)}),t._v(" "),e("el-table-column",{attrs:{prop:"value",label:"值"},scopedSlots:t._u([{key:"default",fn:function(o){return[e("span",{domProps:{innerHTML:t._s(o.row.value?o.row.value.substring(0,20):"")}})]}}],null,!1,2834085702)}),t._v(" "),e("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(o){return[e("el-link",{attrs:{icon:"el-icon-edit"},on:{click:function(e){return t.onBasicEdit(o.row)}}},[t._v("编辑")])]}}],null,!1,590283735)})],1),t._v(" "),e("div",{staticClass:"t-title"},[e("span",{staticClass:"left-title"},[t._v("\n 扣费方式配置\n "),e("el-button",{attrs:{size:"medium"},on:{click:t.onAddService}},[t._v("添加扣税方式")])],1)]),t._v(" "),e("el-table",{staticStyle:{width:"100%"},attrs:{border:"",data:t.serviceData}},[e("el-table-column",{attrs:{prop:"config_key",label:"扣税方式",width:"180"},scopedSlots:t._u([{key:"default",fn:function(o){return[e("span",[t._v(t._s(o.row.config_key))])]}}],null,!1,227141188)}),t._v(" "),e("el-table-column",{attrs:{prop:"status",label:"状态",width:"180"},scopedSlots:t._u([{key:"default",fn:function(o){return["1"==o.row.status?e("div",[t._v("支持")]):e("div",[t._v("不支持")])]}}],null,!1,3670252500)}),t._v(" "),e("el-table-column",{attrs:{prop:"value",label:"服务协议"},scopedSlots:t._u([{key:"default",fn:function(o){return[e("span",{domProps:{innerHTML:t._s(o.row.value?o.row.value.substring(0,20):"")}})]}}],null,!1,2834085702)}),t._v(" "),e("el-table-column",{attrs:{prop:"original_rate",label:"服务商原始费率"},scopedSlots:t._u([{key:"default",fn:function(o){return[e("span",[t._v(t._s(o.row.original_rate)+"%")])]}}],null,!1,2113422540)}),t._v(" "),e("el-table-column",{attrs:{prop:"kaifabao_rate",label:"领薪宝费率"},scopedSlots:t._u([{key:"default",fn:function(o){return[e("span",[t._v(t._s(o.row.kaifabao_rate)+"%")])]}}],null,!1,2264116253)}),t._v(" "),e("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(o){return[e("el-link",{attrs:{icon:"el-icon-edit"},on:{click:function(e){return t.onServiceEdit(o.row)}}},[t._v("编辑")])]}}],null,!1,3163551504)})],1)]:t._e(),t._v(" "),"salary"===t.tab?[t._m(1),t._v(" "),e("div",{staticClass:"account-type"},[e("el-radio-group",{attrs:{size:"small"},model:{value:t.accountType,callback:function(e){t.accountType=e},expression:"accountType"}},[e("el-radio-button",{attrs:{label:"1"}},[t._v("程序员客栈")])],1)],1),t._v(" "),t._m(2),t._v(" "),e("div",{staticClass:"title"},[e("el-form",{attrs:{"label-width":"180px","label-position":"left"}},[e("el-form-item",{attrs:{label:"已结算总金额(税前):"}},[t._v(t._s(t.serviceCountData.totalSuccessPay)+"元")]),t._v(" "),e("el-form-item",{attrs:{label:"已提现总金额(税前):"}},[t._v(t._s(t.serviceCountData.totalDraw)+"元")]),t._v(" "),e("el-form-item",{attrs:{label:"待提现总额(税前):"}},[t._v(t._s(t.serviceCountData.totalWaitDraw)+"元")])],1)],1),t._v(" "),e("el-table",{staticStyle:{width:"100%"},attrs:{border:"",data:t.salaryData}},[e("el-table-column",{attrs:{prop:"pro_name",label:"项目名称"},scopedSlots:t._u([{key:"default",fn:function(o){return[e("span",{staticClass:"lblue point",on:{click:function(e){return t.projectLink(o.row)}}},[t._v(t._s(o.row.pro_name))])]}}],null,!1,1323005779)}),t._v(" "),e("el-table-column",{attrs:{prop:"pay_type",label:"付款类型",width:"180"},scopedSlots:t._u([{key:"default",fn:function(o){return["1"==o.row.pay_type?e("span",[t._v("首付款")]):e("span",[t._v("解冻款")])]}}],null,!1,4283254164)}),t._v(" "),e("el-table-column",{attrs:{prop:"nickname",label:"用户昵称"},scopedSlots:t._u([{key:"default",fn:function(o){return[e("span",{staticClass:"lblue point",on:{click:function(e){return t.goRooterUser(o.row)}}},[t._v(t._s(o.row.nickname))])]}}],null,!1,3458010995)}),t._v(" "),e("el-table-column",{attrs:{prop:"amount",label:"结算金额"},scopedSlots:t._u([{key:"default",fn:function(o){return[e("span",[t._v(t._s(o.row.amount))])]}}],null,!1,1167497322)}),t._v(" "),e("el-table-column",{attrs:{prop:"pay_time",label:"结算时间"},scopedSlots:t._u([{key:"default",fn:function(o){return[e("span",[t._v(t._s(t.formatDate(o.row.pay_time,"Y-m-d H:i")))])]}}],null,!1,614092277)}),t._v(" "),e("el-table-column",{attrs:{prop:"order_no",label:"订单号"},scopedSlots:t._u([{key:"default",fn:function(o){return e("span",{staticClass:"lblue point"},[e("nuxt-link",{attrs:{to:{path:"/main/orders_detail?id="+o.row.order_no}}},[t._v(t._s(o.row.order_no))])],1)}}],null,!1,2162872114)})],1)]:t._e(),t._v(" "),"withdrawal"===t.tab?[t._m(3),t._v(" "),e("div",{staticClass:"account-type"},[e("el-radio-group",{attrs:{size:"small"},model:{value:t.accountType,callback:function(e){t.accountType=e},expression:"accountType"}},[e("el-radio-button",{attrs:{label:"1"}},[t._v("程序员客栈")])],1)],1),t._v(" "),t._m(4),t._v(" "),e("div",{staticClass:"title"},[e("el-form",{attrs:{"label-width":"250px","label-position":"left"}},[e("el-form-item",{attrs:{label:"领薪宝账户可用余额:"}},[e("span",[t._v(t._s(t.withdrawalCountData.accountBalance.balance/100)+"元")])]),t._v(" "),e("el-form-item",{attrs:{label:"待管理员确认付款金额(应充值金额):"}},[t._v(t._s(t.withdrawalCountData.totalWaitConfirmTax/100)+"元\n ")]),t._v(" "),e("el-form-item",{attrs:{label:"待管理员确认付款金额(开发者实得):"}},[t._v(t._s(t.withdrawalCountData.totalWaitConfirmDeveloperMayGet/100)+"元\n ")]),t._v(" "),e("el-form-item",{attrs:{label:"领薪宝正在支付中金额(应充值金额):"}},[t._v(t._s(t.withdrawalCountData.totalPayingTax/100)+"元")]),t._v(" "),e("el-form-item",{attrs:{label:"用户成功提现金额(税后):"}},[t._v(t._s(t.withdrawalCountData.totalSuccess/100)+"元")]),t._v(" "),e("el-form-item",{attrs:{label:"用户成功提现金额(应充值金额):"}},[t._v(t._s(t.withdrawalCountData.totalSuccessTax/100)+"元\n ")]),t._v(" "),e("el-form-item",{attrs:{label:"用户成功提现金额(开发者实得):"}},[t._v(t._s(t.withdrawalCountData.totalSuccessDeveloperMayGet/100)+"元\n ")])],1)],1),t._v(" "),e("div",{staticStyle:{"text-align":"right","margin-bottom":"10px"}},[e("el-button",{staticClass:"export-excel",attrs:{type:"primary"},on:{click:t.downFinanceList}},[t._v("导出报表")]),t._v(" "),e("el-button",{staticClass:"export-excel",staticStyle:{display:"none"},attrs:{type:"primary"},on:{click:t.downWithdrawalList}},[t._v("导出提现报表")])],1),t._v(" "),e("el-table",{attrs:{border:"",data:t.withdrawalData}},[e("el-table-column",{attrs:{prop:"order_no",label:"订单号","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(o){return[e("span",{staticClass:"lblue point"},[e("nuxt-link",{attrs:{target:"_blank",to:{path:"/main/orders_detail?id="+o.row.order_no}}},[t._v(t._s(o.row.order_no))])],1)]}}],null,!1,1793804422)}),t._v(" "),e("el-table-column",{attrs:{label:"用户ID",width:"66"},scopedSlots:t._u([{key:"default",fn:function(o){return[e("span",{staticClass:"lblue point",on:{click:function(e){return t.clickDev(o.row.uid)}}},[t._v(t._s(o.row.uid))])]}}],null,!1,3317957956)}),t._v(" "),e("el-table-column",{attrs:{label:"真实姓名",width:"70"},scopedSlots:t._u([{key:"default",fn:function(o){return[e("span",{staticClass:"lblue point",on:{click:function(e){return t.clickDev(o.row.uid)}}},[t._v(t._s(o.row.userInfo.realname))])]}}],null,!1,370498896)}),t._v(" "),e("el-table-column",{attrs:{prop:"order_type_name",label:"支付方式"},scopedSlots:t._u([{key:"default",fn:function(o){return[e("span",[t._v(t._s(o.row.order_type_name))])]}}],null,!1,2133816791)}),t._v(" "),e("el-table-column",{attrs:{prop:"original_rate",label:"服务商税率"},scopedSlots:t._u([{key:"default",fn:function(o){return[e("span",[t._v(t._s(o.row.original_rate)+"%")])]}}],null,!1,2113422540)}),t._v(" "),e("el-table-column",{attrs:{prop:"kaifabao_rate",label:"领薪宝费率"},scopedSlots:t._u([{key:"default",fn:function(o){return[e("span",[t._v(t._s(o.row.kaifabao_rate)+"%")])]}}],null,!1,2264116253)}),t._v(" "),e("el-table-column",{attrs:{prop:"origin_amount",label:"应充值金额",width:"70"}}),t._v(" "),e("el-table-column",{attrs:{prop:"tax",label:"综合扣税"}}),t._v(" "),e("el-table-column",{attrs:{prop:"real_amount",label:"提现金额",width:"70"}}),t._v(" "),e("el-table-column",{attrs:{prop:"true_amount",label:"应到实得金额",width:"70"}}),t._v(" "),e("el-table-column",{attrs:{prop:"after_amount",label:"薪资余额(不含冻结)"}}),t._v(" "),e("el-table-column",{attrs:{prop:"account",label:"到账账户","show-overflow-tooltip":""}}),t._v(" "),e("el-table-column",{attrs:{label:"提现时间",width:"120"},scopedSlots:t._u([{key:"default",fn:function(o){return[e("span",[t._v(t._s(o.row.taken_at))])]}}],null,!1,1791784025)}),t._v(" "),e("el-table-column",{attrs:{label:"到账时间",width:"120"},scopedSlots:t._u([{key:"default",fn:function(o){return[e("span",[t._v(t._s(o.row.paid_at))])]}}],null,!1,1061178992)}),t._v(" "),e("el-table-column",{attrs:{prop:"extra",label:"系统备注","show-overflow-tooltip":""}}),t._v(" "),e("el-table-column",{attrs:{label:"内部提现状态"},scopedSlots:t._u([{key:"default",fn:function(o){return[1==o.row.status?e("span",[t._v("待确认")]):2==o.row.status||4==o.row.status?e("span",[t._v("支付中")]):8==o.row.status?e("span",[t._v("支付成功")]):16==o.row.status?e("span",[t._v("支付失败")]):e("span",[t._v("--")])]}}],null,!1,2500197044)}),t._v(" "),e("el-table-column",{attrs:{label:"操作",width:"120"},scopedSlots:t._u([{key:"default",fn:function(o){return[1==o.row.status?e("span",{on:{click:function(e){return t.confirmPay(o.row)}}},[e("el-button",{attrs:{type:"primary",size:"mini"}},[t._v("确认付款")])],1):16==o.row.status?e("span",{on:{click:function(e){return t.confirmPay(o.row)}}},[e("el-button",{attrs:{type:"primary",size:"mini"}},[t._v("失败重试")])],1):e("span")]}}],null,!1,2021774911)}),t._v(" "),e("el-table-column",{attrs:{label:"外部备注","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(o){return[e("span",[t._v(t._s(o.row.orderInfo.public_comment))])]}}],null,!1,1434702181)})],1)]:t._e(),t._v(" "),"verify"===t.tab?[t._m(5),t._v(" "),e("div",{staticClass:"t-head"},[e("span",[t._v("全部:"+t._s(t.verifyCountData.totalNum))]),t._v(" "),e("span",[t._v("审核通过:"+t._s(t.verifyCountData.auditAdoptNum))]),t._v(" "),e("span",[t._v("审核中:"+t._s(t.verifyCountData.auditInNum))]),t._v(" "),e("span",[t._v("审核失败:"+t._s(t.verifyCountData.auditFailNum))])]),t._v(" "),e("el-table",{staticStyle:{width:"100%"},attrs:{border:"",data:t.verifyData}},[e("el-table-column",{attrs:{label:"用户ID",width:"100"},scopedSlots:t._u([{key:"default",fn:function(o){return[e("span",{staticClass:"lblue point",on:{click:function(e){return t.clickDev(o.row.uid)}}},[t._v(t._s(o.row.uid))])]}}],null,!1,3317957956)}),t._v(" "),e("el-table-column",{attrs:{prop:"amount",label:"申请提现金额"},scopedSlots:t._u([{key:"default",fn:function(o){return[e("span",[t._v(t._s(o.row.amount))])]}}],null,!1,1167497322)}),t._v(" "),e("el-table-column",{attrs:{prop:"create_time",label:"申请时间"},scopedSlots:t._u([{key:"default",fn:function(o){return[e("span",[t._v(t._s(t.formatDate(o.row.create_time,"Y-m-d H:i")))])]}}],null,!1,3962811705)}),t._v(" "),e("el-table-column",{attrs:{label:"发票图片审核"},scopedSlots:t._u([{key:"default",fn:function(o){return["0"==o.row.picture_verify_status?e("span",[t._v("待审核")]):"1"==o.row.picture_verify_status?e("span",[t._v("审核通过")]):"2"==o.row.picture_verify_status?e("span",[t._v("审核失败")]):e("span",[t._v("--")])]}}],null,!1,1799126101)}),t._v(" "),e("el-table-column",{attrs:{label:"纸质发票审核"},scopedSlots:t._u([{key:"default",fn:function(o){return["0"==o.row.paper_verify_status?e("span",[t._v("待审核")]):"1"==o.row.paper_verify_status?e("span",[t._v("审核通过")]):"2"==o.row.paper_verify_status?e("span",[t._v("审核失败")]):e("span",[t._v("--")])]}}],null,!1,4079482991)}),t._v(" "),e("el-table-column",{attrs:{label:"操作",width:"120"},scopedSlots:t._u([{key:"default",fn:function(o){return[e("span",{staticClass:"lblue point"},[e("nuxt-link",{attrs:{target:"_blank",to:{path:"/main/invoice_audit?id="+o.row.id}}},[t._v("去审核")])],1)]}}],null,!1,1173517044)})],1)]:t._e()],2),t._v(" "),"salary"===t.tab||"withdrawal"===t.tab||"verify"===t.tab?e("div",{staticClass:"page"},[e("el-pagination",{staticClass:"order-footer",attrs:{background:"",layout:"total, prev, pager, next","page-size":20,total:t.pageInfo.total},on:{"current-change":t.onPage}})],1):t._e(),t._v(" "),e("el-dialog",{attrs:{title:"编辑配置",visible:t.basicFormVisible,closeOnClickModal:!1,closeOnPressEscape:!1},on:{"update:visible":function(e){t.basicFormVisible=e}}},[e("div",[e("quill-editor",{ref:"myTextEditor",attrs:{config:t.editorOption},model:{value:t.basicForm.content,callback:function(e){t.$set(t.basicForm,"content",e)},expression:"basicForm.content"}})],1),t._v(" "),e("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:function(e){t.basicFormVisible=!1}}},[t._v("取 消")]),t._v(" "),e("el-button",{attrs:{type:"primary"},on:{click:t.onBasicSave}},[t._v("确 定")])],1)]),t._v(" "),e("el-dialog",{attrs:{title:"扣税方式",visible:t.serviceFormVisible,width:"60%",closeOnClickModal:!1,closeOnPressEscape:!1},on:{"update:visible":function(e){t.serviceFormVisible=e}}},[e("el-form",{ref:"serviceForm",staticClass:"demo-ruleForm",attrs:{model:t.serviceForm,rules:t.serviceRules,"label-width":"120px"}},[e("el-form-item",{attrs:{label:"扣税方式",prop:"config_key"}},[e("el-input",{model:{value:t.serviceForm.config_key,callback:function(e){t.$set(t.serviceForm,"config_key",e)},expression:"serviceForm.config_key"}})],1),t._v(" "),e("el-form-item",{attrs:{label:"服务商原始费率",prop:"original_rate"}},[e("el-input",{staticStyle:{width:"50%"},attrs:{min:"1",max:"100",minlength:"1",maxlength:"100",type:"number"},model:{value:t.serviceForm.original_rate,callback:function(e){t.$set(t.serviceForm,"original_rate",e)},expression:"serviceForm.original_rate"}}),t._v("\n %\n ")],1),t._v(" "),e("el-form-item",{attrs:{label:"领薪宝费率",prop:"kaifabao_rate"}},[e("el-input",{staticStyle:{width:"50%"},attrs:{type:"number",min:"1",max:"100",minlength:"1",maxlength:"100"},model:{value:t.serviceForm.kaifabao_rate,callback:function(e){t.$set(t.serviceForm,"kaifabao_rate",e)},expression:"serviceForm.kaifabao_rate"}}),t._v("\n %\n ")],1),t._v(" "),e("el-form-item",{attrs:{label:"服务协议",prop:"content"}},[e("quill-editor",{ref:"myTextEditor",staticClass:"editer",attrs:{options:t.editorOption},on:{ready:function(e){return t.onEditorReady(e)}},model:{value:t.serviceForm.content,callback:function(e){t.$set(t.serviceForm,"content",e)},expression:"serviceForm.content"}})],1),t._v(" "),e("el-form-item",{attrs:{label:"状态",prop:"status"}},[e("el-radio-group",{model:{value:t.serviceForm.status,callback:function(e){t.$set(t.serviceForm,"status",e)},expression:"serviceForm.status"}},[e("el-radio",{attrs:{label:1}},[t._v("支持")]),t._v(" "),e("el-radio",{attrs:{label:0}},[t._v("不支持")])],1)],1)],1),t._v(" "),e("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:function(e){t.serviceFormVisible=!1}}},[t._v("取 消")]),t._v(" "),e("el-button",{attrs:{type:"primary"},on:{click:t.onServiceSave}},[t._v("确 定")])],1)],1)],1)}),[function(){var t=this._self._c;return t("div",{staticClass:"t-title"},[t("span",{staticClass:"left-title"},[this._v("基本服务配置")])])},function(){var t=this._self._c;return t("div",{staticClass:"t-title"},[t("span",[this._v("选择子账户")])])},function(){var t=this._self._c;return t("div",{staticClass:"t-title"},[t("span",[this._v("项目结算记录")])])},function(){var t=this._self._c;return t("div",{staticClass:"t-title"},[t("span",[this._v("选择子账户")])])},function(){var t=this._self._c;return t("div",{staticClass:"t-title"},[t("span",[this._v("项目结算记录")])])},function(){var t=this._self._c;return t("div",{staticClass:"t-title"},[t("span",[this._v("发票审核列表")])])}],!1,null,null,null);e.default=component.exports}}]);
|