|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-010c7bf8"],{"0d96":function(t,e,a){},1615:function(t,e,a){"use strict";a.d(e,"l",(function(){return i})),a.d(e,"t",(function(){return n})),a.d(e,"n",(function(){return r})),a.d(e,"a",(function(){return l})),a.d(e,"q",(function(){return o})),a.d(e,"r",(function(){return u})),a.d(e,"o",(function(){return c})),a.d(e,"p",(function(){return d})),a.d(e,"s",(function(){return h})),a.d(e,"c",(function(){return p})),a.d(e,"b",(function(){return f})),a.d(e,"k",(function(){return m})),a.d(e,"m",(function(){return v})),a.d(e,"j",(function(){return b})),a.d(e,"d",(function(){return _})),a.d(e,"g",(function(){return g})),a.d(e,"f",(function(){return w})),a.d(e,"h",(function(){return C})),a.d(e,"i",(function(){return P})),a.d(e,"e",(function(){return y})),a.d(e,"y",(function(){return T})),a.d(e,"z",(function(){return I})),a.d(e,"x",(function(){return S})),a.d(e,"u",(function(){return k})),a.d(e,"w",(function(){return x})),a.d(e,"v",(function(){return O}));var s=a("b775");a("2c37");function i(t){return s["a"].request({method:"GET",url:"/chargesTemplate/list",params:t})}function n(t){return s["a"].request({method:"POST",url:"/expenseBill/refund",data:t})}function r(t){return s["a"].request({method:"GET",url:"/dailyPayment/findEnableTempleDetail",params:t})}function l(t){return s["a"].request({method:"GET",url:"/activityManagement/findEnableTempleDetail",params:t})}function o(t){return s["a"].request({method:"POST",url:"/dailyPaymentPlan/insert",data:t})}function u(t){return s["a"].request({method:"POST",url:"/dailyPaymentPlan/update",data:t})}function c(t){return s["a"].request({method:"POST",url:"/dailyPayment/insert",data:t})}function d(t){return s["a"].request({method:"POST",url:"/dailyPayment/insertOrder",data:t})}function h(t){return s["a"].request({method:"POST",url:"/dailyPayment/push",data:t})}function p(t){return s["a"].request({method:"POST",url:"/advancePayment/refund",data:t})}function f(t){return s["a"].request({method:"POST",url:"/advancePayment/recharge",data:t})}function m(t){return s["a"].request({method:"GET",url:"/chargesTemplate/isEnable",params:t})}function v(t){return s["a"].request({method:"POST",url:"/chargesTemplate/update",data:t})}function b(t){return s["a"].request({method:"POST",url:"/chargesTemplate/insert",data:t})}function _(t){return s["a"].request({method:"POST",url:"/chargesTemplate/delete",data:t})}function g(t){return s["a"].request({method:"POST",url:"/chargesTemplateDetail/insert",data:t})}function w(t){return s["a"].request({method:"GET",url:"/chargesTemplateDetail/findById",params:t})}function C(t){return s["a"].request({method:"GET",url:"/chargesTemplateDetail/isEnable",params:t})}function P(t){return s["a"].request({method:"POST",url:"/chargesTemplateDetail/update",data:t})}function y(t){return s["a"].request({method:"POST",url:"/chargesTemplateDetail/delete",data:t})}function T(t){return s["a"].request({method:"POST",url:"/paper/insert",data:t})}function I(t){return s["a"].request({method:"POST",url:"/paper/recipients",data:t})}function S(t){return s["a"].request({method:"POST",url:"/meterReadingRecord/updateRemakes",data:t})}function k(t){return s["a"].request({method:"POST",url:"/meterReadingRecord/createShareBill",data:t})}function x(t){return s["a"].request({method:"POST",url:"/meterReadingRecord/ShareBillPushDetails",data:t})}function O(t){return s["a"].request({method:"POST",url:"/meterReadingRecord/ShareBillPush",data:t})}},2372:function(t,e,a){},5264:function(t,e,a){"use strict";a("0d96")},"662b":function(t,e,a){"use strict";a.d(e,"a",(function(){return i})),a.d(e,"b",(function(){return n}));a("f2d9");var s=a("2b74");async function i(t,e){let a=[];const i=await Object(s["b"])(t);if(a.push(...i.tableList),i.pageCount>1)for(let n=1;n<i.pageCount;n++){t.pageNum=n+1;const r=await Object(s["b"])(t);e.ExcelLoading(n,i.pageCount),a.push(...r.tableList)}return a}async function n(t){let e=[];const a=await Object(s["b"])(t);return console.log(a),e.push(...a.tableList),e}},"6b0c":function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"main-content",staticStyle:{marginBottom:"30px"}},[e("div",{staticClass:"main-titel"},[e("span",[t._v(t._s(t.basicInfo.months+" ")+"抄表账单详情")]),e("el-button",{attrs:{size:"small",id:"backbtn"},on:{click:t.back}},[t._v("返回")])],1),e("div",{staticClass:"main details-box"},[e("div",{staticClass:"box"},[t._m(0),e("div",{staticClass:"box-item"},[e("div",{staticClass:"item"},[t._m(1),e("div",[e("span",[t._v(t._s(t.basicInfo.type="水费"))])])]),e("div",{staticClass:"item"},[t._m(2),e("div",[e("span",[t._v(t._s(t.basicInfo.totals)+t._s(t.basicInfo.unit))])])]),e("div",{staticClass:"item"},[t._m(3),e("div",[e("span",[t._v(t._s(t.basicInfo.cost+" 元"))])])]),e("div",{staticClass:"item"},[t._m(4),e("div",[e("span",[t._v(t._s(t.basicInfo.unitPrice+" 元")+"/"+t._s(t.basicInfo.unit))])])]),e("div",{staticClass:"item"},[t._m(5),e("div",[e("span",[t._v(t._s(t.basicInfo.householdConsumption)+t._s(t.basicInfo.unit))])])]),e("div",{staticClass:"item"},[t._m(6),e("div",[e("span",[t._v(t._s(t.basicInfo.householdCost+" 元"))])])]),e("div",{staticClass:"item"},[t._m(7),e("div",[e("span",[t._v(t._s(t.basicInfo.shareUnitPrice)+t._s(t.basicInfo.chargeUnit))])])]),e("div",{staticClass:"item"},[t._m(8),e("div",[e("span",[t._v(t._s(t.basicInfo.householdShareCost+" 元"))])])]),e("div",{staticClass:"item"},[t._m(9),e("div",[e("span",[t._v(t._s(t.basicInfo.unpaidExpenses+" 元"))])])])])])])]),e("div",{staticClass:"main-content"},[e("div",{staticClass:"content"},[e("div",{staticClass:"s_title"},[t._v("账单记录")]),e("div",{},[t._m(10),e("VueTable",{ref:"table",attrs:{config:t.config},on:{tableCheck:t.tableCheck}},[e("template",{slot:"footer"},[e("div",{staticClass:"table-footer"},[e("button",{on:{click:function(e){return t.print(t.table_row)}}},[t._v("打印")]),e("button",{on:{click:function(e){return t.notice(t.table_row)}}},[t._v("账单提醒")])])])],2)],1)])]),e("el-dialog",{attrs:{title:"退款备注",width:"480px",top:"40vh",visible:t.remarkshow},on:{close:function(e){return t.resetDialog()},"update:visible":function(e){t.remarkshow=e}}},[e("div",[t._v(" 退款金额 ")]),e("div",{staticClass:"dialang-box"},[e("el-input",{staticStyle:{width:"423px",height:"32px"},attrs:{placeholder:"请输入退款金额",size:"mini",oninput:"value=value.replace(/[^0-9.]/g,'')"},model:{value:t.refundPrice,callback:function(e){t.refundPrice=e},expression:"refundPrice"}})],1),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{attrs:{size:"mini"},on:{click:function(e){t.remarkshow=!1}}},[t._v("取 消")]),e("el-button",{attrs:{size:"mini",type:"primary"},on:{click:function(e){return t.remarkshowOk()}}},[t._v("确 定")])],1)]),e("Preview",{attrs:{dialogVisible:t.paymentPreview},on:{dialogPreview:t.dialogPreview}})],1)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"title"},[e("span",[t._v("基本信息")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"span"},[e("span",[t._v("抄表类型:")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"span"},[e("span",[t._v("总用量:")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"span"},[e("span",[t._v("总计费用:")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"span"},[e("span",[t._v("用量单价:")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"span"},[e("span",[t._v("住户用量:")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"span"},[e("span",[t._v("住户总费用:")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"span"},[e("span",[t._v("公摊单价:")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"span"},[e("span",[t._v("公摊总费用:")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"span"},[e("span",[t._v("剩余未缴费用:")])])},function(){var t=this,e=t._self._c;return e("div",[e("div")])}],n=a("1615"),r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"preview"},[e("el-dialog",{attrs:{visible:t.dialogVisible,fullscreen:!0,"before-close":t.handleClose},on:{"update:visible":function(e){t.dialogVisible=e}}},[e("div",{staticClass:"preview-header"},[e("div",{staticClass:"esc-preview",on:{click:function(e){return t.dialogPreview()}}},[e("i",{staticClass:"el-icon-s-marketing",staticStyle:{"font-size":"24px","margin-left":"33px","margin-right":"9px"}}),e("span",[t._v("退出预览")])])]),e("div",{staticClass:"preview_body"},[e("div",{staticClass:"preview_content"},[e("div",{staticClass:"preview_title"},[e("span",[t._v("新城悦物业服务有限公司")])]),e("div",{staticClass:"preview_box"},[e("div",{staticClass:"preview_item"},[e("span",[t._v("姓名:黄鑫")])]),e("div",{staticClass:"preview_item"},[e("span",[t._v("房间号:2-2-303")])]),e("div",{staticClass:"preview_item"},[e("span",[t._v("缴纳状态:未缴纳")])]),e("div",{staticClass:"preview_item"},[e("span",[t._v("付款时间:2020-09-01 10:22")])])]),e("div",{staticClass:"preview_table"},[e("el-table",{staticStyle:{width:"100%"},attrs:{data:t.tableData,border:""}},[e("el-table-column",{attrs:{prop:"table1",label:"房屋面积"}}),e("el-table-column",{attrs:{prop:"table2",label:"应缴金额"}}),e("el-table-column",{attrs:{prop:"table3",label:"费率"}}),e("el-table-column",{attrs:{prop:"table4",label:"滞纳金"}}),e("el-table-column",{attrs:{prop:"table5",label:"缴费期限"}}),e("el-table-column",{attrs:{prop:"table6",label:"支付方式"}})],1)],1),e("div",[e("div",{staticClass:"preview_box"},[e("div",{staticClass:"preview_item"},[e("span",[t._v("实收金额人民币(大写):贰佰陆拾圆壹角捌分")])])]),e("div",{staticClass:"preview_box"},[e("div",{staticClass:"preview_item"},[e("span",[t._v("本收据不作为报销凭证,盖章有效,妥善保存,遗失不补。(白-客户,红-记账,黄-存根)")])])])])])])])],1)},l=[],o={props:{dialogVisible:{type:Boolean,default:!1}},data(){return{tableData:[{table1:"126.3",table2:"236.18元",table3:"4%",table4:"29.49元",table5:"2021-09-01 00:00:00",table6:"微信支付"}]}},methods:{handleClose(t){},dialogPreview(){this.$emit("dialogPreview",!1)}},dialogVisible:{handler(t){this.isVisibleDialog=t,console.log(t+"----newValue")},immediate:!0}},u=o,c=(a("f1384"),a("2877")),d=Object(c["a"])(u,r,l,!1,null,null,null),h=d.exports,p=(a("662b"),{components:{Preview:h},data(){return{paymentPreview:!1,expenseId:null,remarkshow:!1,refundPrice:null,changeRed:-1,changeRedS:-1,thatId:null,drawerTitle:"",add_vrisible:!1,addDate:null,options:[],ids:[],basicInfo:{months:null,type:null,totals:null,cost:null,unitPrice:null,unit:null,householdConsumption:null,householdCost:null,shareUnitPrice:null,chargeUnit:null,householdShareCost:null,unpaidExpenses:null},sysOptions:[],loading:!1,table_row:[],activeName:"0",config:{thead:[{label:"序号",type:"index",width:"80"},{label:"创建时间",prop:"createDate",width:"auto"},{label:"房屋名称",prop:"roomName",width:"auto"},{label:"房屋住户",prop:"residents",width:"auto"},{label:"房屋面积",prop:"houseArea",width:"auto"},{label:"应缴金额",prop:"amountPayable",width:"auto"},{label:"实缴纳金额",prop:"paidAmount",width:"auto"},{label:"剩余未缴金额",prop:"remainingUnpaidAmount",width:"auto"},{label:"缴纳状态",prop:"status",width:"auto",type:"function",callback:(t,e)=>{switch(t.status){case 1:return"未缴纳";case 2:return"部分缴纳";case 3:return"已缴纳"}}},{label:"费率",prop:"rate",width:"auto"},{label:"滞纳金",prop:"lateFee",width:"auto",type:"function",callback:(t,e)=>t.lateFee.toFixed(2)},{label:"缴费期限",prop:"paymentPeriod",width:"auto"},{label:"缴费时间",prop:"paymentTime",width:"auto"},{label:"逾期天数",prop:"expectedDays",width:"auto"},{label:"支付方式",prop:"type",width:"auto",type:"function",callback:(t,e)=>{switch(t.type){case 1:return"微信";case 2:return"支付宝";case 3:return"现金";case 4:return"预缴支付";case 5:return"银行卡";case 6:return"支票";case 7:return"转账";case 8:return"开发商代付"}}}],table_data:[],url:"meterReadingRecordFindShareBillDetailsListByShareId",search_item:[],data:{pageNum:1,size:10,shareBillId:null}}}},created(){if(console.log(this.$route.params),console.log(this.$route.params.data.id),this.$route.params.data.id){console.log(this.$route.params.data.id);let t=this.$route.params.data;this.config.data.shareBillId=t.id,this.basicInfo.months=t.months,this.basicInfo.type=t.type,this.basicInfo.totals=t.totals,this.basicInfo.cost=t.cost,this.basicInfo.unitPrice=t.unitPrice,this.basicInfo.unit=t.unit,this.basicInfo.householdConsumption=t.householdConsumption,this.basicInfo.householdCost=t.householdCost,this.basicInfo.shareUnitPrice=t.shareUnitPrice,this.basicInfo.chargeUnit=t.chargeUnit,this.basicInfo.householdShareCost=t.householdShareCost,this.basicInfo.unpaidExpenses=t.unpaidExpenses}Object(n["n"])().then(t=>{console.log(t),t.data.forEach(t=>{let e={value:t.id,label:t.name};this.config.search_item[1].options.push(e)})})},methods:{notice(t){1==t.length?Object(n["w"])({sysMessage:{content:"您有新的公摊账单请及时查看,避免逾期"},shareBillDetailsId:t[0].id}).then(t=>{t.status&&this.$message({type:"success",message:t.message})}):this.$message({type:"error",message:"请选择一条数据推送"})},back(){this.$router.go(-1)},print(){this.paymentPreview=!0},dialogPreview(){this.paymentPreview=!1},chooseYears(t,e){this.changeRed=e,console.log(t),this.config.data.years="全部"!=t?t:null},chooseMon(t,e){this.changeRedS=e,console.log(t),this.config.data.months="全部"!=t?t:null},refund(t){1!=t.length?this.$message({type:"error",message:"请选择一条记录进行备注"}):(this.expenseId=t[0].id,this.remarkshow=!0)},remarkshowOk(){null===this.refundPrice&&this.$message({type:"error",message:"金额不能为空"});let t={id:this.expenseId,refundPrice:this.refundPrice};Object(n["t"])(t).then(t=>{t.status?(this.$message({message:t.message,type:"success"}),this.$refs.table.requestData(),this.remarkshow=!1):this.$message({message:t.message,type:"error"})})},resetDialog(){this.refundPrice=null},tableCheck(t){this.table_row=t},del(t){if(t.length){let t=[];for(let e=0;e<this.table_row.length;e++)t.push(this.table_row[e].id);this.$confirm("是否确认删除?删除不可恢复","删除",{confirmButtonText:"确定",cancelButtonText:"取消",confirmButtonClass:"confirmButton",cancelButtonClass:"cancelButton"}).then(()=>{this.$refs.table.tableDelete(t)}).catch(t=>{})}else this.$message.error("请选中需要删除的数据")}}}),f=p,m=(a("5264"),Object(c["a"])(f,s,i,!1,null,"c1d726a8",null));e["default"]=m.exports},f1384:function(t,e,a){"use strict";a("2372")}}]);
|