1 line
63 KiB
JavaScript
1 line
63 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-aafb960e"],{"0b37":function(t,e,n){"use strict";function o(t,e){var n,o,a,r;try{n=t.toString().split(".")[1].length}catch(i){n=0}try{o=e.toString().split(".")[1].length}catch(i){o=0}if(r=Math.abs(n-o),a=Math.pow(10,Math.max(n,o)),r>0){var l=Math.pow(10,r);n>o?(t=Number(t.toString().replace(".","")),e=Number(e.toString().replace(".",""))*l):(t=Number(t.toString().replace(".",""))*l,e=Number(e.toString().replace(".","")))}else t=Number(t.toString().replace(".","")),e=Number(e.toString().replace(".",""));return(t+e)/a}function a(t,e){var n,o,a=0,r=0;try{a=t.toString().split(".")[1].length}catch(l){}try{r=e.toString().split(".")[1].length}catch(l){}return n=Number(t.toString().replace(".","")),o=Number(e.toString().replace(".","")),n/o*Math.pow(10,r-a)}function r(t,e){var n=0,o=t.toString(),a=e.toString();try{n+=o.split(".")[1].length}catch(r){}try{n+=a.split(".")[1].length}catch(r){}return Number(o.replace(".",""))*Number(a.replace(".",""))/Math.pow(10,n)}function l(t,e){var n,o,a,r;try{n=t.toString().split(".")[1].length}catch(l){n=0}try{o=e.toString().split(".")[1].length}catch(l){o=0}return a=Math.pow(10,Math.max(n,o)),r=n>=o?n:o,(Math.round(t*a-e*a)/a).toFixed(r)}function i(t,e){if(0==t&&(t=0),/[^[\-|0-9][0-9]*]/.test(t))return"0";if(null==t||""===t)return"";t=t.toString().replace(/^(-\d*)$/,"$1."),t=t.toString().replace(/^(\d*)$/,"$1."),t=(t+"00").replace(/(\d*\.\d\d)\d*/,"$1"),t=t.replace(".",",");var n=/(\d)(\d{3},)/;while(n.test(t))t=t.replace(n,"$1,$2");if(t=t.replace(/,(\d\d)$/,".$1"),0===e||void 0===e){var o=t.split(".");"00"==o[1]&&(t=o[0])}return t}function s(t,e){t=t.toString();var n=t.indexOf(".");return t=-1!==n?t.substring(0,e+n+1):t.substring(0),parseFloat(t).toFixed(e)}function c(t){var e=Object.prototype.toString.call(t).slice(8,-1);return"Null"===e?"Null":"Undefined"===e?"Undefined":e}function u(t){var e,n=c(t);if("Object"===n)e={};else{if("Array"!==n)return t;e=[]}for(var o in t){var a=t[o];c(a),e[o]=u(a)}return e}n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return r})),n.d(e,"d",(function(){return l})),n.d(e,"g",(function(){return i})),n.d(e,"f",(function(){return s})),n.d(e,"e",(function(){return u}))},"2dc3":function(t,e,n){},"66f8":function(t,e,n){"use strict";n("2dc3")},9192:function(t,e,n){"use strict";n.d(e,"z",(function(){return a})),n.d(e,"b",(function(){return r})),n.d(e,"j",(function(){return l})),n.d(e,"l",(function(){return i})),n.d(e,"v",(function(){return s})),n.d(e,"y",(function(){return c})),n.d(e,"A",(function(){return u})),n.d(e,"a",(function(){return p})),n.d(e,"q",(function(){return d})),n.d(e,"o",(function(){return m})),n.d(e,"p",(function(){return f})),n.d(e,"u",(function(){return h})),n.d(e,"s",(function(){return v})),n.d(e,"t",(function(){return b})),n.d(e,"e",(function(){return y})),n.d(e,"B",(function(){return _})),n.d(e,"n",(function(){return w})),n.d(e,"w",(function(){return g})),n.d(e,"k",(function(){return k})),n.d(e,"x",(function(){return I})),n.d(e,"h",(function(){return j})),n.d(e,"g",(function(){return S})),n.d(e,"m",(function(){return T})),n.d(e,"f",(function(){return O})),n.d(e,"r",(function(){return A})),n.d(e,"i",(function(){return N})),n.d(e,"d",(function(){return C})),n.d(e,"c",(function(){return F})),n.d(e,"C",(function(){return L}));var o=n("b775");function a(t){return Object(o["a"])({url:"/appproject/PropertyCompany/pageList",method:"POST",data:t})}function r(t){return Object(o["a"])({url:"/appproject/PropertyCompany/create",method:"POST",data:t})}function l(t){return Object(o["a"])({url:"/appproject/PropertyCompany/update",method:"POST",data:t})}function i(t){return Object(o["a"])({url:"/appproject/PropertyCompany/findCompanyByCode",method:"POST",data:t})}function s(t){return Object(o["a"])({url:"/appproject/PropertyCompany/pageListByCode",method:"POST",data:t})}function c(t){return Object(o["a"])({url:"/appproject/OrderInfo/list",method:"POST",data:t})}function u(t){return Object(o["a"])({url:"/appproject/StaffEvaluate/listStaff",method:"POST",data:t})}function p(t){return Object(o["a"])({url:"/appproject/WorkOrder/listWork",method:"POST",data:t})}function d(t){return Object(o["a"])({url:"/project/FsCharges/create",method:"POST",data:t})}function m(t){return Object(o["a"])({url:"/project/FsCharges/findSubjectByUuid",method:"POST",data:t})}function f(t){return Object(o["a"])({url:"/project/FsCharges/findSubjectByUuid2",method:"POST",data:t})}function h(t){return Object(o["a"])({url:"/project/FsCharges/update",method:"POST",data:t})}function v(t){return Object(o["a"])({url:"/project/FsCharges/delete",method:"POST",data:t})}function b(t){return Object(o["a"])({url:"/project/FsCharges/resume",method:"POST",data:t})}function y(t){return Object(o["a"])({url:"/project/FsCharges/pageList",method:"POST",data:t})}function _(t){return Object(o["a"])({url:"/project/FsCharges/updateRel",method:"POST",data:t})}function w(t){return Object(o["a"])({url:"/project/FsCharges/findById",method:"POST",data:t})}function g(t,e){return Object(o["a"])({url:"/project/FsCharges/importExcel"+e,method:"post",isReturnResponse:!0,responseType:"blob",headers:{"Content-Type":"multipart/form-data;charset=UTF-8"},data:t})}function k(t){return Object(o["a"])({url:"/appproject/MemberEntryRecord/entryAndQuit",method:"POST",data:t})}function I(t){return Object(o["a"])({url:"/appproject/MemberEntryRecord/pageList",method:"POST",data:t})}function j(t){return Object(o["a"])({url:"/appproject/MemberEntryRecord/delete",method:"POST",data:t})}function S(t){return Object(o["a"])({url:"/project/FsCharges/pageList/company",method:"POST",data:t})}function T(t){return Object(o["a"])({url:"/project/FsCharges/findParkCharge",method:"POST",data:t})}function O(t){return Object(o["a"])({url:"/project/FsCharges/pageListV2",method:"POST",data:t})}function A(t){return Object(o["a"])({url:"/project/FsCharges/copy",method:"POST",data:t})}function N(t){return Object(o["a"])({url:"/project/FsCharges/deleteFsCharges",method:"POST",data:t})}function C(t){return Object(o["a"])({url:"/appproject/ChargePriceTemplate/pageList",method:"POST",data:t})}function F(t){return Object(o["a"])({url:"/appproject/ChargePriceTemplate/download",method:"POST",data:t})}function L(t){return Object(o["a"])({url:"/appproject/VideoImageCallback/pageList",method:"POST",data:t})}},"93a9":function(t,e,n){},"997d":function(t,e,n){"use strict";n.d(e,"p",(function(){return a})),n.d(e,"g",(function(){return r})),n.d(e,"i",(function(){return l})),n.d(e,"A",(function(){return i})),n.d(e,"m",(function(){return s})),n.d(e,"a",(function(){return c})),n.d(e,"l",(function(){return u})),n.d(e,"h",(function(){return p})),n.d(e,"B",(function(){return d})),n.d(e,"d",(function(){return m})),n.d(e,"e",(function(){return f})),n.d(e,"k",(function(){return h})),n.d(e,"b",(function(){return v})),n.d(e,"c",(function(){return b})),n.d(e,"j",(function(){return y})),n.d(e,"o",(function(){return _})),n.d(e,"s",(function(){return w})),n.d(e,"q",(function(){return g})),n.d(e,"t",(function(){return k})),n.d(e,"f",(function(){return I})),n.d(e,"C",(function(){return j})),n.d(e,"D",(function(){return S})),n.d(e,"r",(function(){return T})),n.d(e,"v",(function(){return O})),n.d(e,"n",(function(){return A})),n.d(e,"y",(function(){return N})),n.d(e,"z",(function(){return C})),n.d(e,"w",(function(){return F})),n.d(e,"x",(function(){return L})),n.d(e,"E",(function(){return x})),n.d(e,"u",(function(){return P}));var o=n("b775");function a(t){return Object(o["a"])({url:"/appproject/Investment/pageList",method:"post",data:t})}function r(t){return Object(o["a"])({url:"/appproject/Investment/create",method:"post",data:t})}function l(t){return Object(o["a"])({url:"/appproject/Investment/delete",method:"post",data:t})}function i(t){return Object(o["a"])({url:"/appproject/Investment/update",method:"post",data:t})}function s(t){return Object(o["a"])({url:"/appproject/supplier/listAccountByProjectUuid",method:"post",data:t})}function c(t){return Object(o["a"])({url:"/appproject/InvestmentSubscribe/pageList",method:"post",data:t})}function u(t,e){return Object(o["a"])({url:"/appproject/InvestmentSubscribe/importExcel/".concat(e),method:"post",isReturnResponse:!0,responseType:"blob",headers:{"Content-Type":"multipart/form-data;charset=UTF-8"},data:t})}function p(t){return Object(o["a"])({url:"/appproject/InvestmentSubscribe/create",method:"post",data:t})}function d(t){return Object(o["a"])({url:"/appproject/InvestmentSubscribe/update",method:"post",data:t})}function m(t){return Object(o["a"])({url:"/appproject/InvestmentSubscribe/batchAbandon",method:"post",data:t})}function f(t){return Object(o["a"])({url:"/appproject/InvestmentSubscribe/batchApply",method:"post",data:t})}function h(t){return Object(o["a"])({url:"/appproject/FinanceApprove/findByProjectUuidAndTypeCode",method:"post",data:t})}function v(t){return Object(o["a"])({url:"/appproject/InvestmentPlan/pageList",method:"post",data:t})}function b(t){return Object(o["a"])({url:"/appproject/InvestmentPlan/approve",method:"post",data:t})}function y(t){return Object(o["a"])({url:"/appproject/InvestmentPlan/findById",method:"post",data:t})}function _(t){return Object(o["a"])({url:"/appproject/InvestmentOrder/pageList",method:"post",data:t})}function w(t){return Object(o["a"])({url:"/appproject/InvestmentOrder/pageList",method:"post",data:t})}function g(t){return Object(o["a"])({url:"/appproject/InvestmentPaymentSubscribe/create",method:"post",data:t})}function k(t){return Object(o["a"])({url:"/appproject/InvestmentOrder/total",method:"post",data:t})}function I(t){return Object(o["a"])({url:"/appproject/InvestmentOrder/cancelOrder",method:"post",data:t})}function j(t){return Object(o["a"])({url:"/appproject/InvestmentOrder/updateInvoiceAmount",method:"post",data:t})}function S(t){return Object(o["a"])({url:"/appproject/InvestmentOrder/updatePaymentInfo",method:"post",data:t})}function T(t){return Object(o["a"])({url:"/appproject/InvestmentOrder/findById",method:"post",data:t})}function O(t){return Object(o["a"])({url:"/appproject/InvestmentOrderPaymentRecord/pageList",method:"post",data:t})}function A(t){return Object(o["a"])({url:"/appproject/InvestmentOrderPaymentRecord/listTotal",method:"post",data:t})}function N(t){return Object(o["a"])({url:"/appproject/InvestmentPaymentSubscribe/pageList",method:"post",data:t})}function C(t){return Object(o["a"])({url:"/appproject/InvestmentPaymentSubscribe/paymentConfirm",method:"post",data:t})}function F(t){return Object(o["a"])({url:"/appproject/InvestmentOrderPaymentRecord/paymentConfirm",method:"post",data:t})}function L(t){return Object(o["a"])({url:"/appproject/InvestmentOrderPaymentRecord/statusRollBack",method:"post",data:t})}function x(t){return Object(o["a"])({url:"/appproject/InvestmentOrderPaymentRecord/updateReceiveTime",method:"post",data:t})}function P(t){return Object(o["a"])({url:"/appproject/InvestmentOrderPaymentRecord/export",method:"post",responseType:"blob",data:t})}},b4b7:function(t,e,n){},e207:function(t,e,n){"use strict";n("b4b7")},f7d9:function(t,e,n){"use strict";n.r(e);var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container bgHeight"},[t.list?n("div",[n("div",{ref:"box",staticClass:"searchStys transition_dom"},[n("el-form",{ref:"query",attrs:{model:t.query}},[n("div",{ref:"form_box",staticClass:"searchBar"},[n("div",{staticClass:"searchInput"},[n("el-row",{attrs:{gutter:20}},[n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{prop:"paymentMonthList"}},[n("el-date-picker",{attrs:{format:"yyyy-MM","value-format":"yyyy-MM",type:"months",placeholder:"计提年月"},model:{value:t.query.paymentMonthList,callback:function(e){t.$set(t.query,"paymentMonthList",e)},expression:"query.paymentMonthList"}})],1)],1),t._v(" "),n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{prop:"subjectId"}},[n("el-select",{attrs:{placeholder:"支出科目",filterable:"",clearable:""},on:{change:t.changeCategorySelect},model:{value:t.query.subjectId,callback:function(e){t.$set(t.query,"subjectId",e)},expression:"query.subjectId"}},t._l(t.categoryArr,(function(t){return n("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1)],1),t._v(" "),n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{prop:"investmentId"}},[n("el-select",{attrs:{placeholder:"支出项",filterable:"",clearable:""},model:{value:t.query.investmentId,callback:function(e){t.$set(t.query,"investmentId",e)},expression:"query.investmentId"}},t._l(t.itemList,(function(t){return n("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1)],1),t._v(" "),n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{prop:"orderNo"}},[n("el-input",{attrs:{placeholder:"应付单号",clearable:""},model:{value:t.query.orderNo,callback:function(e){t.$set(t.query,"orderNo",e)},expression:"query.orderNo"}})],1)],1),t._v(" "),n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{prop:"statusList"}},[n("el-select",{attrs:{clearable:"",multiple:"","collapse-tags":"",placeholder:"支出状态"},model:{value:t.query.statusList,callback:function(e){t.$set(t.query,"statusList",e)},expression:"query.statusList"}},t._l(t.payablePayStatusList,(function(t){return n("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1)],1),t._v(" "),n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{prop:"type"}},[n("el-select",{attrs:{clearable:"",placeholder:"应付审批来源"},model:{value:t.query.type,callback:function(e){t.$set(t.query,"type",e)},expression:"query.type"}},t._l(t.payableTypeList,(function(t){return n("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1)],1),t._v(" "),n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{prop:"applyNo"}},[n("el-input",{attrs:{placeholder:"应付审批来源单号",clearable:""},model:{value:t.query.applyNo,callback:function(e){t.$set(t.query,"applyNo",e)},expression:"query.applyNo"}})],1)],1),t._v(" "),n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{prop:"receiveUnit"}},[n("el-input",{attrs:{placeholder:"收款单位",clearable:""},model:{value:t.query.receiveUnit,callback:function(e){t.$set(t.query,"receiveUnit",e)},expression:"query.receiveUnit"}})],1)],1),t._v(" "),n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{prop:"receiveBank"}},[n("el-input",{attrs:{placeholder:"收款开户行",clearable:""},model:{value:t.query.receiveBank,callback:function(e){t.$set(t.query,"receiveBank",e)},expression:"query.receiveBank"}})],1)],1),t._v(" "),n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{prop:"receiveAccountNo"}},[n("el-input",{attrs:{placeholder:"收款账户",clearable:""},model:{value:t.query.receiveAccountNo,callback:function(e){t.$set(t.query,"receiveAccountNo",e)},expression:"query.receiveAccountNo"}})],1)],1),t._v(" "),n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{prop:"paymentUnit"}},[n("el-input",{attrs:{placeholder:"付款单位",clearable:""},model:{value:t.query.paymentUnit,callback:function(e){t.$set(t.query,"paymentUnit",e)},expression:"query.paymentUnit"}})],1)],1),t._v(" "),n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{prop:"paymentBank"}},[n("el-input",{attrs:{placeholder:"付款开户行",clearable:""},model:{value:t.query.paymentBank,callback:function(e){t.$set(t.query,"paymentBank",e)},expression:"query.paymentBank"}})],1)],1),t._v(" "),n("el-col",{attrs:{span:6}},[n("el-form-item",{attrs:{prop:"paymentAccountNo"}},[n("el-input",{attrs:{placeholder:"付款账户",clearable:""},model:{value:t.query.paymentAccountNo,callback:function(e){t.$set(t.query,"paymentAccountNo",e)},expression:"query.paymentAccountNo"}})],1)],1),t._v(" "),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{prop:"createTime"}},[n("el-date-picker",{attrs:{type:"datetimerange","range-separator":"至",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-dd HH:mm:ss","start-placeholder":"生成开始时间","end-placeholder":"生成结束时间","default-time":["00:00:00","23:59:59"]},model:{value:t.query.createTime,callback:function(e){t.$set(t.query,"createTime",e)},expression:"query.createTime"}})],1)],1)],1)],1),t._v(" "),n("div",{staticClass:"searchBtn"},[n("el-form-item",[n("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],on:{click:function(e){return t.onReset("query")}}},[t._v("重置")]),t._v(" "),n("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"primary"},on:{click:t.onSearch}},[t._v("查询")]),t._v(" "),t.is_show||"80px"==t.height?t._e():n("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"text"},on:{click:t.upAndDown}},[t._v("展开"),n("i",{staticClass:"el-icon-arrow-down"})]),t._v(" "),t.is_show&&"80px"!=t.height?n("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"text"},on:{click:t.upAndDown}},[t._v("收起"),n("i",{staticClass:"el-icon-arrow-up"})]):t._e()],1)],1)])])],1),t._v(" "),n("div",{staticClass:"totalBar"},[n("el-card",{staticClass:"box-card",attrs:{shadow:"never"}},[n("el-descriptions",{attrs:{column:5}},[n("template",{slot:"title"},[t._v("辅助统计\n "),n("el-tooltip",{attrs:{content:"应支出 = 已支出 + 待支出 + 未支出 + 审批金额",placement:"left"}},[n("i",{staticClass:"el-icon-question"})])],1),t._v(" "),n("el-descriptions-item",{attrs:{label:"应支出"}},[t._v(t._s(t._f("toThousandFilter")(t.totalInfo.totalAmount)))]),t._v(" "),n("el-descriptions-item",{attrs:{label:"已支出"}},[t._v(t._s(t._f("toThousandFilter")(t.totalInfo.paidAmount)))]),t._v(" "),n("el-descriptions-item",{attrs:{label:"待支出"}},[t._v(t._s(t._f("toThousandFilter")(t.totalInfo.processingAmount)))]),t._v(" "),n("el-descriptions-item",{attrs:{label:"未支出"}},[t._v(t._s(t._f("toThousandFilter")(t.totalInfo.unpaidAmount)))]),t._v(" "),n("el-descriptions-item",{attrs:{label:"审批金额"}},[t._v(t._s(t._f("toThousandFilter")(t.totalInfo.approveAmount)))])],2)],1)],1),t._v(" "),n("el-card",{staticClass:"box-card",attrs:{shadow:"never"}},[n("div",{staticClass:"planLst",attrs:{slot:"header"},slot:"header"},[n("span",{staticClass:"planTitle"},[t._v("应付列表")])]),t._v(" "),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],ref:"tableData",attrs:{border:"",data:t.listData,"header-cell-style":t.headClass,"row-key":"id"},on:{"selection-change":t.selectionChange}},[n("el-table-column",{attrs:{type:"selection",align:"center",fixed:"","min-width":"50","show-overflow-tooltip":"",selectable:t.selectable,"reserve-selection":!0}}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"计提年月","min-width":"100","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.paymentMonth||"-")+"\n ")]}}],null,!1,3445385018)}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"应付单号","min-width":"200","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.orderNo||"-")+"\n ")]}}],null,!1,747299327)}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"应付日期","min-width":"100","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("formatDate")(e.row.paymentDate))+"\n ")]}}],null,!1,4140182909)}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"预算分类","min-width":"100","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",{style:{color:2==e.row.budgetType?"red":""}},[t._v("\n "+t._s(t._f("getItemType")(e.row.budgetType,t.budgetTypeList))+"\n ")])]}}],null,!1,1453581944)}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"支出科目","min-width":"140","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.subjectName||"-")+"\n ")]}}],null,!1,2695303979)}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"支出项","min-width":"140","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.investmentName||"-")+"\n ")]}}],null,!1,28108630)}),t._v(" "),n("el-table-column",{attrs:{align:"right",label:"应支出","min-width":"140","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("toThousandFilter")(e.row.totalAmount))+"\n ")]}}],null,!1,359543247)}),t._v(" "),n("el-table-column",{attrs:{align:"right",label:"已支出","min-width":"140","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("toThousandFilter")(e.row.paidAmount))+"\n ")]}}],null,!1,3522384721)}),t._v(" "),n("el-table-column",{attrs:{align:"right",label:"待支出","min-width":"140","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("toThousandFilter")(e.row.processingAmount))+"\n ")]}}],null,!1,3945752358)}),t._v(" "),n("el-table-column",{attrs:{align:"right",label:"未支出","min-width":"140","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("toThousandFilter")(e.row.unpaidAmount))+"\n ")]}}],null,!1,3495943306)}),t._v(" "),n("el-table-column",{attrs:{align:"right",label:"审批金额","min-width":"140","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("toThousandFilter")(e.row.approveAmount))+"\n ")]}}],null,!1,337077250)}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"支出状态","min-width":"110","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[1==e.row.status?n("el-tag",{attrs:{type:"danger"}},[t._v(t._s(t._f("getItemType")(e.row.status,t.payablePayStatusList)))]):t._e(),t._v(" "),2==e.row.status?n("el-tag",{attrs:{type:"warning"}},[t._v(t._s(t._f("getItemType")(e.row.status,t.payablePayStatusList)))]):t._e(),t._v(" "),3==e.row.status?n("el-tag",{attrs:{type:"success"}},[t._v(t._s(t._f("getItemType")(e.row.status,t.payablePayStatusList)))]):t._e(),t._v(" "),4==e.row.status?n("el-tag",{attrs:{type:"info"}},[t._v(t._s(t._f("getItemType")(e.row.status,t.payablePayStatusList)))]):t._e()]}}],null,!1,3931578536)}),t._v(" "),n("el-table-column",{attrs:{align:"right",label:"需发票款项","min-width":"140","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("toThousandFilter")(e.row.needInvoiceAmount))+"\n ")]}}],null,!1,1303302742)}),t._v(" "),n("el-table-column",{attrs:{align:"right",label:"已提供发票","min-width":"140","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("toThousandFilter")(e.row.invoiceAmount))+"\n ")]}}],null,!1,3607524124)}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"应付审批来源","min-width":"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("getItemType")(e.row.type,t.payableTypeList))+"\n ")]}}],null,!1,3032503891)}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"应付审批来源编号","min-width":"240","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.applyNo||"-")+"\n ")]}}],null,!1,3396723717)}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"收款人","min-width":"140","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.receiveUnit||"-")+"\n ")]}}],null,!1,323742877)}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"收款账户","min-width":"140","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.receiveAccountNo||"-")+"\n ")]}}],null,!1,2858926107)}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"收款开户行","min-width":"140","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.receiveBank||"-")+"\n ")]}}],null,!1,3156715421)}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"付款单位","min-width":"140","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.paymentUnit||"-")+"\n ")]}}],null,!1,2343649516)}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"付款开户行","min-width":"140","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.paymentBank||"-")+"\n ")]}}],null,!1,881654764)}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"付款账户","min-width":"140","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.paymentAccountNo||"-")+"\n ")]}}],null,!1,2319664490)}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"生效时间","min-width":"180","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.orderCreateTime||"-")+"\n ")]}}],null,!1,907434607)}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"校对人","min-width":"100","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.checkerName||"-")+"\n ")]}}],null,!1,2596407494)}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"校对时间","min-width":"180","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.checkTime||"-")+"\n ")]}}],null,!1,2637311363)}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"录入发票操作人","min-width":"130","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.invoiceEnterName||"-")+"\n ")]}}],null,!1,3016946830)}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"录入时间","min-width":"180","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.invoiceEnterTime||"-")+"\n ")]}}],null,!1,2572829276)}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"操作","min-width":"150",fixed:"right","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{attrs:{type:"text"},on:{click:function(n){return t.seeDetail(e.row)}}},[t._v("查看")])]}}],null,!1,2820244829)})],1),t._v(" "),n("div",{staticClass:"paginations"},[n("el-pagination",{attrs:{background:"","current-page":t.query.pageNumber,"page-sizes":[10,30,50],"page-size":t.query.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"update:currentPage":function(e){return t.$set(t.query,"pageNumber",e)},"update:current-page":function(e){return t.$set(t.query,"pageNumber",e)},"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1)],1)],1):t._e(),t._v(" "),n("el-dialog",{attrs:{width:"30%",title:t.title,"close-on-click-modal":!1,"close-on-press-escape":!1,visible:t.showDialog,"before-close":t.closeDialog},on:{"update:visible":function(e){t.showDialog=e}}},[n("el-form",{ref:"checkForm",staticClass:"checkForm",attrs:{model:t.checkForm,rules:t.checkRule,"label-width":"140px"}},["off"==t.dialogType?n("el-form-item",{attrs:{label:"登录密码",prop:"pwd"}},[n("el-input",{attrs:{type:"password",clearable:"",placeholder:"请输入登录密码"},model:{value:t.checkForm.pwd,callback:function(e){t.$set(t.checkForm,"pwd",e)},expression:"checkForm.pwd"}})],1):t._e(),t._v(" "),"invoice"==t.dialogType?n("el-form-item",{attrs:{label:"已提供发票金额",prop:"invoiceAmount"}},[n("el-input-number",{attrs:{"controls-position":"right",precision:2,min:0},model:{value:t.checkForm.invoiceAmount,callback:function(e){t.$set(t.checkForm,"invoiceAmount",e)},expression:"checkForm.invoiceAmount"}})],1):t._e(),t._v(" "),"pay"==t.dialogType?n("div",[n("el-form-item",{attrs:{label:"付款单位",prop:"payment"}},[n("el-select",{attrs:{placeholder:"选择付款单位",clearable:"","value-key":"id"},on:{change:t.changeCompany},model:{value:t.checkForm.payment,callback:function(e){t.$set(t.checkForm,"payment",e)},expression:"checkForm.payment"}},t._l(t.companyList,(function(t,e){return n("el-option",{key:e,attrs:{label:t.name,value:t}})})),1)],1),t._v(" "),n("el-form-item",{attrs:{label:"付款开户行",prop:"paymentBank"}},[n("el-input",{attrs:{disabled:"",placeholder:""},model:{value:t.checkForm.paymentBank,callback:function(e){t.$set(t.checkForm,"paymentBank",e)},expression:"checkForm.paymentBank"}})],1),t._v(" "),n("el-form-item",{attrs:{label:"付款账户",prop:"paymentAccountNo"}},[n("el-input",{attrs:{disabled:"",placeholder:""},model:{value:t.checkForm.paymentAccountNo,callback:function(e){t.$set(t.checkForm,"paymentAccountNo",e)},expression:"checkForm.paymentAccountNo"}})],1)],1):t._e(),t._v(" "),n("el-form-item",{attrs:{label:""}},[n("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"primary"},on:{click:t.confirmClick}},[t._v("确 定")]),t._v(" "),n("el-button",{on:{click:t.closeDialog}},[t._v("取 消")])],1)],1)],1),t._v(" "),n("payableDetail",{ref:"detailInfo",attrs:{show:t.see},on:{back:t.detailBack}}),t._v(" "),n("payableApply",{ref:"applyInfo",attrs:{show:t.apply},on:{back:t.detailBack,callback:t.detailCallback}})],1)},a=[],r=n("997d"),l=n("9192"),i=n("dce5"),s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.show?n("div",[n("el-card",{staticClass:"box-card nav-card"},[n("el-page-header",{attrs:{content:t.title},on:{back:t.goBack}})],1),t._v(" "),n("el-card",{staticClass:"box-card"},[n("el-descriptions",{attrs:{title:"应付基础信息",column:"4"}},[n("el-descriptions-item",{attrs:{label:"计费年月"}},[t._v(t._s(t.detailInfo.paymentMonth||"-"))]),t._v(" "),n("el-descriptions-item",{attrs:{label:"应付单号"}},[t._v(t._s(t.detailInfo.orderNo||"-"))]),t._v(" "),n("el-descriptions-item",{attrs:{label:"支出科目"}},[t._v(t._s(t.detailInfo.subjectName||"-"))]),t._v(" "),n("el-descriptions-item",{attrs:{label:"支出项"}},[t._v(t._s(t.detailInfo.investmentName||"-"))]),t._v(" "),n("el-descriptions-item",{attrs:{label:"需发票款项"}},[t._v(t._s(t._f("toThousandFilter")(t.detailInfo.needInvoiceAmount)))]),t._v(" "),n("el-descriptions-item",{attrs:{label:"已提供发票"}},[t._v(t._s(t._f("toThousandFilter")(t.detailInfo.invoiceAmount)))]),t._v(" "),n("el-descriptions-item",{attrs:{label:"校对人"}},[t._v(t._s(t.detailInfo.checkerName||"-"))]),t._v(" "),n("el-descriptions-item",{attrs:{label:"校对时间"}},[t._v(t._s(t.detailInfo.checkTime||"-"))]),t._v(" "),n("el-descriptions-item",{attrs:{label:"付款单位"}},[t._v(t._s(t.detailInfo.paymentUnit||"-"))]),t._v(" "),n("el-descriptions-item",{attrs:{label:"付款开户行"}},[t._v(t._s(t.detailInfo.paymentBank||"-"))]),t._v(" "),n("el-descriptions-item",{attrs:{label:"付款账户"}},[t._v(t._s(t.detailInfo.paymentAccountNo||"-"))]),t._v(" "),n("el-descriptions-item",{attrs:{label:"支出状态"}},[t._v(t._s(t._f("getItemType")(t.detailInfo.status,t.payablePayStatusList)))]),t._v(" "),n("el-descriptions-item",{attrs:{label:"收款人"}},[t._v(t._s(t.detailInfo.receiveUnit||"-"))]),t._v(" "),n("el-descriptions-item",{attrs:{label:"收款开户行"}},[t._v(t._s(t.detailInfo.receiveBank||"-"))]),t._v(" "),n("el-descriptions-item",{attrs:{label:"收款账户"}},[t._v(t._s(t.detailInfo.receiveAccountNo||"-"))]),t._v(" "),n("el-descriptions-item",{attrs:{label:"生成时间"}},[t._v(t._s(t.detailInfo.orderCreateTime||"-"))])],1)],1),t._v(" "),n("el-card",{staticClass:"box-card nav-card"},[n("el-descriptions",{attrs:{title:"支出金额",column:5}},[n("el-descriptions-item",{attrs:{label:"应支出"}},[t._v(t._s(t._f("toThousandFilter")(t.detailInfo.totalAmount)))]),t._v(" "),n("el-descriptions-item",{attrs:{label:"已支出"}},[t._v(t._s(t._f("toThousandFilter")(t.detailInfo.paidAmount)))]),t._v(" "),n("el-descriptions-item",{attrs:{label:"待支出"}},[t._v(t._s(t._f("toThousandFilter")(t.detailInfo.processingAmount)))]),t._v(" "),n("el-descriptions-item",{attrs:{label:"未支出"}},[t._v(t._s(t._f("toThousandFilter")(t.detailInfo.unpaidAmount)))]),t._v(" "),n("el-descriptions-item",{attrs:{label:"审批金额"}},[t._v(t._s(t._f("toThousandFilter")(t.detailInfo.approveAmount)))])],1)],1),t._v(" "),n("el-card",{staticClass:"box-card nav-card"},[n("el-descriptions",{attrs:{title:"说明",colon:!1}},[t.detailInfo.remark?n("el-descriptions-item",{attrs:{span:"3",label:t.detailInfo.remark}}):n("el-descriptions-item",{attrs:{span:"3",label:"暂无说明~"}})],1)],1),t._v(" "),n("el-card",{staticClass:"box-card nav-card"},[n("el-descriptions",{attrs:{title:"审批信息"}},[n("el-descriptions-item",{attrs:{label:"应付来源"}},[t._v(t._s(t._f("getItemType")(t.detailInfo.type,t.payableTypeList)))]),t._v(" "),n("el-descriptions-item",{attrs:{label:"应付编号"}},[t._v(t._s(t.detailInfo.applyNo||"-"))])],1)],1),t._v(" "),n("el-card",{staticClass:"box-card nav-card "},[n("div",{staticClass:"table-card-title"},[t._v("支出明细")]),t._v(" "),n("el-table",{staticStyle:{width:"100%"},attrs:{border:"","header-cell-style":t.headClass,data:t.listData}},[n("el-table-column",{attrs:{align:"center",width:"50",label:"#",type:"index",fixed:""}}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"计提年月","show-overflow-tooltip":"","min-width":"160"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.paymentMonth||"-"))])]}}],null,!1,2230473921)}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"应付单号","show-overflow-tooltip":"","min-width":"220"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.orderNo||"-"))])]}}],null,!1,3944281700)}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"支出科目","show-overflow-tooltip":"","min-width":"160"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.subjectName||"-"))])]}}],null,!1,2232483120)}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"支出项","show-overflow-tooltip":"","min-width":"160"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.investmentName||"-"))])]}}],null,!1,28781229)}),t._v(" "),n("el-table-column",{attrs:{align:"right","show-overflow-tooltip":"",label:"支出金额","min-width":"160"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("toThousandFilter")(e.row.totalAmount)))])]}}],null,!1,1990324468)}),t._v(" "),n("el-table-column",{attrs:{align:"center","show-overflow-tooltip":"",label:"预算分类","min-width":"160"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",{style:{color:2==e.row.budgetType?"red":""}},[t._v(t._s(t._f("getItemType")(e.row.budgetType,t.budgetTypeList)))])]}}],null,!1,1776546872)}),t._v(" "),n("el-table-column",{attrs:{align:"right","show-overflow-tooltip":"",label:"剩余应付金额","min-width":"160"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("toThousandFilter")(e.row.unpaidAmount)))])]}}],null,!1,3865187985)}),t._v(" "),n("el-table-column",{attrs:{align:"center","show-overflow-tooltip":"",label:"支出时间","min-width":"180"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.payTime||"-"))])]}}],null,!1,1473270294)}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"结算方式","show-overflow-tooltip":"","min-width":"160"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("getItemType")(e.row.settlement,t.settlementTypeList)))])]}}],null,!1,3271288722)}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"支付方式","show-overflow-tooltip":"","min-width":"160"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("getItemType")(e.row.type,t.payablePayTypeList)))])]}}],null,!1,3785522720)}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"支出审批来源","show-overflow-tooltip":"","min-width":"160"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("getItemType")(e.row.paymentApplyType,t.expendTypeList)))])]}}],null,!1,412791686)}),t._v(" "),n("el-table-column",{attrs:{align:"center","show-overflow-tooltip":"",label:"支出审批编号","min-width":"240"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.paymentApplyNo||"-"))])]}}],null,!1,3358559044)}),t._v(" "),n("el-table-column",{attrs:{align:"center","show-overflow-tooltip":"",label:"付款单位","min-width":"160"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.paymentUnit||"-"))])]}}],null,!1,3579044535)}),t._v(" "),n("el-table-column",{attrs:{align:"center","show-overflow-tooltip":"",label:"付款开户行","min-width":"160"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.paymentBank||"-"))])]}}],null,!1,3070467255)}),t._v(" "),n("el-table-column",{attrs:{align:"center","show-overflow-tooltip":"",label:"付款账户","min-width":"160"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.paymentAccountNo||"-"))])]}}],null,!1,835234769)}),t._v(" "),n("el-table-column",{attrs:{align:"center","show-overflow-tooltip":"",label:"收款单位","min-width":"160"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.receiveUnit||"-"))])]}}],null,!1,2065507398)}),t._v(" "),n("el-table-column",{attrs:{align:"center","show-overflow-tooltip":"",label:"收款开户行","min-width":"160"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.receiveBank||"-"))])]}}],null,!1,1556930118)}),t._v(" "),n("el-table-column",{attrs:{align:"center","show-overflow-tooltip":"",label:"收款账户","min-width":"160"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.paymentAccountNo||"-"))])]}}],null,!1,2317908881)}),t._v(" "),n("el-table-column",{attrs:{align:"center","show-overflow-tooltip":"",label:"状态","min-width":"160"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("getItemType")(e.row.status,t.paymentStatusList)))])]}}],null,!1,2384931760)}),t._v(" "),n("el-table-column",{attrs:{align:"center","show-overflow-tooltip":"",label:"实际付款日","min-width":"180"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.receiveTime||"-"))])]}}],null,!1,2750493461)}),t._v(" "),n("el-table-column",{attrs:{align:"center","show-overflow-tooltip":"",label:"付款人","min-width":"160"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.payerName||"-"))])]}}],null,!1,3747977555)}),t._v(" "),n("el-table-column",{attrs:{align:"center","show-overflow-tooltip":"",label:"操作时间","min-width":"180"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.payerUpdateTime||"-"))])]}}],null,!1,609378544)})],1)],1),t._v(" "),n("el-card",{staticClass:"box-card nav-card"},[n("el-descriptions",{attrs:{title:"附件凭证",colon:!1}},[t._l(t.fileData(t.detailInfo.fileUrls),(function(e,o){return n("el-descriptions-item",{key:o,attrs:{span:"3",label:e.fileName}},[n("i",{staticClass:"el-icon-download download-style",on:{click:function(n){return t.downloadFile(e)}}})])})),t._v(" "),0==t.fileData(t.detailInfo.fileUrls).length?n("el-descriptions-item",{attrs:{span:"3",label:"无附件信息~"}}):t._e()],2)],1)],1):t._e()},c=[],u={props:{show:{type:Boolean,default:!1}},data:function(){return{budgetTypeList:i["s"],payableTypeList:i["Kb"],payablePayStatusList:i["Hb"],payablePayTypeList:i["Ib"],expendTypeList:i["V"],paymentStatusList:i["Ob"],settlementTypeList:i["hc"],title:"应付详情",itemInfo:"",detailInfo:{},listData:[]}},mounted:function(){},methods:{see:function(t){this.itemInfo=t,this.getInfo(),this.getList()},getInfo:function(){var t=this,e={id:this.itemInfo.id};Object(r["r"])(e).then((function(e){0==e.code&&(t.detailInfo=e.data)}))},getList:function(){var t=this,e={orderNo:this.itemInfo.orderNo,projectUuid:this.$store.state.community_uuid,pageSize:-1,pageNumber:-1,needDefault:1};Object(r["v"])(e).then((function(e){0==e.code&&(t.listData=e.data.records)}))},fileData:function(t){return console.log("val"+t),t&&""!=t?JSON.parse(t):[]},downloadFile:function(t){var e=t.fullUrl,n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="blob",n.onload=function(){var e=URL.createObjectURL(n.response),o=document.createElement("a");o.href=e,o.download=t.fileName,o.target="_blank",o.click()},n.send()},goBack:function(){this.$emit("back")},headClass:function(){return"text-align:center;background:#FAFAFA;"}}},p=u,d=(n("e207"),n("829d")),m=Object(d["a"])(p,s,c,!1,null,"5c06f0bf",null),f=m.exports,h=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.show?n("div",[n("el-card",{staticClass:"box-card nav-card"},[n("el-page-header",{attrs:{content:t.title},on:{back:t.goBack}})],1),t._v(" "),n("el-card",{staticClass:"box-card nav-card"},[n("el-descriptions",{attrs:{title:"支出信息"}},[n("el-descriptions-item",{attrs:{label:"申请人姓名"}},[t._v(t._s(t.detailInfo.name||"-"))]),t._v(" "),n("el-descriptions-item",{attrs:{label:"计提年月"}},[t._v(t._s(t.detailInfo.payMonth||"-"))]),t._v(" "),n("el-descriptions-item",{attrs:{label:"应付日期"}},[t._v(t._s(t.detailInfo.payDate||"-"))]),t._v(" "),n("el-descriptions-item",{attrs:{label:"支出总金额"}},[t._v(t._s(t._f("toThousandFilter")(t.detailInfo.applyAmount)))]),t._v(" "),n("el-descriptions-item",{attrs:{label:"需发票款项"}},[t._v(t._s(t._f("toThousandFilter")(t.detailInfo.needAmount)))]),t._v(" "),n("el-descriptions-item",{attrs:{label:"已提供发票"}},[t._v(t._s(t._f("toThousandFilter")(t.detailInfo.hasAmount)))]),t._v(" "),n("el-descriptions-item",{attrs:{label:"说明",span:"3"}},t._l(t.detailInfo.remark,(function(e,o){return n("div",{key:o},[t._v(t._s("【"+(o+1)+"】"+e))])})),0),t._v(" "),n("el-descriptions-item",{attrs:{label:"费用凭证",span:"3"}},[n("template",{slot:"label"},[t._v("\n 费用凭证\n "),n("el-tooltip",{staticClass:"item apply-ask",attrs:{effect:"dark",placement:"right"}},[n("template",{slot:"content"},[n("div",[t._v("仅支持10m大小以内的附件文件")])]),t._v(" "),n("i",{staticClass:"el-icon-question"})],2)],1),t._v(" "),t._l(t.detailInfo.fileArr,(function(e,o){return n("div",{key:o},[n("el-link",{attrs:{type:"primary"},on:{click:function(n){return t.downloadFile(e)}}},[t._v(t._s(e.fileName))])],1)})),t._v(" "),t.detailInfo.fileArr<=0?n("span",[t._v("-")]):t._e()],2)],1)],1),t._v(" "),n("el-card",{staticClass:"box-card nav-card "},[n("div",{staticClass:"table-card-title"},[t._v("支出明细(总条数:"+t._s(t.listData.length||0)+")")]),t._v(" "),n("el-table",{staticStyle:{width:"100%"},attrs:{border:"","header-cell-style":t.headClass,data:t.listData}},[n("el-table-column",{attrs:{align:"center",width:"50",label:"#",type:"index",fixed:""}}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"计提年月","show-overflow-tooltip":"","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.paymentMonth||"-"))])]}}],null,!1,2230473921)}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"应付单号","show-overflow-tooltip":"","min-width":"220"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.orderNo||"-"))])]}}],null,!1,3944281700)}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"支出科目","show-overflow-tooltip":"","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.subjectName||"-"))])]}}],null,!1,2232483120)}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"支出项","show-overflow-tooltip":"","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.investmentName||"-"))])]}}],null,!1,28781229)}),t._v(" "),n("el-table-column",{attrs:{align:"right","show-overflow-tooltip":"",label:"应支出金额","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("toThousandFilter")(e.row.totalAmount)))])]}}],null,!1,1990324468)}),t._v(" "),n("el-table-column",{attrs:{align:"right","show-overflow-tooltip":"",label:"未支出金额","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("toThousandFilter")(e.row.unpaidAmount)))])]}}],null,!1,3865187985)}),t._v(" "),n("el-table-column",{attrs:{label:"实际支付金额","min-width":"220"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-input-number",{staticStyle:{width:"100%"},attrs:{"controls-position":"right",precision:2,min:0,max:e.row.unpaidAmount},model:{value:e.row.realAmount,callback:function(n){t.$set(e.row,"realAmount",n)},expression:"scope.row.realAmount"}})]}}],null,!1,3193027899)}),t._v(" "),n("el-table-column",{attrs:{align:"right","show-overflow-tooltip":"",label:"已提供发票","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("toThousandFilter")(e.row.invoiceAmount)))])]}}],null,!1,3763587431)}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"应付来源","show-overflow-tooltip":"","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("getItemType")(e.row.type,t.payableTypeList)))])]}}],null,!1,4285614440)}),t._v(" "),n("el-table-column",{attrs:{align:"center","show-overflow-tooltip":"",label:"应付来源编号","min-width":"240"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.applyNo||"-"))])]}}],null,!1,4099259614)}),t._v(" "),n("el-table-column",{attrs:{align:"center","show-overflow-tooltip":"",label:"收款单位","min-width":"140"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.receiveUnit||"-"))])]}}],null,!1,2065507398)}),t._v(" "),n("el-table-column",{attrs:{align:"center","show-overflow-tooltip":"",label:"收款开户行","min-width":"140"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.receiveBank))])]}}],null,!1,2382642443)}),t._v(" "),n("el-table-column",{attrs:{align:"center","show-overflow-tooltip":"",label:"收款账户","min-width":"140"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.receiveAccountNo||"-"))])]}}],null,!1,2539224608)}),t._v(" "),n("el-table-column",{attrs:{align:"center","show-overflow-tooltip":"",label:"应付日期","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("formatDate")(e.row.paymentDate)))])]}}],null,!1,1848624646)}),t._v(" "),n("el-table-column",{attrs:{align:"center","show-overflow-tooltip":"",label:"付款单位","min-width":"140"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.paymentUnit||"-"))])]}}],null,!1,469885303)}),t._v(" "),n("el-table-column",{attrs:{align:"center","show-overflow-tooltip":"",label:"付款开户行","min-width":"140"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.paymentBank||"-"))])]}}],null,!1,1124009399)}),t._v(" "),n("el-table-column",{attrs:{align:"center","show-overflow-tooltip":"",label:"付款账户","min-width":"140"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.paymentAccountNo||"-"))])]}}],null,!1,2317908881)}),t._v(" "),n("el-table-column",{attrs:{align:"center","show-overflow-tooltip":"",label:"生成时间","min-width":"180"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.orderCreateTime||"-"))])]}}],null,!1,1171023348)}),t._v(" "),n("el-table-column",{attrs:{align:"center","show-overflow-tooltip":"",label:"校对人","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.checkerName))])]}}],null,!1,1119147920)}),t._v(" "),n("el-table-column",{attrs:{align:"center","show-overflow-tooltip":"",label:"校对时间","min-width":"180"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.checkTime))])]}}],null,!1,571286677)}),t._v(" "),n("el-table-column",{attrs:{label:"付款方式","min-width":"160",fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-select",{attrs:{placeholder:"付款方式"},model:{value:e.row.realPayType,callback:function(n){t.$set(e.row,"realPayType",n)},expression:"scope.row.realPayType"}},t._l(t.payablePayTypeList,(function(t){return n("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)]}}],null,!1,2434727601)})],1)],1),t._v(" "),n("el-card",{staticClass:"box-card nav-card"},[n("el-form",{ref:"checkInfo",staticClass:"demo-form-inline",attrs:{inline:!0,model:t.checkInfo}},[n("el-form-item",{staticStyle:{"margin-bottom":"0"},attrs:{prop:"typeNum",rules:{required:!0,message:"类型编号不能为空",trigger:"blur"}}},[n("template",{slot:"label"},[t._v("\n 类型编号\n "),n("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"right"}},[n("template",{slot:"content"},[n("div",[t._v("仅支持输入8位以下的数字")]),t._v(" "),""!=t.codeDec?n("div",{staticStyle:{"white-space":"pre-wrap"}},[t._v(t._s(t.codeDec))]):t._e()]),t._v(" "),n("i",{staticClass:"el-icon-question"})],2)],1),t._v(" "),n("el-input",{attrs:{placeholder:"类型编号",clearable:""},model:{value:t.checkInfo.typeNum,callback:function(e){t.$set(t.checkInfo,"typeNum",e)},expression:"checkInfo.typeNum"}})],2),t._v(" "),n("el-form-item",{staticStyle:{"margin-bottom":"0"},attrs:{label:"标题",prop:"title",rules:{required:!0,message:"审批标题不能为空",trigger:"blur"}}},[n("el-input",{staticStyle:{width:"400px"},attrs:{placeholder:"审批标题",clearable:"",maxlength:"20","show-word-limit":""},model:{value:t.checkInfo.title,callback:function(e){t.$set(t.checkInfo,"title",e)},expression:"checkInfo.title"}})],1)],1)],1),t._v(" "),n("el-card",{staticClass:"box-card nav-card"},[n("el-radio-group",{model:{value:t.checkType,callback:function(e){t.checkType=e},expression:"checkType"}},[n("div",{staticStyle:{padding:"5px 0"}},[n("el-radio",{attrs:{label:1,size:"medium"}},[t._v("无需审批,本人已核实,确认已付款")])],1),t._v(" "),n("div",{staticStyle:{padding:"5px 0"}},[n("el-radio",{attrs:{label:2}},[t._v("发起审批,审批通过后,自动销单")])],1),t._v(" "),n("div",{staticStyle:{padding:"5px 0"}},[n("el-radio",{attrs:{label:3}},[t._v("发起审批,审批通过后,不销单")])],1),t._v(" "),n("div",{staticStyle:{padding:"5px 0"}},[n("el-radio",{attrs:{label:4,disabled:""}},[t._v("发起审批,审批通过后,银企直连自动支付")])],1)])],1),t._v(" "),n("el-card",{staticClass:"box-card nav-card",staticStyle:{"text-align":"center"}},[n("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"primary",loading:t.load},on:{click:t.submitCheck}},[t._v("提交")]),t._v(" "),n("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],on:{click:t.goBack}},[t._v("返回")])],1),t._v(" "),n("el-dialog",{attrs:{width:"30%",title:"提交验证","close-on-click-modal":!1,"close-on-press-escape":!1,visible:t.showPwd,"before-close":t.closePwd,"append-to-body":""},on:{"update:visible":function(e){t.showPwd=e}}},[n("el-form",{ref:"checkForm",attrs:{model:t.checkForm,rules:t.checkRule,"label-width":"100px"}},[n("el-form-item",{attrs:{label:"登录密码",prop:"pwd"}},[n("el-input",{attrs:{type:"password",clearable:"",placeholder:"请输入登录密码"},model:{value:t.checkForm.pwd,callback:function(e){t.$set(t.checkForm,"pwd",e)},expression:"checkForm.pwd"}})],1),t._v(" "),n("el-form-item",{attrs:{label:""}},[n("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"primary"},on:{click:t.postMineCheck}},[t._v("确 定")]),t._v(" "),n("el-button",{on:{click:t.closePwd}},[t._v("取 消")])],1)],1)],1)],1):t._e()},v=[],b=n("0b37"),y=n("dd26"),_=n.n(y),w={props:{show:{type:Boolean,default:!1}},data:function(){return{payableTypeList:i["Kb"],payablePayTypeList:i["Ib"],title:"发起支出审批",itemInfo:"",detailInfo:"",load:!1,codeDec:"",listData:[],checkInfo:{title:"",typeNum:""},checkType:1,checkForm:{pwd:""},checkRule:{pwd:[{required:!0,message:"请输入登录密码",trigger:"blur"},{min:6,message:"密码长度最短6位",trigger:"blur"}]},showPwd:!1}},methods:{setItem:function(t){this.itemInfo=t,console.log(t),"WXwork"==t.checkType?this.checkType=2:"myself"==t.checkType&&(this.checkType=1),this.getList(),this.getTips()},getList:function(){var t=this,e={orderNoList:this.itemInfo.orderNoList,pageSize:-1,pageNumber:-1};Object(r["o"])(e).then((function(e){0==e.code&&e.data&&e.data.records.length&&t.getFormatInfo(e.data.records)}))},getFormatInfo:function(t){var e={applyAmount:0,needAmount:0,hasAmount:0};e.payMonth=_()(t[0].paymentMonth),e.payDate=_()(t[0].paymentDate),e.remark=[],e.fileArr=[],e.name=this.$store.state.user.userInfo.memberName,t.map((function(t,n){if(e.applyAmount=Object(b["a"])(e.applyAmount,t.totalAmount),e.needAmount=Object(b["a"])(e.needAmount,t.needInvoiceAmount),e.hasAmount=Object(b["a"])(e.hasAmount,t.invoiceAmount),e.payMonth=_.a.min(e.payMonth,_()(t.paymentMonth)),e.payDate=_.a.min(e.payDate,_()(t.paymentDate)),t.remark&&""!=t.remark&&e.remark.push(t.remark),t.fileUrls&&""!=t.fileUrls){var o=JSON.parse(t.fileUrls);o.map((function(t){e.fileArr.push(t)}))}t.realAmount=t.unpaidAmount,t.realPayType=1})),this.listData=t,e.payMonth=e.payMonth.format("YYYY-MM"),e.payDate=e.payDate.format("YYYY-MM-DD"),this.detailInfo=e},fileData:function(t){return console.log("val"+t),t&&""!=t?JSON.parse(t):[]},downloadFile:function(t){var e=t.fullUrl,n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="blob",n.onload=function(){var e=URL.createObjectURL(n.response),o=document.createElement("a");o.href=e,o.download=t.fileName,o.target="_blank",o.click()},n.send()},getTips:function(){var t=this;Object(r["k"])({projectUuid:this.$store.state.community_uuid,typeCode:"SP10007"}).then((function(e){t.codeDec=e.data.description?e.data.description:""}))},submitCheck:function(){var t=this;this.$refs["checkInfo"].validate((function(e){if(e){t.load=!0;var n=t.getItemList();if(!n.length)return t.$message.error("请检查支出明细列表数据是否完整!"),void(t.load=fasle);if(1==t.checkType)t.showPwd=!0;else{var o={items:n,projectUuid:t.$store.state.community_uuid,title:t.checkInfo.title,typeNum:t.checkInfo.typeNum,type:t.checkType,creatorId:t.$store.state.user.userInfo.memberId,creatorName:t.$store.state.user.userInfo.memberName};t.postCheck(o)}}}))},getItemList:function(){var t=[];return this.listData.forEach((function(e){if(!e.id||null==e.realAmount||void 0==e.realAmount||!e.type)return t=[],!1;t.push({orderId:e.id,totalAmount:e.realAmount,type:e.realPayType})})),t},postMineCheck:function(){var t=this;this.$refs["checkForm"].validate((function(e){if(e){var n=t.getItemList(),o={items:n,projectUuid:t.$store.state.community_uuid,title:t.checkInfo.title,typeNum:t.checkInfo.typeNum,type:t.checkType,creatorId:t.$store.state.user.userInfo.memberId,creatorName:t.$store.state.user.userInfo.memberName,password:t.checkForm.pwd};t.postCheck(o)}}))},postCheck:function(t){var e=this;Object(r["q"])(t).then((function(t){0==t.code?(e.$message({type:"success",message:"操作成功!"}),1==e.checkType?(e.closePwd(),e.callBack(),e.load=!1):(e.callBack(),e.load=!1)):e.load=!1})).catch((function(){e.load=!1}))},closePwd:function(){this.$refs["checkForm"].resetFields(),this.showPwd=!1},goBack:function(){this.$refs["checkInfo"].resetFields(),this.$emit("back")},callBack:function(){this.$refs["checkInfo"].resetFields(),this.$emit("callback")},headClass:function(){return"text-align:center;background:#FAFAFA;"}}},g=w,k=(n("66f8"),Object(d["a"])(g,h,v,!1,null,"18e3fa6c",null)),I=k.exports;function j(t){return j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},j(t)}function S(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function T(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?S(Object(n),!0).forEach((function(e){O(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function O(t,e,n){return(e=A(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function A(t){var e=N(t,"string");return"symbol"==j(e)?e:e+""}function N(t,e){if("object"!=j(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!=j(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var C={components:{payableDetail:f,payableApply:I},data:function(){return{payableTypeList:i["Kb"],payablePayStatusList:i["Hb"],budgetTypeList:i["s"],is_show:!0,see:!1,apply:!1,list:!0,height:"",showDialog:!1,categoryArr:[],itemList:[],total:0,query:{pageNumber:1,pageSize:10,paymentMonthList:[],subjectId:"",investmentId:"",orderNo:"",statusList:[],type:"",applyNo:"",receiveUnit:"",receiveBank:"",receiveAccountNo:"",paymentUnit:"",paymentBank:"",paymentAccountNo:"",createTime:"",subscribeType:2},totalInfo:"",listLoading:!1,listData:[],selectList:[],companyList:[],title:"冲销验证",dialogType:"",saveData:"",checkForm:{pwd:"",invoiceAmount:void 0,payment:"",paymentBank:"",paymentAccountNo:""},checkRule:{pwd:[{required:!0,message:"请输入登录密码",trigger:"blur"},{min:6,message:"密码长度最短6位",trigger:"blur"}],invoiceAmount:{required:!0,message:"请输入已提供发票金额",trigger:["change","blur"]},payment:{required:!0,message:"请选择付款信息",trigger:"change"}}}},created:function(){this.getRealHeight()},mounted:function(){this.getList(),this.getTotal(),this.getCompany(),this.findSubjectBy()},methods:{getList:function(){var t=this;this.listLoading=!0,this.query.projectUuid=this.$store.state.community_uuid,this.query.orderStartTime=this.query.createTime?this.query.createTime[0]:"",this.query.orderEndTime=this.query.createTime?this.query.createTime[1]:"",Object(r["s"])(this.query).then((function(e){0==e.code&&e.data?(t.listData=e.data.records,t.total=e.data.rowsCount,t.listLoading=!1):t.listLoading=!1})).catch((function(e){t.listLoading=!1}))},selectable:function(t,e){return(1==t.status||2==t.status)&&t.unpaidAmount>0},getTotal:function(){var t=this;Object(r["t"])(T({projectUuid:this.$store.state.community_uuid},this.query)).then((function(e){0==e.code&&e.data?t.totalInfo=e.data:(t.totalInfo.totalAmount=0,t.totalInfo.paidAmount=0,t.totalInfo.processingAmount=0,t.totalInfo.unpaidAmount=0,t.totalInfo.approveAmount=0)}))},findSubjectBy:function(){var t=this;Object(l["o"])({projectUuid:this.$store.state.community_uuid,subjectType:4,incomeClassify:2}).then((function(e){0==e.code&&(t.categoryArr=e.data)}))},changeCategorySelect:function(t){t?this.getItemList():(this.query.investmentId="",this.itemList=[])},getItemList:function(){var t=this,e={projectUuid:this.$store.state.community_uuid,pageSize:-1,pageNumber:-1,subjectId:this.query.subjectId};Object(r["p"])(e).then((function(e){t.itemList=e.data.records}))},getCompany:function(){var t=this;Object(r["m"])({uuid:this.$store.state.community_uuid}).then((function(e){e.data&&e.data.length&&(t.companyList=e.data)}))},onSearch:function(){this.query.pageNumber=1,this.getList(),this.getTotal()},onReset:function(t){this.$refs[t].resetFields(),this.itemList=[],this.query.pageNumber=1,this.getList()},handleSizeChange:function(t){this.query.pageSize=t,this.getList()},handleCurrentChange:function(t){this.query.pageNumber=t,this.getList()},selectionChange:function(t){this.selectList=t},openDialog:function(t,e){this.dialogType=t,"invoice"==t||0!=this.selectList.length?("off"==t?this.title="冲销作废验证":"pay"==t?this.title="付款校对":"invoice"==t&&(this.title="录入发票金额",this.saveData=e),this.showDialog=!0):this.$message({type:"error",message:"请选择操作数据"})},changeCompany:function(t){t?(this.checkForm.paymentBank=t.bankName,this.checkForm.paymentAccountNo=t.bankAccount):(this.checkForm.paymentBank="",this.checkForm.paymentAccountNo="")},confirmClick:function(){var t=this;this.$refs["checkForm"].validate((function(e){if(e){var n=[];t.selectList.map((function(t){n.push(t.id)})),"off"==t.dialogType?t.postOffOrderInfo(n):"pay"==t.dialogType?t.postPayInfo(n):"invoice"==t.dialogType&&t.postInvoiceInfo()}}))},postPayInfo:function(t){var e=this,n={ids:t,paymentUnit:this.checkForm.payment.name,paymentId:this.checkForm.payment.id,paymentCreditCode:this.checkForm.payment.corporateCreditCode,paymentAccountNo:this.checkForm.payment.bankAccount,paymentBank:this.checkForm.payment.bankName,checkerId:this.$store.state.user.userInfo.memberId,checkerName:this.$store.state.user.userInfo.memberName};Object(r["D"])(n).then((function(t){0==t.code&&(e.$message({type:"success",message:"校对更新成功!"}),e.closeDialog(),e.$refs.tableData.clearSelection(),e.getList())}))},postInvoiceInfo:function(t){var e=this,n={id:this.saveData.id,invoiceAmount:this.checkForm.invoiceAmount,invoiceEnterId:this.$store.state.user.userInfo.memberId,invoiceEnterName:this.$store.state.user.userInfo.memberName};Object(r["C"])(n).then((function(t){0==t.code&&(e.$message({type:"success",message:"录入更新成功!"}),e.closeDialog(),e.getList())}))},postOffOrderInfo:function(t){var e=this,n={ids:t,password:this.checkForm.pwd,checkerId:this.$store.state.user.userInfo.memberId,checkerName:this.$store.state.user.userInfo.memberName};Object(r["f"])(n).then((function(t){0==t.code&&(e.$message({type:"success",message:"冲销成功!"}),e.closeDialog(),e.$refs.tableData.clearSelection(),e.getList())}))},closeDialog:function(){this.$refs["checkForm"].resetFields(),this.showDialog=!1},seeDetail:function(t){this.see=!0,this.list=!1,this.$nextTick((function(){this.$refs.detailInfo.see(t)}))},payCheck:function(t){if(0!==this.selectList.length){var e=[];this.selectList.map((function(t){e.push(t.orderNo)})),this.apply=!0,this.list=!1,this.$nextTick((function(){this.$refs.applyInfo.setItem({orderNoList:e,checkType:t})}))}else this.$message({type:"error",message:"请选择操作数据"})},detailBack:function(){this.see=!1,this.apply=!1,this.list=!0,this.selectList=[]},detailCallback:function(){this.see=!1,this.apply=!1,this.list=!0,this.selectList=[],this.getList()},upAndDown:function(){this.is_show?this.$refs.box.style.height="80px":this.$refs.box.style.height=this.height,this.is_show=!this.is_show},getRealHeight:function(){this.$nextTick((function(){this.height=this.$refs.form_box.offsetHeight+"px",this.$refs.box.style.height=this.height}))},headClass:function(){return"text-align:center;background:#FAFAFA;"}}},F=C,L=(n("ff17"),Object(d["a"])(F,o,a,!1,null,"3b5412a8",null));e["default"]=L.exports},ff17:function(t,e,n){"use strict";n("93a9")}}]); |