(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-6b54d25c","chunk-3c2d3cee","chunk-3387554e","chunk-0b3cebcf","chunk-d0938f4c","chunk-37bf977e","chunk-f42a35d4","chunk-15caf0ce","chunk-9a80af00"],{"03a5":function(e,t,a){"use strict";a("bfe0")},"04c5":function(e,t,a){},"068b":function(e,t,a){"use strict";a("1ee4")},"07b9":function(e,t,a){},"07d3":function(e,t,a){"use strict";a("7b8a")},"0880":function(e,t,a){"use strict";a.r(t);var r=a("1da1"),n=(a("e9c4"),a("96cf"),a("72c0")),i=a("7d27"),o=a("9f53");i={name:"report",props:["showModel","id","isDetail"],components:{PeriodDatePicker:i.a},mixins:[o.a],data:function(){return{ruleForm:{name:"账龄",start:"",end:""},rules:{name:[{required:!0,message:"请输入报表名称",trigger:"blur"},{min:1,max:50,message:"长度在 1 到 50 个字符",trigger:"blur"}]},activeName:"first",tabsList:[{tabs:"账龄",key:1},{tabs:"部门",key:2},{tabs:"业务员",key:3},{tabs:"合计",key:4},{tabs:"总公司",key:5},{tabs:"分公司",key:6},{tabs:"确认单的数量",key:7},{tabs:"平台",key:8},{tabs:"开票类型",key:9},{tabs:"产品品类",key:10},{tabs:"月",key:11},{tabs:"日",key:12}],loading:!1,title:"设置报表格式",showModelThis:this.showModel}},methods:{timeReturned:function(e){var t=this;return Object(r.a)(regeneratorRuntime.mark((function a(){return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:""!==e.startTime?t.ruleForm.start=e.startTime:t.ruleForm.start="",""!==e.endTime?t.ruleForm.end=e.endTime:t.ruleForm.end="",""!==t.ruleForm.start&&t.ruleForm.end;case 3:case"end":return a.stop()}}),a)})))()},handleClick:function(e,t){},closeModel:function(){},initForm:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("add"!==e.id){t.next=5;break}e.title="设置报表格式",e.loading=!1,t.next=8;break;case 5:return e.isDetail,e.title="设置报表格式",t.next=8,e.initData();case 8:case"end":return t.stop()}}),t)})))()},initData:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,n.a.detail({id:e.id});case 3:if(a=t.sent,e.loading=!1,!a||0!==a.code){t.next=8;break}t.next=14;break;case 8:if(a&&100<=a.code&&a.code<=104)return t.next=11,e.logout();t.next=13;break;case 11:t.next=14;break;case 13:e.$message.warning(a.message);case 14:case"end":return t.stop()}}),t)})))()},submitForm:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$refs.ruleForm.validate(function(){var t=Object(r.a)(regeneratorRuntime.mark((function t(a){var r,i,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!a){t.next=30;break}if(e.loading=!0,r=JSON.parse(JSON.stringify(e.ruleForm)),i={},"add"===e.id)return r.passport=r.password,t.next=8,n.a.add(r);t.next=11;break;case 8:i=t.sent,t.next=14;break;case 11:return t.next=13,n.a.update(r);case 13:i=t.sent;case 14:if(e.loading=!1,!i||0!==i.code){t.next=22;break}o="add"===e.id?"添加成功":"修改成功",e.$notify.success({title:o,message:""}),e.showModelThis=!1,e.$emit("refresh"),t.next=28;break;case 22:if(i&&100<=i.code&&i.code<=104)return t.next=25,e.logout();t.next=27;break;case 25:t.next=28;break;case 27:e.$message.warning(i.message);case 28:t.next=32;break;case 30:return t.abrupt("return",!1);case 32:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());case 2:case"end":return t.stop()}}),t)})))()}},watch:{showModel:function(e){(this.showModelThis=e)&&this.initForm()},showModelThis:function(e){e||this.$emit("cancel")}}},a("cd23"),o=a("2877"),a=Object(o.a)(i,(function(){var e=this,t=e.$createElement;t=e._self._c||t;return t("el-dialog",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{title:e.title,center:!0,align:"left",top:"5vh",width:"1040px","close-on-click-modal":!1,visible:e.showModelThis,"element-loading-text":"拼命加载中","element-loading-spinner":"el-icon-loading","element-loading-background":"rgba(0, 0, 0, 0.8)"},on:{close:e.closeModel,"update:visible":function(t){e.showModelThis=t}}},[t("el-card",[t("el-row",{attrs:{gutter:10}},[t("el-col",{attrs:{span:24}},[t("el-row",{staticStyle:{height:"500px"},attrs:{gutter:10}},[t("el-col",{attrs:{span:18}},[t("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,size:"mini","label-width":"85px","label-position":"top"}},[t("el-row",{attrs:{gutter:10}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"报表名称",prop:"name"}},[t("el-input",{attrs:{placeholder:"请输入报表名称"},model:{value:e.ruleForm.name,callback:function(t){e.$set(e.ruleForm,"name",t)},expression:"ruleForm.name"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"报表数据时间区间",required:""}},[t("period-date-picker",{attrs:{start:e.ruleForm.start,end:e.ruleForm.end,type:1,size:"mini",width:"165px"},on:{timeReturned:function(t){return e.timeReturned(t)}}})],1)],1)],1),t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"报表预览",required:""}})],1),t("el-col",{attrs:{span:24}},[t("el-form-item",[t("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm("ruleForm")}}},[e._v("立即创建")]),t("el-button",{on:{click:function(t){return e.resetForm("ruleForm")}}},[e._v("重置")])],1)],1)],1)],1),t("el-col",{attrs:{span:6}},[t("div",[e._v("报表参数")]),t("div")])],1)],1),t("el-col",{staticStyle:{"text-align":"right"},attrs:{span:24}},[e.isDetail?e._e():t("el-button",{attrs:{type:"primary"},on:{click:e.submitForm}},[e._v("保 存 ")]),t("el-button",{on:{click:function(t){e.showModelThis=!1}}},[e._v(e._s(e.isDetail?"关 闭":"取 消"))])],1)],1)],1)],1)}),[],!1,null,"4758633b",null);t.default=a.exports},"08ff":function(e,t,a){"use strict";a.r(t);var r=a("1da1"),n=(a("96cf"),a("99af"),a("e9c4"),a("d3b7"),a("159b"),a("a15b"),a("a434"),a("3ef2")),i=a("c7f0"),o=a("9f53");i={name:"orderRecord",props:["id","newTime","payNo","dstatus","companyNo"],components:{Upload:i.a},mixins:[o.a],data:function(){return{pickerOptions:{disabledDate:function(e){if(e)return e.getTime()>=(new Date).valueOf()}},image:[],loading:!1,show:!1,ruleForm:{sid:this.id,image:[],paytime:""},feedbacksThis:this.feedbacks,feedbacks:{image:[{required:!0,message:"请选择发票照片",trigger:"change"}],paytime:[{required:!0,message:"请选择回执时间",trigger:"change"}]}}},watch:{newTime:function(e,t){e!==t&&this.initForm()}},mounted:function(){this.initForm()},methods:{transformTime:function(e){e=new Date(e);var t=this.setNum(e.getFullYear()),a=this.setNum(e.getMonth()+1),r=this.setNum(e.getDate()),n=this.setNum(e.getHours()),i=this.setNum(e.getMinutes());e=this.setNum(e.getSeconds());return"".concat(t,"-").concat(a,"-").concat(r," ").concat(n,":").concat(i,":").concat(e)},setNum:function(e){return e<10?"0".concat(e):e+""},open:function(){this.show=!0},initForm:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,e.feedbacksThis=e.feedbacks,t.next=5,e.resetForm();case 5:e.loading=!1;case 6:case"end":return t.stop()}}),t)})))()},resetForm:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$nextTick((function(){e.$refs.ruleForm&&(e.$refs.ruleForm.resetFields(),e.$refs.ruleForm.clearValidate(),e.ruleForm={sid:e.id,image:[],paytime:new Date})}));case 2:case"end":return t.stop()}}),t)})))()},submitForm:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$refs.ruleForm.validate(function(){var t=Object(r.a)(regeneratorRuntime.mark((function t(a){var r,i,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(a)return e.loading=!0,r=JSON.parse(JSON.stringify(e.ruleForm)),i=[],r.image.forEach((function(e){i.push(e.image)})),r.image=i.join(","),r.status="4",r.sid=e.id,r.paytime=e.transformTime(r.paytime),t.next=11,n.a.paymentexam(r);t.next=27;break;case 11:if(!(o=t.sent)||0!==o.code){t.next=19;break}e.$notify.success({title:"回执上传成功!",message:""}),e.showModelThis=!1,e.$emit("refreshAll"),t.next=25;break;case 19:if(o&&100<=o.code&&o.code<=104)return t.next=22,e.logout();t.next=24;break;case 22:t.next=25;break;case 24:e.$message.warning(o.message);case 25:t.next=29;break;case 27:return t.abrupt("return",!1);case 29:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());case 2:case"end":return t.stop()}}),t)})))()},closeImg:function(e,t){var a=this;return Object(r.a)(regeneratorRuntime.mark((function r(){var i;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(t)return a.loading=!0,r.next=4,n.a.invoicedel({id:t});r.next=19;break;case 4:if(!(i=r.sent)||0!==i.code){r.next=10;break}a.ruleForm.image.splice(e,1),a.$refs.ruleForm.validateField("image"),r.next=16;break;case 10:if(i&&100<=i.code&&i.code<=104)return r.next=13,a.logout();r.next=15;break;case 13:r.next=16;break;case 15:a.$message.warning(i.message);case 16:a.loading=!1,r.next=21;break;case 19:a.ruleForm.image.splice(e,1),a.$refs.ruleForm.validateField("image");case 21:case"end":return r.stop()}}),r)})))()},UploadErrorEvent:function(){this.$message.error("图片上传失败!"),this.$refs.ruleForm.validateField("image")},UploadSuccessEvent:function(e){"break"!==e.url&&(e=e.url.url,this.ruleForm.image.push({id:"",image:e}),this.$message.success("图片上传成功!"),this.$refs.ruleForm.validateField("image"))},beforeAvatarUpload:function(e){var t=!1;"image/jpg"!==e.type&&"image/png"!==e.type&&"image/bmp"!==e.type&&"image/jpeg"!==e.type||(t=!0),e=e.size/1024/1024<1;return t||this.$message.error("图片格式不正确!"),e||this.$message.error("图片大小不能超过 1MB!"),t&&e}}},a("84e3"),o=a("2877"),a=Object(o.a)(i,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.feedbacksThis,"label-width":"130px"}},[a("el-row",{attrs:{gutter:10}},[a("el-col",{attrs:{span:24}},[a("el-form-item",{staticClass:"activity-upload",attrs:{label:"回执照片",prop:"image"}},[a("div",{staticClass:"img-list-main clearfix"},[e._l(e.ruleForm.image,(function(t,r){return a("div",{key:t.image+r,staticClass:"img-item",class:{}},[a("img",{directives:[{name:"viewer",rawName:"v-viewer"}],staticClass:"avatar",attrs:{src:t.image}}),a("i",{staticClass:"el-icon-close",on:{click:function(a){return e.closeImg(r,t.id)}}})])})),e.ruleForm.image.length<101?a("div",{staticClass:"btnupload",staticStyle:{position:"relative"},on:{click:e.open}},[a("i",{staticClass:"el-icon-plus avatar-uploader-icon"}),a("Upload",{staticClass:"Upload",attrs:{accept:".jpg,.png,.bmp,.jpeg",multiple:!0,uploadcondition:e.beforeAvatarUpload},on:{UploadErrorEvent:e.UploadErrorEvent,UploadSuccessEvent:e.UploadSuccessEvent}})],1):e._e()],2),a("div",{staticClass:"txt-tips fl"},[a("p",[a("span",{attrs:{sty:""}},[e._v("大小:小于1M;")]),a("span",[e._v("尺寸:100*100;")]),a("span",[e._v("类型:jpg.png.bmp.jpeg")])])])]),a("el-form-item",{attrs:{label:"回执时间",prop:"paytime"}},[a("el-date-picker",{attrs:{type:"datetime","picker-options":e.pickerOptions,"value-format":"yyyy-MM-dd HH:mm:ss",placeholder:"选择回执时间"},model:{value:e.ruleForm.paytime,callback:function(t){e.$set(e.ruleForm,"paytime",t)},expression:"ruleForm.paytime"}})],1)],1)],1)],1)],1),a("el-col",{staticStyle:{"text-align":"right"},attrs:{span:24}},[a("el-button",{attrs:{type:"primary"},on:{click:e.submitForm}},[e._v("保 存 ")])],1)],1)}),[],!1,null,"1c6f65c2",null);t.default=a.exports},"09a2":function(e,t,a){},"0c50":function(e,t,a){"use strict";a.r(t);var r=a("1da1"),n=(a("96cf"),a("5bcd")),i=a("1195"),o=a("6810");n={name:"orderRecord",props:["showModel","id","isDetail","dstatus","payNo","companyNo"],components:{addView:n.default,stepBar:o.default,feedbackView:i.default},data:function(){return{activeNames:"2",newTime:0,activeName:"-1",showView:!0,loading:!1,title:"反馈信息",showModelThis:this.showModel}},watch:{showModel:function(e){(this.showModelThis=e)&&this.initForm()},showModelThis:function(e){e||this.$emit("cancel")}},methods:{closeModel:function(){},refreshAll:function(){this.showModelThis=!1,this.$emit("refresh")},initForm:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.changea();case 2:case"end":return t.stop()}}),t)})))()},changea:function(){this.newTime=(new Date).valueOf()}}},a("409f"),o=a("2877"),i=Object(o.a)(n,(function(){var e=this,t=e.$createElement;t=e._self._c||t;return t("el-dialog",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{title:e.title,center:!0,align:"left",top:"10vh",width:"1040px","close-on-click-modal":!1,visible:e.showModelThis,"element-loading-text":"拼命加载中","element-loading-spinner":"el-icon-loading","element-loading-background":"rgba(0, 0, 0, 0.8)"},on:{"update:visible":function(t){e.showModelThis=t},close:e.closeModel}},[t("el-card",{staticStyle:{"margin-top":"-15px",height:"685px"}},[t("stepBar",{attrs:{id:e.modelId,payNo:e.payNo,dstatus:e.dstatus},on:{refresh:e.searchList}}),t("el-collapse",{attrs:{accordion:""},model:{value:e.activeNames,callback:function(t){e.activeNames=t},expression:"activeNames"}},[t("el-collapse-item",{attrs:{title:"对账详情",name:"1"}},[t("add-view",{attrs:{id:e.id,isDetail:e.isDetail,newTime:e.newTime,payNo:e.payNo},on:{refreshAll:e.refreshAll}})],1),t("el-collapse-item",{attrs:{title:"反馈信息",name:"2"}},[t("feedback-view",{attrs:{id:e.id,newTime:e.newTime,payNo:e.payNo},on:{refreshAll:e.refreshAll}})],1)],1)],1)],1)}),[],!1,null,"0407c560",null);t.default=i.exports},"0c98":function(e,t,a){},"0e40":function(e,t,a){},"0ee5":function(e,t,a){"use strict";t.a=[{name:"启用",code:"1"},{name:"禁用",code:"0"}]},"0ff4":function(e,t,a){},"10c0":function(e,t,a){"use strict";a.r(t);var r=a("1da1"),n=a("5530"),i=(a("96cf"),a("7db0"),a("d3b7"),a("c740"),a("a15b"),a("159b"),a("a9e3"),a("f5ed")),o=a("cf12"),s=a("2f62"),l=a("db30"),c=a("c9be"),u=a("88a9"),d=a("14b9"),p=a("9f53");c={name:"relationQuery",components:{headTemplate:c.default,itemTemplate:u.default,addEdit:d.default},computed:Object(n.a)(Object(n.a)({},Object(s.b)(["tablebtnSize","searchSize","size"])),{},{powers:function(){var e=this.$store.getters.btnList.find((function(e){return"relationQuery"==e.menu_route}))||{};return e&&e.action&&0 0"}],staticClass:"Pagination",staticStyle:{"text-align":"right","margin-top":"10px"}},[a("el-pagination",{attrs:{size:e.searchSize,"current-page":e.parmValue.page,"page-sizes":[15,50,100],"page-size":e.parmValue.size,layout:"total, sizes, prev, pager, next, jumper",total:e.count},on:{"size-change":e.handleSizeChange,"current-change":e.handlePageChange}})],1),a("add-edit",{attrs:{id:e.modelId,"show-model":e.showModel,No:e.No,"is-detail":e.isDetail},on:{refresh:e.searchList,cancel:function(t){e.showModel=!1}}})],1)])}),[function(){var e=this.$createElement;e=this._self._c||e;return e("div",{staticClass:"excelUploadBox"},[e("i",{staticClass:"el-icon-receiving"}),e("span",{staticClass:"boxM"},[this._v("请选择查询依据!")])])}],!1,null,"21d7c217",null);t.default=d.exports},1180:function(e,t,a){"use strict";a("ec38")},1195:function(e,t,a){"use strict";a.r(t);var r=a("1da1"),n=(a("d3b7"),a("159b"),a("e9c4"),a("96cf"),a("3ef2")),i={name:"orderRecord",props:["id","newTime","payNo","companyNo"],mixins:[a("9f53").a],data:function(){return{loading:!1,feedbackForm:{id:this.id,status:"3",companyNo:""},options:[],feedbacksThis:this.feedbacks,feedbacks:{companyNo:[{required:!0,message:"请选择财务信息",trigger:"change"}]}}},watch:{newTime:function(e,t){e!==t&&this.initForm()}},mounted:function(){this.initForm()},methods:{initForm:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,e.initData();case 3:return e.loading=!0,e.feedbacksThis=e.feedbacks,t.next=8,e.resetForm();case 8:e.loading=!1;case 9:case"end":return t.stop()}}),t)})))()},resetForm:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$nextTick((function(){e.$refs.feedbackForm&&(e.$refs.feedbackForm.resetFields(),e.$refs.feedbackForm.clearValidate(),e.feedbackForm={id:e.id,status:"3",companyNo:""})}));case 2:case"end":return t.stop()}}),t)})))()},chang:function(e){var t;this.options.forEach((function(a){a.companyNo===e&&(t=a)})),this.feedbackForm.company_name=t.company_name,this.feedbackForm.company_license=t.company_license,this.feedbackForm.bank_name=t.bank_name,this.feedbackForm.bankNo=t.bankNo},submitForm:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$refs.feedbackForm.validate(function(){var t=Object(r.a)(regeneratorRuntime.mark((function t(a){var r,i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(a)return e.loading=!0,r=JSON.parse(JSON.stringify(e.feedbackForm)),r={sid:r.id,payNo:e.payNo,status:r.status,companyNo:r.companyNo},i={},t.next=7,n.a.again(r);t.next=24;break;case 7:if(i=t.sent,e.loading=!1,!i||0!==i.code){t.next=16;break}e.$notify.success({title:"发票信息反馈成功!",message:""}),e.showModelThis=!1,e.$emit("refreshAll"),t.next=22;break;case 16:if(i&&100<=i.code&&i.code<=104)return t.next=19,e.logout();t.next=21;break;case 19:t.next=22;break;case 21:e.$message.warning(i.message);case 22:t.next=26;break;case 24:return t.abrupt("return",!1);case 26:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());case 2:case"end":return t.stop()}}),t)})))()},initData:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.options=[],t.next=3,n.a.companyall({});case 3:if(!(a=t.sent)||0!==a.code||!a.data){t.next=8;break}e.options=a.data,t.next=14;break;case 8:if(a&&100<=a.code&&a.code<=104)return t.next=11,e.logout();t.next=13;break;case 11:t.next=14;break;case 13:e.$message.warning(a.message);case 14:case"end":return t.stop()}}),t)})))()}}};a("1180"),a=a("2877"),a=Object(a.a)(i,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form",{ref:"feedbackForm",staticClass:"demo-feedbackForm",attrs:{model:e.feedbackForm,rules:e.feedbacksThis,"label-width":"130px"}},[a("el-row",{attrs:{gutter:0}},[a("el-col",{attrs:{span:23}},[a("el-form-item",{attrs:{label:"公司财务信息",prop:"companyNo"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择财务信息"},on:{change:e.chang},model:{value:e.feedbackForm.companyNo,callback:function(t){e.$set(e.feedbackForm,"companyNo",t)},expression:"feedbackForm.companyNo"}},e._l(e.options,(function(t){return a("el-option",{key:t.companyNo,attrs:{label:t.company_name,value:t.companyNo,disabled:"0"==t.status}},[a("span",{staticStyle:{float:"left"}},[e._v(e._s(t.company_name))]),a("span",{staticStyle:{float:"right",color:"#8492a6","font-size":"13px"}},[e._v(e._s(t.bank_name))])])})),1)],1),e.feedbackForm.companyNo?a("el-col",{attrs:{span:24}},[a("el-row",{attrs:{gutter:0}},[a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{size:"mini",label:"单位名称",prop:"company_name"}},[a("el-input",{attrs:{disabled:""},model:{value:e.feedbackForm.company_name,callback:function(t){e.$set(e.feedbackForm,"company_name",t)},expression:"feedbackForm.company_name"}})],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{size:"mini",label:"纳税人识别号",prop:"company_license"}},[a("el-input",{attrs:{disabled:""},model:{value:e.feedbackForm.company_license,callback:function(t){e.$set(e.feedbackForm,"company_license",t)},expression:"feedbackForm.company_license"}})],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{size:"mini",label:"银行名称",prop:"bank_name"}},[a("el-input",{attrs:{disabled:""},model:{value:e.feedbackForm.bank_name,callback:function(t){e.$set(e.feedbackForm,"bank_name",t)},expression:"feedbackForm.bank_name"}})],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{size:"mini",label:"银行卡号",prop:"bankNo"}},[a("el-input",{attrs:{disabled:""},model:{value:e.feedbackForm.bankNo,callback:function(t){e.$set(e.feedbackForm,"bankNo",t)},expression:"feedbackForm.bankNo"}})],1)],1)],1)],1):e._e()],1),a("el-col",{staticStyle:{"text-align":"right"},attrs:{span:23}},[a("el-button",{attrs:{type:"primary"},on:{click:e.submitForm}},[e._v("提 交 ")])],1)],1)],1)],1)],1)}),[],!1,null,"29be38f0",null);t.default=a.exports},1420:function(e,t,a){"use strict";a.r(t);var r=a("1da1"),n=a("5530"),i=(a("96cf"),a("7db0"),a("d3b7"),a("d81d"),a("1b69")),o=function(e,t){return Object(i.a)("Stats/departtj",e,"post",t)},s=a("2f62");n={name:"table",mixins:[a("9f53").a],computed:Object(n.a)(Object(n.a)({},Object(s.b)(["tablebtnSize","searchSize","size"])),{},{powers:function(){var e=this.$store.getters.btnList.find((function(e){return"table"==e.menu_route}))||{};return e&&e.action&&0Date.now()}},tableData:[]}},mounted:function(){this.restSearch()},methods:{tableRowClassName:function(e){var t=e.row;e=e.rowIndex;return t&&t.child&&0=(new Date).valueOf()}},newTimes:null,examineForm:{invid:this.id,status:"0",remark:"",invtime:""},activeForm:0,oldItem:{buyer_address:"",buyer_bank:"",buyer_id:"",buyer_name:"",seller_address:"",seller_bank:"",seller_id:"",seller_name:""},newItem:{buyer_address:"",buyer_bank:"",buyer_id:"",buyer_name:"",seller_address:"",seller_bank:"",seller_id:"",seller_name:""},ratioItem:{buyer_address:!0,buyer_bank:!0,buyer_id:!0,buyer_name:!0,seller_address:!0,seller_bank:!0,seller_id:!0,seller_name:!0},length:0,oldresList:{buyer:{},seller:{},list:[]},resList:{buyer:{},seller:{},list:[]},ratioresList:{buyer:{},seller:{},list:[]},ratioNo:{id:"",item_list:[],issue_date:!0,subtotal_amount:!0,subtotal_tax:!0,total:!0},options:[{value:"0",label:"通过"},{value:"4",label:"驳回"}],examineFormThis:{status:[{required:!0,message:"请选择审核状态",trigger:"change"}],remark:[{required:!1,message:"请输入价税合计",trigger:"blur"}],invtime:[{required:!0,message:"请选择发票审核时间",trigger:"change"}]},examForm:{id:"",item_list:[],issue_date:"",subtotal_amount:"",subtotal_tax:"",total:""},examsThis:this.exams,activeImg:0,exams:{item_list:[],issue_date:[{required:!0,message:"请输入开票日期",trigger:"blur"}],subtotal_amount:[{required:!0,message:"请输入合计金额",trigger:"blur"}],subtotal_tax:[{required:!0,message:"请输入合计税额",trigger:"blur"}],total:[{required:!0,message:"请输入价税合计",trigger:"blur"}]}}},watch:{newTime:function(e,t){e!==t&&this.initForm()}},mounted:function(){this.initForm()},methods:{changeS:function(e){this.examineFormThis.remark[0].required="4"===e},initForm:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,e.examsThis=e.exams,t.next=6,e.getData();case 6:return t.next=8,e.initData();case 8:case"end":return t.stop()}}),t)})))()},resetForm:function(e){var t=this;return Object(r.a)(regeneratorRuntime.mark((function a(){return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return t.newTimes=(new Date).valueOf(),a.next=4,t.$nextTick((function(){t.$refs.examForm&&(t.$refs.examForm.resetFields(),t.$refs.examForm.clearValidate(),t.setKey(t.resList.buyer,t.oldresList.buyer,t.ratioresList.buyer),t.setKey(t.resList.seller,t.oldresList.seller,t.ratioresList.seller),t.setNewKey(e))}));case 4:t.loading=!1;case 5:case"end":return a.stop()}}),a)})))()},setKey:function(e,t,a){for(var r in e)this.newItem[r]=JSON.parse(JSON.stringify(e[r]));for(var n in t)this.oldItem[n]=JSON.parse(JSON.stringify(t[n]));for(var i in a)this.ratioItem[i]=JSON.parse(JSON.stringify(a[i]))},setNewKey:function(e){var t,a=JSON.parse(JSON.stringify(this.resList.list[e]));for(t in a)"goods"===t?this.examForm.item_list=JSON.parse(JSON.stringify(a[t])):this.examForm[t]=JSON.parse(JSON.stringify(a[t]));var r,n=JSON.parse(JSON.stringify(this.ratioresList.list[e]));for(r in n)"goods"===r?this.ratioNo.item_list=JSON.parse(JSON.stringify(n[r])):this.ratioNo[r]=JSON.parse(JSON.stringify(n[r]));this.examineForm.invtime=""===this.examineForm.invtime?this.transformTime(new Date):this.examineForm.invtime},transformTime:function(e){e=new Date(e);var t=this.setNum(e.getFullYear()),a=this.setNum(e.getMonth()+1),r=this.setNum(e.getDate()),n=this.setNum(e.getHours()),i=this.setNum(e.getMinutes());e=this.setNum(e.getSeconds());return"".concat(t,"-").concat(a,"-").concat(r," ").concat(n,":").concat(i,":").concat(e)},setNum:function(e){return e<10?"0".concat(e):e+""},getData:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var a,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=3,n.a.companydetail({companyNo:e.companyNo,sid:e.id});case 3:if(!(a=t.sent)||0!==a.code){t.next=10;break}r=a.data||[],e.oldresList={buyer:{},seller:{},list:[]},e.oldresList.buyer={buyer_address:r.company_address+r.mobile,buyer_bank:r.bank_name+r.bankNo,buyer_id:r.company_license,buyer_name:r.company_name},t.next=16;break;case 10:if(a&&100<=a.code&&a.code<=104)return t.next=13,e.logout();t.next=15;break;case 13:t.next=16;break;case 15:e.$message.warning(a.message);case 16:case"end":return t.stop()}}),t)})))()},initData:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var a,r,i,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.oldresList.list=[],e.resList={buyer:{},seller:{},list:[]},e.ratioresList={buyer:{},seller:{},list:[]},t.next=4,n.a.invoiceinfo({sid:e.id});case 4:if(!((a=t.sent)&&0===a.code&&a.data&&a.data.invoice&&0 table > tbody");n.a.create(t,{disabled:!this.isRowDrop,ghostClass:"sortable-ghost",animation:180,delay:0,onEndevt:function(t){var a=e.data.splice(t.oldIndex,1)[0];e.data.splice(t.newIndex,0,a)}})},columnDrop:function(){var e=this,t=document.querySelector(".el-table__header-wrapper tr");n.a.create(t,{disabled:!this.isColDrop,ghostClass:"sortable-ghost",animation:180,delay:0,onEnd:function(t){var a=e.columns.splice(t.oldIndex,1)[0];e.columns.splice(t.newIndex,0,a)}})},getObjPrototype:function(e,t){return new Function("obj","return obj.".concat(t))(e)},doLayout:function(){var e;(e=this.$refs.elTable).doLayout.apply(e,arguments)},clearSelection:function(){var e;(e=this.$refs.elTable).clearSelection.apply(e,arguments)},toggleRowSelection:function(){var e;(e=this.$refs.elTable).toggleRowSelection.apply(e,arguments)},toggleAllSelection:function(){var e;(e=this.$refs.elTable).toggleAllSelection.apply(e,arguments)},setCurrentRow:function(){var e;(e=this.$refs.elTable).setCurrentRow.apply(e,arguments)},toggleRowExpansion:function(){var e;(e=this.$refs.elTable).toggleRowExpansion.apply(e,arguments)}}},a("f111"),a("fdde"),a=a("2877"),a=Object(a.a)(r,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"table-header"},[e._l(e.table._defaultHeader_,(function(t,r){return["setcol"==t?a("el-dropdown",{key:r,staticClass:"setcol-table-lie",attrs:{placement:"bottom-end",trigger:"click","hide-on-click":!1}},[a("el-button",{attrs:{size:"small"}},[e._v("列设置")]),a("el-dropdown-menu",{class:"ex-table-setcol-dropdown",attrs:{slot:"dropdown"},slot:"dropdown"},[e._l(e.setColumns,(function(t,r){return[t._noset_?e._e():a("el-dropdown-item",{key:"setColumns"+r},[a("el-switch",{attrs:{"active-text":t.label,"active-value":!1,"inactive-value":!0},model:{value:t._hidden_,callback:function(a){e.$set(t,"_hidden_",a)},expression:"column._hidden_"}})],1)]}))],2)],1):e._e()]})),e._t("table-header",null,{selection:e.tableSelection,alldata:e.data})],2),a("el-table",e._g(e._b({ref:"elTable",staticStyle:{width:"100%"},attrs:{data:e.data,size:e.size,"span-method":e.arraySpanMethod},on:{"selection-change":function(t){e.tableSelection=t}}},"el-table",e.table,!1),e.$listeners),[e._l(e.columns,(function(t,r){return[t._hidden_||!t.type||t._slot_?t._hidden_?e._e():a("el-table-column",e._b({key:r,attrs:{"show-overflow-tooltip":""},scopedSlots:e._u([{key:"header",fn:function(r){return[a("span",[e._v(e._s(t.label))]),t._screen_?a("span",{on:{click:function(a){return a.stopPropagation(),e.addConditionItemByCol(t,r)}}},[!1===t._screen_tip_?a("i",{staticClass:"el-icon-connection",style:e.isHasScreenColumn(t)?"color:#3888e5;":""}):a("el-tooltip",{attrs:{effect:t._screen_tip_effect_||"dark",content:t._screen_tip_||"筛选",placement:t._screen_tip_placement_||"top"}},[a("i",{staticClass:"el-icon-connection",style:e.isHasScreenColumn(t)?"color:#3888e5;":""})])],1):e._e()]}},{key:"default",fn:function(r){return t._slot_?e._t(t._slot_,null,{scope:r}):t._render_?[a("ex-slot",{attrs:{column:t,render:t._render_,scope:r}})]:[a("span",[e._v(e._s(t._format_?t._format_(r.row):e.getObjPrototype(r.row,t.prop)))])]}}],null,!0)},"el-table-column",t,!1)):a("el-table-column",e._b({key:r,attrs:{align:"center",width:"45px"}},"el-table-column",t,!1))]}))],2),!1!==e.page&&e.data&&0(new Date).valueOf()}},rules:{sale_name:[{required:!0,message:"请输入创建人",trigger:"blur"}],department:[{required:!0,message:"请输入部门",trigger:"blur"}],cgd_tax:[{required:!0,message:"请输入采购毛利率",trigger:"blur"}],cat_f:[{required:!0,message:"请选择商品分类",trigger:"change"}],supplierNo:[{type:"array",required:!0,message:"请选择供应商公司",trigger:"change"}],qrdType:[{required:!0,message:"请输入订单类型",trigger:"blur"}],good_total:[{required:!0,message:"请输入货款总金额",trigger:"blur"}],sequenceNo:[{required:!0,message:"请输入单据号",trigger:"blur"}],poNo:[{required:!0,message:"请输入PO编号",trigger:"blur"}],khNo:[{type:"array",required:!0,message:"请选择购买方公司",trigger:"change"}],tax:[{type:"array",required:!0,message:"请选择税率",trigger:"change"}],companyNo:[{type:"array",required:!0,message:"请选择销售方公司",trigger:"change"}],contactor:[{required:!0,message:"请输入收货人",trigger:"blur"}],mobile:[{required:!0,validator:function(e,t,a){""!==t?Object(o.h)(t)||Object(o.g)(t)?a():a(new Error("联系电话格式不正确!")):a(new Error("请输入联系电话!"))},trigger:"blur"}],addr:[{required:!0,message:"请输入联系地址",trigger:"blur"}],sendtime:[{required:!0,message:"请输入发货时间",trigger:"change"}],goodName:[{required:!0,message:"请输入商品名称",trigger:"blur"}],goodPice:[{required:!0,message:"请输入单价",trigger:"blur"}],goodNum:[{required:!0,message:"请输入数量",trigger:"blur"}]}}},watch:{showModel:function(e){(this.showModelThis=e)&&this.initForm()},showModelThis:function(e){e||this.$emit("cancel")}},methods:{closeModel:function(){},searchChange1:function(e){this.ruleForm.khNo=JSON.parse(JSON.stringify(e)),this.$refs.ruleForm.validateField("khNo")},searchChange2:function(e){this.ruleForm.companyNo=JSON.parse(JSON.stringify(e)),this.$refs.ruleForm.validateField("companyNo")},searchChange3:function(e){this.ruleForm.supplierNo=JSON.parse(JSON.stringify(e)),this.$refs.ruleForm.validateField("supplierNo")},searchChange4:function(e){this.ruleForm.tax=JSON.parse(JSON.stringify(e)),this.$refs.ruleForm.validateField("tax")},initForm:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.setform(),e.searchName1="",e.searchName2="",e.searchName3="",e.searchName4="",e.loading=!0,"add"===e.id)return e.title="添加确认单信息",e.rulesThis=e.rules,t.next=11,e.resetForm();t.next=13;break;case 11:t.next=18;break;case 13:return e.isDetail?(e.title="确认单信息详情",e.rulesThis={}):(e.title="修改确认单信息",e.rulesThis=e.rules),t.next=16,e.resetForm();case 16:return t.next=18,e.initData();case 18:return t.next=20,e.getCatList();case 20:e.loading=!1;case 21:case"end":return t.stop()}}),t)})))()},initData:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var a,r,i,o,s,l,c,u,d,p,m,f,h,b,g,w,v,x,_,y,k,F,S,N;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.a.detail({id:e.id});case 2:if(!(a=t.sent)||0!==a.code){t.next=12;break}N=a.data,r=N.addr,i=N.cgd_tax,o=N.contactor,s=N.department,l=N.goodName,c=N.goodNum,u=N.goodPice,d=N.good_total,p=N.khNo,m=N.mobile,f=N.poNo,h=N.qrdType,b=N.sale_name,g=N.sendtime,w=N.supperinfo,v=N.supplier,x=N.supplierNo,_=N.companyNo,y=N.sequenceNo,k=N.knName,F=N.tax,S=N.cat_f,N=N.rateid,e.searchName1=k,e.searchName2=w,e.searchName3=v,e.searchName4=F,e.ruleForm={khNo:[p],companyNo:[_],supplierNo:[x],sale_name:b,department:s,qrdType:h,good_total:+d,sequenceNo:y,poNo:f,contactor:o,mobile:m,addr:r,cat_f:S||"",sendtime:g,goodName:l,goodPice:+u,goodNum:+c,cgd_tax:+i,tax:[N]},t.next=18;break;case 12:if(a&&100<=a.code&&a.code<=104)return t.next=15,e.logout();t.next=17;break;case 15:t.next=18;break;case 17:e.$message.warning(a.message);case 18:case"end":return t.stop()}}),t)})))()},resetForm:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$nextTick((function(){e.$refs.ruleForm&&(e.$refs.ruleForm.resetFields(),e.$refs.ruleForm.clearValidate(),e.setform())}));case 2:case"end":return t.stop()}}),t)})))()},setform:function(){this.ruleForm={khNo:[],companyNo:[],supplierNo:[],sale_name:"",department:"网络部",qrdType:"客服确认单",good_total:0,sequenceNo:"",poNo:"",contactor:"",mobile:"",addr:"",cat_f:"",sendtime:"",goodName:"",goodPice:0,goodNum:0,cgd_tax:0,tax:[]}},numBlur:function(){this.ruleForm.good_total=this.setNum(+this.ruleForm.goodPice*+this.ruleForm.goodNum)},setNum:function(e){return e?parseFloat(e+"").toFixed(2):"0"},getCatList:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var a,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.options=[],a={pid:"",level:"1"},t.next=4,n.a.getcat(a);case 4:if(!(r=t.sent)||0!==r.code){t.next=9;break}e.options=r.data,t.next=15;break;case 9:if(r&&100<=r.code&&r.code<=104)return t.next=12,e.logout();t.next=14;break;case 12:t.next=15;break;case 14:e.$message.warning(r.message);case 15:case"end":return t.stop()}}),t)})))()},submitForm:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$refs.ruleForm.validate(function(){var t=Object(r.a)(regeneratorRuntime.mark((function t(a){var n,i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!a){t.next=28;break}if(e.loading=!0,n=JSON.parse(JSON.stringify(e.ruleForm)),"0.00"===parseFloat(n.goodPice+"").toFixed(2))return e.$message.warning("商品单价不能为0!"),e.loading=!1,t.abrupt("return");t.next=7;break;case 7:if(0===n.goodNum)return e.$message.warning("商品数量不能为0!"),e.loading=!1,t.abrupt("return");t.next=11;break;case 11:for(i in n.companyNo=n.companyNo[0],n.khNo=n.khNo[0],n.supplierNo=n.supplierNo[0],n.tax=n.tax[0],n.buyer=n.sale_name,n.buy_depart=n.department,n.id=e.id,n)n[i]=n[i]+"";if(0!==Number(n.cgd_tax)){t.next=24;break}e.$confirm("当前采购毛利率为0,是否提交?","温馨提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.httpSubmit(n);case 2:case"end":return t.stop()}}),t)})))).catch((function(){e.loading=!1})),t.next=26;break;case 24:return t.next=26,e.httpSubmit(n);case 26:t.next=30;break;case 28:return t.abrupt("return",!1);case 30:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());case 2:case"end":return t.stop()}}),t)})))()},httpSubmit:function(e){var t=this;return Object(r.a)(regeneratorRuntime.mark((function a(){var r,i;return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(r={},"add"===t.id)return delete e.id,a.next=5,n.a.add(e);a.next=8;break;case 5:r=a.sent,a.next=11;break;case 8:return a.next=10,n.a.update(e);case 10:r=a.sent;case 11:if(t.loading=!1,!r||0!==r.code){a.next=19;break}i="add"===t.id?"添加成功!":"修改成功!",t.$notify.success({title:i,message:""}),t.showModelThis=!1,t.$emit("refresh"),a.next=25;break;case 19:if(r&&100<=r.code&&r.code<=104)return a.next=22,t.logout();a.next=24;break;case 22:a.next=25;break;case 24:t.$message.warning(r.message);case 25:case"end":return a.stop()}}),a)})))()}}},a("bec2"),a=a("2877"),a=Object(a.a)(i,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{title:e.title,center:!0,align:"left",top:"5vh",width:"1040px","close-on-click-modal":!1,visible:e.showModelThis,"element-loading-text":"拼命加载中","element-loading-spinner":"el-icon-loading","element-loading-background":"rgba(0, 0, 0, 0.8)"},on:{"update:visible":function(t){e.showModelThis=t},close:e.closeModel}},[a("el-card",{staticStyle:{"margin-top":"-20px"}},[a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,"status-icon":"",rules:e.rulesThis,size:"mini","label-width":"93px"}},[a("el-row",{attrs:{gutter:10}},[a("el-col",{staticStyle:{padding:"0 0 10px 0","margin-top":"-5px"},attrs:{span:24}},[a("el-divider",[a("el-tag",{attrs:{size:"mini"}},[e._v("确认单信息")])],1)],1),a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{label:"创建人",prop:"sale_name"}},[a("el-input",{attrs:{placeholder:"请输入创建人",disabled:e.isDetail,maxlength:"200"},model:{value:e.ruleForm.sale_name,callback:function(t){e.$set(e.ruleForm,"sale_name","string"==typeof t?t.trim():t)},expression:"ruleForm.sale_name"}})],1)],1),a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{label:"部门",prop:"department"}},[a("el-input",{attrs:{placeholder:"请输入部门",disabled:"",maxlength:"200"},model:{value:e.ruleForm.department,callback:function(t){e.$set(e.ruleForm,"department","string"==typeof t?t.trim():t)},expression:"ruleForm.department"}})],1)],1),a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{label:"确认单类型",prop:"qrdType"}},[a("el-input",{attrs:{placeholder:"请输入确认单类型",disabled:"",maxlength:"200"},model:{value:e.ruleForm.qrdType,callback:function(t){e.$set(e.ruleForm,"qrdType","string"==typeof t?t.trim():t)},expression:"ruleForm.qrdType"}})],1)],1),a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{label:"采购毛利率",prop:"cgd_tax"}},[a("el-input-number",{staticStyle:{width:"100%"},attrs:{"controls-position":"right",placeholder:"请输入采购毛利率",disabled:e.isDetail,min:0,precision:2,"step-strictly":"",step:.01,max:100},on:{change:e.numBlur},model:{value:e.ruleForm.cgd_tax,callback:function(t){e.$set(e.ruleForm,"cgd_tax",t)},expression:"ruleForm.cgd_tax"}})],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"单据号",prop:"sequenceNo"}},[a("el-input",{attrs:{placeholder:"请输入单据号",disabled:e.isDetail,maxlength:"200"},model:{value:e.ruleForm.sequenceNo,callback:function(t){e.$set(e.ruleForm,"sequenceNo","string"==typeof t?t.trim():t)},expression:"ruleForm.sequenceNo"}})],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"PO编号",prop:"poNo"}},[a("el-input",{attrs:{placeholder:"请输入PO编号",disabled:e.isDetail,maxlength:"200"},model:{value:e.ruleForm.poNo,callback:function(t){e.$set(e.ruleForm,"poNo","string"==typeof t?t.trim():t)},expression:"ruleForm.poNo"}})],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"购买方公司",prop:"khNo"}},[a("search-select",{attrs:{code:e.ruleForm.khNo,placeholder:"请选择购买方公司",names:e.searchName1,"is-detail":"add"!==e.id,type:"1",size:"mini",disabled:e.isDetail},on:{end:e.searchChange1}})],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"销售方公司",prop:"companyNo"}},[a("search-select",{attrs:{code:e.ruleForm.companyNo,placeholder:"请选择销售方公司",names:e.searchName2,type:"2",size:"mini","is-detail":"add"!==e.id,disabled:e.isDetail},on:{end:e.searchChange2}})],1)],1),a("el-col",{staticStyle:{padding:"0 0 10px 0","margin-top":"-5px"},attrs:{span:24}},[a("el-divider",[a("el-tag",{attrs:{size:"mini"}},[e._v("收货信息")])],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"收货人",prop:"contactor"}},[a("el-input",{attrs:{placeholder:"请输入收货人",maxlength:"200",disabled:e.isDetail},model:{value:e.ruleForm.contactor,callback:function(t){e.$set(e.ruleForm,"contactor","string"==typeof t?t.trim():t)},expression:"ruleForm.contactor"}})],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"联系电话",prop:"mobile"}},[a("el-input",{attrs:{placeholder:"请输入联系电话",maxlength:"200",disabled:e.isDetail},model:{value:e.ruleForm.mobile,callback:function(t){e.$set(e.ruleForm,"mobile","string"==typeof t?t.trim():t)},expression:"ruleForm.mobile"}})],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"联系地址",prop:"addr"}},[a("el-input",{attrs:{placeholder:"请输入联系地址",maxlength:"200",disabled:e.isDetail},model:{value:e.ruleForm.addr,callback:function(t){e.$set(e.ruleForm,"addr","string"==typeof t?t.trim():t)},expression:"ruleForm.addr"}})],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"发货时间",prop:"sendtime"}},[a("el-date-picker",{staticStyle:{width:"100%",margin:"0"},attrs:{editable:!1,clearable:!0,size:"mini","picker-options":e.pickerOptions,placeholder:"请选择发货时间",type:"datetime",disabled:e.isDetail,"value-format":"yyyy-MM-dd HH:mm:ss"},model:{value:e.ruleForm.sendtime,callback:function(t){e.$set(e.ruleForm,"sendtime",t)},expression:"ruleForm.sendtime"}})],1)],1),a("el-col",{staticStyle:{padding:"0 0 10px 0","margin-top":"-5px"},attrs:{span:24}},[a("el-divider",[a("el-tag",{attrs:{size:"mini"}},[e._v("商品信息")])],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"供应商公司",prop:"supplierNo"}},[a("search-select",{attrs:{code:e.ruleForm.supplierNo,placeholder:"请选择供应商公司",type:"3",size:"mini",names:e.searchName3,disabled:e.isDetail,"is-detail":"add"!==e.id},on:{end:e.searchChange3}})],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"商品分类",prop:"cat_f"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{filterable:"",disabled:e.isDetail,placeholder:"请选择商品分类"},model:{value:e.ruleForm.cat_f,callback:function(t){e.$set(e.ruleForm,"cat_f",t)},expression:"ruleForm.cat_f"}},e._l(e.options,(function(e,t){return a("el-option",{key:e.cat_name+t,attrs:{label:e.cat_name,value:e.cat_name}})})),1)],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"商品名称",prop:"goodName"}},[a("el-input",{attrs:{placeholder:"请输入商品名称",maxlength:"200",disabled:e.isDetail},model:{value:e.ruleForm.goodName,callback:function(t){e.$set(e.ruleForm,"goodName","string"==typeof t?t.trim():t)},expression:"ruleForm.goodName"}})],1)],1),a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{label:"数量",prop:"goodNum"}},[a("el-input-number",{staticStyle:{width:"100%"},attrs:{"controls-position":"right",placeholder:"请输入数量",disabled:e.isDetail,min:0,precision:0,"step-strictly":"",step:1,max:9999999},on:{change:e.numBlur},model:{value:e.ruleForm.goodNum,callback:function(t){e.$set(e.ruleForm,"goodNum",t)},expression:"ruleForm.goodNum"}})],1)],1),a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{label:"单价","label-width":"55px",prop:"goodPice"}},[a("el-input-number",{staticStyle:{width:"100%"},attrs:{"controls-position":"right",placeholder:"请输入单价",disabled:e.isDetail,min:0,precision:2,"step-strictly":"",step:.01,max:9999999},on:{change:e.numBlur},model:{value:e.ruleForm.goodPice,callback:function(t){e.$set(e.ruleForm,"goodPice",t)},expression:"ruleForm.goodPice"}})],1)],1),a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{label:"货款总额",prop:"good_total"}},[a("el-input",{attrs:{placeholder:"请输入货款总额",disabled:""},model:{value:e.ruleForm.good_total,callback:function(t){e.$set(e.ruleForm,"good_total",e._n(t))},expression:"ruleForm.good_total"}},[a("template",{slot:"append"},[e._v("元")])],2)],1)],1),a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{label:"税率",prop:"tax"}},[a("search-select",{attrs:{code:e.ruleForm.tax,placeholder:"请选择税率",type:"4",size:"mini",names:e.searchName4,disabled:e.isDetail,"is-detail":"add"!==e.id},on:{end:e.searchChange4}})],1)],1),a("el-col",{staticStyle:{"text-align":"right",padding:"5px 0 0 0"},attrs:{span:12}},[e.isDetail?e._e():a("el-button",{attrs:{size:"mini",type:"primary"},on:{click:e.submitForm}},[e._v("保 存 ")]),a("el-button",{attrs:{size:"mini"},on:{click:function(t){e.showModelThis=!1}}},[e._v(e._s(e.isDetail?"关 闭":"取 消"))])],1)],1)],1)],1)],1)}),[],!1,null,"1bf67bc3",null);t.default=a.exports},"5de4":function(e,t,a){"use strict";a.r(t);var r=a("1da1"),n=a("5530"),i=(a("96cf"),a("7db0"),a("d3b7"),a("99af"),a("d81d"),a("e9c4"),a("159b"),a("f5ed")),o=a("21fa"),s=a("b36d"),l=a("2f62"),c=a("9f53");s={name:"MenuOperator",components:{addEdit:s.default},mixins:[i.a,c.a],computed:Object(n.a)(Object(n.a)({},Object(l.b)(["tablebtnSize","searchSize","size"])),{},{powers:function(){var e=this.$store.getters.btnList.find((function(e){return"menuOperator"==e.menu_route}))||{};return e&&e.action&&0 0"}],staticClass:"Pagination",staticStyle:{"text-align":"right","margin-top":"10px"}},[a("el-pagination",{attrs:{size:e.searchSize,"current-page":e.parmValue.page,"page-sizes":[15,50,100],"page-size":e.parmValue.size,layout:"total, sizes, prev, pager, next, jumper",total:e.count},on:{"size-change":e.handleSizeChange,"current-change":e.handlePageChange}})],1)],1):a("no-auth")],1)}),[],!1,null,"9d923b9a",null);t.default=s.exports},"5f10":function(e,t,a){"use strict";a.r(t);var r=a("1da1"),n=(a("96cf"),a("7caa")),i={name:"specs",props:["showModel","id"],mixins:[a("9f53").a],data:function(){return{loading:!1,title:"业务参数详情",showModelThis:this.showModel,dataInfo:{}}},methods:{closeModel:function(){},initForm:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.initData();case 2:case"end":return t.stop()}}),t)})))()},initData:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var a,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,n.a.detail({id:e.id});case 3:if(a=t.sent,e.loading=!1,!a||0!==a.code){t.next=10;break}r=a.data,e.dataInfo=r,t.next=16;break;case 10:if(a&&100<=a.code&&a.code<=104)return t.next=13,e.logout();t.next=15;break;case 13:t.next=16;break;case 15:e.$message.warning(a.message);case 16:case"end":return t.stop()}}),t)})))()}},watch:{showModel:function(e){(this.showModelThis=e)&&this.initForm()},showModelThis:function(e){e||this.$emit("cancel")}}};a("1fb6"),a=a("2877"),a=Object(a.a)(i,(function(){var e=this,t=e.$createElement;t=e._self._c||t;return t("el-dialog",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{title:e.title,center:!0,align:"left",top:"5vh",width:"700px","close-on-click-modal":!1,visible:e.showModelThis,"element-loading-text":"拼命加载中","element-loading-spinner":"el-icon-loading","element-loading-background":"rgba(0, 0, 0, 0.8)"},on:{close:e.closeModel,"update:visible":function(t){e.showModelThis=t}}},[t("el-card",[t("el-row",{attrs:{gutter:10}},[t("el-col",{attrs:{span:24}}),t("el-col",{staticStyle:{"text-align":"right"},attrs:{span:24}},[t("el-button",{on:{click:function(t){e.showModelThis=!1}}},[e._v("关 闭")])],1)],1)],1)],1)}),[],!1,null,"77d131a7",null);t.default=a.exports},"5fc8":function(e,t,a){},"60c0":function(e,t,a){},"60e4":function(e,t,a){"use strict";a("57c6")},"61b8":function(e,t,a){"use strict";var r=a("1b69"),n="Admin/";t.a={list:function(e,t){return Object(r.a)(n+"refundlist",e,"post",t)},clist:function(e,t){return Object(r.a)(n+"customerlist",e,"post",t)},add:function(e,t){return Object(r.a)(n+"refundcreate",e,"post",t)},detail:function(e,t){return Object(r.a)(n+"refundinfo",e,"post",t)},delete:function(e,t){return Object(r.a)(n+"refunddel",e,"post",t)},status:function(e,t){return Object(r.a)(n+"refundexam",e,"post",t)}}},"621b":function(e,t,a){"use strict";a.r(t);var r=a("1da1"),n=a("5530"),i=(a("96cf"),a("7db0"),a("d3b7"),a("e9c4"),a("a15b"),a("a9e3"),a("3264")),o=a("1d37"),s=a("61b8"),l=a("f5ed"),c=a("2f62"),u=a("9f53"),d=a("5daa");l={name:"refund",mixins:[l.a,u.a],components:{ExTable:i.default,addEdit:o.default},computed:Object(n.a)(Object(n.a)({},Object(c.b)(["tablebtnSize","searchSize","size"])),{},{powers:function(){var e=this.$store.getters.btnList.find((function(e){return"refund"==e.menu_route}))||{};return e&&e.action&&0 0"}],staticClass:"Pagination",staticStyle:{"text-align":"right","margin-top":"10px"}},[a("el-pagination",{attrs:{size:e.searchSize,"current-page":e.parmValue.page,"page-sizes":[15,50,100],"page-size":e.parmValue.size,layout:"total, sizes, prev, pager, next, jumper",total:e.count},on:{"size-change":e.handleSizeChange,"current-change":e.handlePageChange}})],1)],1):a("no-auth"),a("add-edit",{attrs:{"show-model":e.importshowModel},on:{refresh:e.searchList,cancel:function(t){e.importshowModel=!1}}}),a("add-edit1",{attrs:{id:e.modelId,"show-model":e.showModel,"is-detail":e.isDetail,logNo:e.logNo,exam_remark:e.exam_remark,status:e.status,trade_type:e.trade_type},on:{refresh:e.searchList,cancel:function(t){e.showModel=!1}}})],1)}),[],!1,null,"6ca7d899",null);t.default=i.exports},"6c0a":function(e,t,a){"use strict";var r=a("1b69");t.a={list:function(e,t){return Object(r.a)("Admin/tradepool",e,"post",t)},clist:function(e,t){return Object(r.a)("Admin/customerlist",e,"post",t)}}},"6c6b":function(e,t,a){"use strict";a("9e62")},"6d88":function(e,t,a){"use strict";a.r(t);var r=a("1da1"),n=(a("e9c4"),a("b0c0"),a("96cf"),a("1fd2")),i=a("9f53"),o=a("61f7");i={name:"Account",props:["showModel","id","isDetail","sitem"],mixins:[i.a],data:function(){return{roleList:[],loading:!1,title:"添加账号",showModelThis:this.showModel,ruleForm:{username:"",name:"",mobile:"",email:"",role_id:"",status:"1"},rulesThis:this.rules,rules:{name:[{required:!0,validator:function(e,t,a){""===t?a(new Error("真实姓名不能为空!")):t.length<2||12 0"}],staticClass:"Pagination",staticStyle:{"text-align":"right","margin-top":"10px"}},[a("el-pagination",{attrs:{size:e.searchSize,"current-page":e.parmValue.page,"page-sizes":[10,15,20,30,40],"page-size":e.parmValue.size,layout:"total, sizes, prev, pager, next, jumper",total:e.count},on:{"size-change":e.handleSizeChange,"current-change":e.handlePageChange}})],1),a("add-edit",{attrs:{showModel:e.showModel,id:e.modelId,isDetail:e.isDetail},on:{refresh:e.searchList,cancel:function(t){e.showModel=!1}}})],1)}),[],!1,null,"dd4fcef0",null);t.default=u.exports},"72b0":function(e,t){e.exports="data:image/png;base64,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"},"72c0":function(e,t,a){"use strict";var r=a("1b69"),n="admin/";t.a={add:function(e,t){return Object(r.a)(n+"add",e,"post",t)},delete:function(e,t){return Object(r.a)(n+"delete",e,"post",t)},list:function(e,t){return Object(r.a)(n+"accountlist",e,"post",t)},detail:function(e,t){return Object(r.a)(n+"detail",e,"post",t)},update:function(e,t){return Object(r.a)(n+"update",e,"post",t)},status:function(e,t){return Object(r.a)(n+"accountstatus",e,"post",t)}}},"736e":function(e,t,a){},"742e":function(e,t,a){},"768d":function(e,t,a){"use strict";a("5fc8")},"76fb":function(e,t,a){},7914:function(e,t,a){"use strict";a.r(t);var r=a("2909"),n=a("1da1"),i=(a("96cf"),a("7db0"),a("d3b7"),a("4de4"),a("c740"),a("159b"),a("a434"),a("99af"),a("e9c4"),a("d81d"),a("1b69")),o="Admin/",s=function(e,t){return Object(i.a)(o+"roleinfo",e,"post",t)},l=function(e,t){return Object(i.a)(o+"rolesave",e,"post",t)},c=function(e,t){return Object(i.a)(o+"roleall",e,"post",t)},u=function(e,t){return Object(i.a)(o+"menuactionlist",e,"post",t)},d={name:"Action",mixins:[a("9f53").a],data:function(){return{ruleForm:{},isBtnDisabled:!0,roleActive:{},actionChange:[],roleList:[],rules:[],actionList:[],action_data:[],action:[],private_data:[]}},computed:{powers:function(){var e=this.$store.getters.btnList.find((function(e){return"action"==e.menu_route}))||{};return e&&e.action&&0new Date(e.endTime).valueOf()}},pickerOptions2:{disabledDate:function(t){if(null!=e.startTime&&""!=e.startTime&&t)return t.getTime() ")]):e._e()],1),a("invoice-change",{attrs:{"show-model":e.showModel3,trade_status:e.inv_trade_status,order_status:e.inv_order_status,inv_status:e.inv_inv_status,onces:e.inv_onces,id:e.modelId},on:{refresh:e.invoiceListUpdate,cancel:function(t){e.showModel3=!1}}})],1)])})),1)],1)],1)],1)],1),"029"===e.isDetail?a("el-col",{staticStyle:{"text-align":"right"},attrs:{span:24}},[a("el-form",{ref:"examForm",staticClass:"demo-examForm",staticStyle:{padding:"20px 0 0 0"},attrs:{model:e.examForm,"status-icon":"",rules:e.examRules,"label-width":"110px"}},[a("el-form-item",{attrs:{label:"审核状态",prop:"status"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择审核状态"},on:{change:e.seChange},model:{value:e.examForm.status,callback:function(t){e.$set(e.examForm,"status",t)},expression:"examForm.status"}},e._l(e.options,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),a("el-form-item",{attrs:{label:"审核备注",prop:"remark"}},[a("el-input",{attrs:{type:"textarea",maxlength:"250","show-word-limit":"",autosize:{minRows:6,maxRows:6}},model:{value:e.examForm.remark,callback:function(t){e.$set(e.examForm,"remark",t)},expression:"examForm.remark"}})],1),a("el-form-item",{staticStyle:{"text-align":"right"}},[a("el-button",{attrs:{type:"primary"},on:{click:e.examSubmitForm}},[e._v("保 存 ")])],1)],1)],1):e._e()],1),a("div",{staticClass:"tr",staticStyle:{padding:"10px 0 0 0"}},["003"===e.isDetail?a("el-button",{attrs:{size:"medium",type:"primary"},on:{click:e.submitForm}},[e._v("保 存 ")]):e._e()],1)],1)],1)}),[],!1,null,"49ab5264",null);t.default=s.exports},9406:function(e,t,a){"use strict";a.r(t);var r=[function(){var e=this.$createElement;e=this._self._c||e;return e("div",{staticClass:"duihua"},[e("img",{staticClass:"bg",attrs:{src:a("462d")}}),e("div",{staticClass:"neirong"},[e("img",{attrs:{src:a("72b0")}})])])}],n={name:"dashboard",data:function(){return{emptyGif:a("ff1f")}}},i=(a("1b18e"),a("2877"));i=Object(i.a)(n,(function(){var e=this.$createElement;e=this._self._c||e;return e("div",{staticClass:"dashboard-container"},[e("img",{staticClass:"bg-img",attrs:{src:this.emptyGif}}),this._m(0),e("div",{staticClass:"wudi"},[this._v("woody")])])}),r,!1,null,"a5f9fb52",null);t.default=i.exports},9486:function(e,t,a){"use strict";var r=a("1b69"),n="Admin/";t.a={add:function(e,t){return Object(r.a)(n+"shareadd",e,"post",t)},delete:function(e,t){return Object(r.a)(n+"sharedel",e,"post",t)},list:function(e,t){return Object(r.a)(n+"sharelist",e,"post",t)},detail:function(e,t){return Object(r.a)(n+"shareinfo",e,"post",t)},update:function(e,t){return Object(r.a)(n+"sharesave",e,"post",t)},status:function(e,t){return Object(r.a)(n+"sharestatus",e,"post",t)},accountall:function(e,t){return Object(r.a)(n+"userall",e,"post",t)},groupall:function(e,t){return Object(r.a)(n+"groupall",e,"post",t)},actionList:function(e,t){return Object(r.a)(n+"menuactionlist",e,"post",t)}}},"94a4":function(e,t,a){},"94ce":function(e,t,a){},"95c0":function(e,t,a){"use strict";a.r(t);var r=a("1da1"),n=(a("96cf"),a("d3b7"),a("159b"),a("5bcd")),i=a("d0b8"),o=a("6810");n={name:"orderRecord",props:["showModel","id","isDetail","dstatus","payNo","companyNo"],components:{addView:n.default,stepBar:o.default,InvoiceUpload:i.default},data:function(){return{activeNames:"2",newTime:0,activeName:"-1",showView:!0,loading:!1,title:"上传发票",showModelThis:this.showModel}},watch:{showModel:function(e){(this.showModelThis=e)&&this.initForm()},showModelThis:function(e){e||this.$emit("cancel")}},methods:{closeModel:function(){},refreshAll:function(){this.showModelThis=!1,this.$emit("refresh")},setTotal:function(e){if(!(0 0"}],staticClass:"Pagination",staticStyle:{"text-align":"right","margin-top":"10px"}},[a("el-pagination",{attrs:{size:e.searchSize,"current-page":e.parmValue.page,"page-sizes":[15,50,100],"page-size":e.parmValue.size,layout:"total, sizes, prev, pager, next, jumper",total:e.count},on:{"size-change":e.handleSizeChange,"current-change":e.handlePageChange}})],1)],1)}),[],!1,null,"ade12826",null);t.default=n.exports},d65a:function(e,t,a){},d668:function(e,t,a){"use strict";a.r(t);var r=[function(){var e=this.$createElement;e=this._self._c||e;return e("div",{staticClass:"developing"},[e("img",{attrs:{src:a("baa6"),alt:""}})])}],n={name:"developing"},i=(a("df37"),a("2877"));i=Object(i.a)(n,(function(){this.$createElement;return this._self._c,this._m(0)}),r,!1,null,"71020079",null);t.default=i.exports},d79e:function(e,t,a){"use strict";a.r(t);var r=a("1da1"),n=(a("ac1f"),a("1276"),a("e9c4"),a("a15b"),a("96cf"),a("4022")),i={name:"Group",props:["showModel","id","isDetail"],mixins:[a("9f53").a],data:function(){return{loading:!1,title:"添加用户组",showModelThis:this.showModel,ruleForm:{id:this.id,name:"",group_user:[],group_remark:""},rulesThis:this.rules,rules:{name:[{required:!0,message:"请输入组名称",trigger:"blur"},{min:2,max:30,message:"长度在 2 到 30 个字符",trigger:"blur"}],group_user:[{required:!0,message:"请选择数据共享用户",trigger:"change"}],group_remark:[{required:!0,message:"请输入备注",trigger:"blur"},{min:2,max:300,message:"长度在 2 到 300 个字符",trigger:"blur"}]},dataForm:{name:"",status:""},activeOptions:[]}},watch:{showModel:function(e){(this.showModelThis=e)&&this.initForm()},showModelThis:function(e){e||this.$emit("cancel")}},methods:{closeModel:function(){},initForm:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.getAllActive();case 2:if(e.loading=!0,"add"===e.id)return e.title="添加用户组",e.rulesThis=e.rules,t.next=8,e.resetForm();t.next=10;break;case 8:t.next=15;break;case 10:return e.isDetail?(e.title="用户组详情",e.rulesThis={}):(e.title="修改用户组",e.rulesThis=e.rules),t.next=13,e.resetForm();case 13:return t.next=15,e.initData();case 15:e.loading=!1;case 16:case"end":return t.stop()}}),t)})))()},initData:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var a,r,i,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.a.detail({id:e.id});case 2:if(!(a=t.sent)||0!==a.code){t.next=9;break}i=a.data,r=i.group_name,o=i.group_user,i=i.group_remark,o=o.split(","),e.ruleForm={id:e.id,name:r,group_user:o,group_remark:i},t.next=15;break;case 9:if(a&&100<=a.code&&a.code<=104)return t.next=12,e.logout();t.next=14;break;case 12:t.next=15;break;case 14:e.$message.warning(a.message);case 15:case"end":return t.stop()}}),t)})))()},resetForm:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$nextTick((function(){e.$refs.ruleForm&&(e.$refs.ruleForm.resetFields(),e.$refs.ruleForm.clearValidate(),e.ruleForm={id:e.id,name:"",group_user:[],group_remark:""})}));case 2:case"end":return t.stop()}}),t)})))()},submitForm:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$refs.ruleForm.validate(function(){var t=Object(r.a)(regeneratorRuntime.mark((function t(a){var r,i,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!a){t.next=32;break}if(e.loading=!0,r=JSON.parse(JSON.stringify(e.ruleForm)),i=r.group_user.join(),r.group_user=i,i={},"add"===e.id)return delete r.id,t.next=10,n.a.add(r);t.next=13;break;case 10:i=t.sent,t.next=16;break;case 13:return t.next=15,n.a.update(r);case 15:i=t.sent;case 16:if(e.loading=!1,!i||0!==i.code){t.next=24;break}o="add"===e.id?"添加成功":"修改成功",e.$notify.success({title:o,message:""}),e.showModelThis=!1,e.$emit("refresh"),t.next=30;break;case 24:if(i&&100<=i.code&&i.code<=104)return t.next=27,e.logout();t.next=29;break;case 27:t.next=30;break;case 29:e.$message.warning(i.message);case 30:t.next=34;break;case 32:return t.abrupt("return",!1);case 34:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());case 2:case"end":return t.stop()}}),t)})))()},getAllActive:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.a.accountall(e.dataForm);case 2:if(!(a=t.sent)||0!==a.code||!a.data){t.next=7;break}e.activeOptions=a.data,t.next=13;break;case 7:if(a&&100<=a.code&&a.code<=104)return t.next=10,e.logout();t.next=12;break;case 10:t.next=13;break;case 12:e.$message.warning(a.message);case 13:case"end":return t.stop()}}),t)})))()}}};a("a9b1"),a=a("2877"),a=Object(a.a)(i,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{title:e.title,center:!0,align:"left",top:"5vh",width:"900px","close-on-click-modal":!1,visible:e.showModelThis,"element-loading-text":"拼命加载中","element-loading-spinner":"el-icon-loading","element-loading-background":"rgba(0, 0, 0, 0.8)"},on:{"update:visible":function(t){e.showModelThis=t},close:e.closeModel}},[a("el-card",[a("el-row",{attrs:{gutter:10}},[a("el-col",{attrs:{span:24}},[a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,"status-icon":"",rules:e.rulesThis,"label-width":"80px"}},[a("el-form-item",{attrs:{label:"组名称",prop:"name"}},[a("el-input",{attrs:{placeholder:"请输入组名称",disabled:e.isDetail},model:{value:e.ruleForm.name,callback:function(t){e.$set(e.ruleForm,"name",t)},expression:"ruleForm.name"}})],1),a("el-form-item",{attrs:{label:"组成员",prop:"group_user"}},[a("el-select",{staticClass:"setWidth",attrs:{multiple:"",filterable:"",clearable:"",disabled:e.isDetail},model:{value:e.ruleForm.group_user,callback:function(t){e.$set(e.ruleForm,"group_user",t)},expression:"ruleForm.group_user"}},e._l(e.activeOptions,(function(t){return a("el-option",{key:"group_user"+t.id,attrs:{label:t.nickname,value:t.id,disabled:"1"!==t.status}},[a("span",{staticStyle:{float:"left"}},[e._v(e._s(t.nickname))]),a("span",{staticStyle:{float:"right",color:"#8492a6","font-size":"13px",padding:"0 25px 0 0"}},[e._v(e._s(t.role_name))])])})),1)],1),a("el-form-item",{attrs:{label:"备注",prop:"group_remark"}},[a("el-input",{attrs:{type:"textarea",placeholder:"请输入备注",rows:5,maxlength:"300","show-word-limit":"",disabled:e.isDetail},model:{value:e.ruleForm.group_remark,callback:function(t){e.$set(e.ruleForm,"group_remark",t)},expression:"ruleForm.group_remark"}})],1)],1)],1),a("el-col",{staticStyle:{"text-align":"right"},attrs:{span:24}},[e.isDetail?e._e():a("el-button",{attrs:{type:"primary"},on:{click:e.submitForm}},[e._v("保 存 ")]),a("el-button",{on:{click:function(t){e.showModelThis=!1}}},[e._v(e._s(e.isDetail?"关 闭":"取 消"))])],1)],1)],1)],1)}),[],!1,null,"1ce43f5d",null);t.default=a.exports},d82d:function(e,t,a){},d9b0:function(e,t,a){"use strict";a("9b51")},db30:function(e,t,a){"use strict";a.d(t,"d",(function(){return r})),a.d(t,"c",(function(){return n})),a.d(t,"e",(function(){return i})),a.d(t,"b",(function(){return o})),a.d(t,"j",(function(){return s})),a.d(t,"a",(function(){return c})),a.d(t,"h",(function(){return l})),a.d(t,"i",(function(){return u})),a.d(t,"g",(function(){return d})),a.d(t,"f",(function(){return p}));var r=[{code:"1",name:"发票未核销"},{code:"2",name:"发票部分核销"},{code:"3",name:"发票全部核销"}],n=[{code:"1",name:"资金未核销"},{code:"2",name:"资金部分核销"},{code:"3",name:"资金全部核销"}],i=[{code:"1",name:"确认单未核销"},{code:"2",name:"确认单部分核销"},{code:"3",name:"确认单全部核销"}],o=[{code:"1",name:"未认领"},{code:"2",name:"待审核"},{code:"3",name:"认领完成"},{code:"4",name:"审核驳回"}],s=[{code:"1",name:"待审核"},{code:"2",name:"审核驳回"},{code:"3",name:"关联完成"}],l=[{code:"2",name:"确认单=>资金"},{code:"3",name:"资金=>确认单"}],c=[{code:"1",name:"确认单=>发票"},{code:"2",name:"确认单=>资金"},{code:"3",name:"资金=>确认单"},{code:"4",name:"发票=>资金"},{code:"5",name:"资金=>发票"}],u=[{code:"2",name:"确认单=>资金",active:["order","capital"],orderType:["","4",""],capitalType:["4","",""],invoiceType:["","",""],onces:[!0,!1,!1]},{code:"3",name:"资金=>确认单",active:["capital","order"],orderType:["","4",""],capitalType:["4","",""],invoiceType:["","",""],onces:[!1,!0,!1]},{code:"4",name:"发票=>资金",active:["invoice","capital"],orderType:["","",""],capitalType:["","","4"],invoiceType:["","4",""],onces:[!1,!1,!0]},{code:"5",name:"资金=>发票",active:["capital","invoice"],orderType:["","",""],capitalType:["","","4"],invoiceType:["","4",""],onces:[!1,!0,!1]}],d=[{code:"1",name:"确认单",active:["capital","order","invoice"]},{code:"2",name:"发票",active:["capital","invoice","order"]},{code:"3",name:"资金",active:["order","capital","invoice"]}],p=["优选商城","印刷系统","客服部","泰康小卖部","特殊订单","积分商城","网络部","采购部","销售部","项目部","预付卡"]},dbc0:function(e,t,a){},dc7c:function(e,t,a){"use strict";a("e390")},dced:function(e,t,a){"use strict";a("76fb")},dd50:function(e,t,a){},ddb2:function(e,t,a){"use strict";a("8ced")},df07:function(e,t,a){"use strict";a("e8bd")},df37:function(e,t,a){"use strict";a("30a4")},dfb0:function(e,t,a){},dfb7:function(e,t,a){"use strict";a("d65a")},e38f:function(e,t,a){"use strict";a("26a9")},e390:function(e,t,a){},e3ad:function(e,t,a){"use strict";a.r(t);var r=a("1da1"),n=(a("e9c4"),a("d3b7"),a("159b"),a("a434"),a("a15b"),a("96cf"),a("3ef2")),i=a("5563"),o=a("9f53");i={name:"orderRecord",props:["id","newTime","payNo","companyNo"],components:{InvoiceHead:i.default},mixins:[o.a],data:function(){return{img:"",show:0,length:0,oldItem:{},newItem:{},oldresList:[],resForm:null,resList:[],options:[{value:"2",label:"通过"}],examForm:{item_list:[],issue_date:"",subtotal_amount:"",subtotal_tax:"",total:""},examsThis:this.exams,activeImg:0,exams:{item_list:[],issue_date:[{required:!0,message:"请输入开票日期",trigger:"blur"}],subtotal_amount:[{required:!0,message:"请输入合计金额",trigger:"blur"}],subtotal_tax:[{required:!0,message:"请输入合计税额",trigger:"blur"}],total:[{required:!0,message:"请输入价税合计",trigger:"blur"}]}}},watch:{newTime:function(e,t){e!==t&&this.initForm()}},mounted:function(){this.initForm()},methods:{initForm:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.show=0,e.loading=!0,e.examsThis=e.exams,t.next=5,e.getData();case 5:return t.next=7,e.initData();case 7:e.loading=!1;case 8:case"end":return t.stop()}}),t)})))()},nextStep:function(e){var t=this;return Object(r.a)(regeneratorRuntime.mark((function a(){return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return t.resForm=e,t.show=2,a.next=5,t.carouselChange(0);case 5:case"end":return a.stop()}}),a)})))()},resetForm:function(e,t){var a=this;return Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a.$nextTick((function(){a.$refs.examForm&&(a.$refs.examForm.resetFields(),a.$refs.examForm.clearValidate(),a.examForm.item_list=JSON.parse(JSON.stringify(e.goods)),a.examForm.issue_date=JSON.parse(JSON.stringify(e.issue_date)),a.examForm.subtotal_amount=JSON.parse(JSON.stringify(e.subtotal_amount)),a.examForm.subtotal_tax=JSON.parse(JSON.stringify(e.subtotal_tax)),a.examForm.total=JSON.parse(JSON.stringify(e.total)))}));case 2:case"end":return t.stop()}}),t)})))()},addGoods:function(){var e=this;this.examForm.item_list.push({name:"",specification:"",unit:"",quantity:"",unit_price:"",tax_rate:"",tax:"",amount:""}),this.examForm.item_list.forEach((function(t,a){e.$set(e.examForm.item_list,a,t)}))},deleteRow:function(e){this.examForm.item_list.splice(e,1)},getData:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var a,r,i,o,s,l,c;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.a.companydetail({companyNo:e.companyNo,sid:e.id});case 2:if(!(a=t.sent)||0!==a.code){t.next=12;break}c=a.data||{},r=c.company_address,i=c.mobile,o=c.bank_name,s=c.bankNo,l=c.company_license,c=c.company_name,e.oldresList=[],e.oldItem.buyer_address=r+i,e.oldItem.buyer_bank=o+s,e.oldItem.buyer_id=l,e.oldItem.buyer_name=c,t.next=18;break;case 12:if(a&&100<=a.code&&a.code<=104)return t.next=15,e.logout();t.next=17;break;case 15:t.next=18;break;case 17:e.$message.warning(a.message);case 18:case"end":return t.stop()}}),t)})))()},initData:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var a,r,i,o,s;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.resList=[],t.next=3,n.a.invoiceinfo({sid:e.id});case 3:if((a=t.sent)&&0===a.code&&a.data&&a.data.invoice&&0'+this.defaultMsg+"
将文件放到此处上载",dictMaxFilesExceeded:"最多上传100张",previewTemplate:'
done
error
',init:function(){var e,a=this,r=t.defaultImg;r&&(Array.isArray(r)?0!==r.length&&r.map((function(e,r){return r={name:"name"+r,size:12345,url:e},a.options.addedfile.call(a,r),a.options.thumbnail.call(a,r,e),r.previewElement.classList.add("dz-success"),r.previewElement.classList.add("dz-complete"),!(t.initOnce=!1)})):(this.options.addedfile.call(this,e={name:"name",size:12345,url:r}),this.options.thumbnail.call(this,e,r),e.previewElement.classList.add("dz-success"),e.previewElement.classList.add("dz-complete"),t.initOnce=!1))},accept:function(e,t){t()},sending:function(e,a,r){t.initOnce=!1}}),this.couldPaste&&document.addEventListener("paste",this.pasteImg),this.dropzone.on("success",(function(e){t.$emit("dropzone-success",e,t.dropzone.element)})),this.dropzone.on("addedfile",(function(e){t.$emit("dropzone-fileAdded",e)})),this.dropzone.on("removedfile",(function(e){t.$emit("dropzone-removedFile",e)})),this.dropzone.on("error",(function(e,a,r){t.$emit("dropzone-error",e,a,r)})),this.dropzone.on("successmultiple",(function(e,a,r){t.$emit("dropzone-successmultiple",e,a,r)}))},destroyed:function(){document.removeEventListener("paste",this.pasteImg),this.dropzone.destroy()},methods:{removeAllFiles:function(){this.dropzone.removeAllFiles(!0)},processQueue:function(){this.dropzone.processQueue()},pasteImg:function(e){e=(e.clipboardData||e.originalEvent.clipboardData).items,"file"===e[0].kind&&this.dropzone.addFile(e[0].getAsFile())},initImages:function(e){var t,a=this;e&&(Array.isArray(e)?e.map((function(e,t){return t={name:"name"+t,size:12345,url:e},a.dropzone.options.addedfile.call(a.dropzone,t),a.dropzone.options.thumbnail.call(a.dropzone,t,e),t.previewElement.classList.add("dz-success"),t.previewElement.classList.add("dz-complete"),!0})):(this.dropzone.options.addedfile.call(this.dropzone,t={name:"name",size:12345,url:e}),this.dropzone.options.thumbnail.call(this.dropzone,t,e),t.previewElement.classList.add("dz-success"),t.previewElement.classList.add("dz-complete")))}}};var o=(a("f2dc"),a("2877"));n={name:"batchUploadDialog",props:["showModel"],components:{Dropzone:Object(o.a)(n,(function(){var e=this.$createElement;e=this._self._c||e;return e("div",{ref:this.id,staticClass:"dropzone",attrs:{id:this.id,action:this.url}},[e("input",{attrs:{type:"file",name:"file"}})])}),[],!1,null,"241f4b18",null).exports},data:function(){return{loading:!1,title:"添加图片",showModelThis:this.showModel}},watch:{showModel:function(e){(this.showModelThis=e)&&this.initForm()},showModelThis:function(e){e||this.$emit("cancel")}},methods:{closeModel:function(){},dropzoneS:function(e){this.$message({message:"Upload success",type:"success"})},dropzoneR:function(e){this.$message({message:"Delete success",type:"success"})},refreshAll:function(){this.showModelThis=!1,this.$emit("refresh")},initForm:function(){return Object(r.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})))()}}},a("7078"),a=Object(o.a)(n,(function(){var e=this,t=e.$createElement;t=e._self._c||t;return t("el-dialog",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{title:e.title,center:!0,align:"left",top:"10vh",width:"1040px","close-on-click-modal":!1,visible:e.showModelThis,"element-loading-text":"拼命加载中","element-loading-spinner":"el-icon-loading","element-loading-background":"rgba(0, 0, 0, 0.8)","append-to-body":""},on:{"update:visible":function(t){e.showModelThis=t},close:e.closeModel}},[t("el-card",{staticStyle:{"margin-top":"-15px"}},[t("el-row",[t("el-col",{attrs:{span:24}},[t("div",{staticClass:"editor-container"},[t("dropzone",{staticStyle:{background:"#eef1f6"},attrs:{id:"myVueDropzone",url:"https://httpbin.org/post"},on:{"dropzone-removedFile":e.dropzoneR,"dropzone-success":e.dropzoneS}})],1)]),t("el-col",{staticStyle:{"text-align":"right"},attrs:{span:24}},[t("el-button",{attrs:{type:"primary"},on:{click:e.submitForm}},[e._v("保 存 ")])],1)],1)],1)],1)}),[],!1,null,"ab1deb96",null);t.default=a.exports},feca:function(e,t,a){var r={"./InvoiceSales/capitalClaim/addEdit.vue":"a717","./InvoiceSales/capitalClaim/addEdit1.vue":"3904","./InvoiceSales/capitalClaim/index.vue":"6aa7","./InvoiceSales/capitalPool/index.vue":"2ebb","./InvoiceSales/clients/addEdit.vue":"203d","./InvoiceSales/clients/index.vue":"bc68","./InvoiceSales/invoiceApply/addEdit1.vue":"c6ef","./InvoiceSales/invoiceApply/addEdit2.vue":"5a3c","./InvoiceSales/invoiceApply/addEdit3.vue":"6f1c","./InvoiceSales/invoiceApply/addEdit4.vue":"6fbb","./InvoiceSales/invoiceApply/addview copy.vue":"fa0c","./InvoiceSales/invoiceApply/addview.vue":"8ef8","./InvoiceSales/invoiceApply/appProcess.vue":"6fd3","./InvoiceSales/invoiceApply/goodChangeDialog.vue":"52a0","./InvoiceSales/invoiceApply/index.vue":"a775","./InvoiceSales/invoicePool/index.vue":"41a1","./InvoiceSales/orderBatchBilling/addEdit.vue":"8e23","./InvoiceSales/orderBatchBilling/index.vue":"a19d","./InvoiceSales/refund/addEdit.vue":"1d37","./InvoiceSales/refund/index.vue":"621b","./InvoiceSales/refund/stepBar.vue":"50b8","./InvoiceSales/relation/addView.vue":"9403","./InvoiceSales/relation/index.vue":"1caa","./InvoiceSales/relationQuery/addEdit.vue":"14b9","./InvoiceSales/relationQuery/headTemplate.vue":"c9be","./InvoiceSales/relationQuery/index.vue":"10c0","./InvoiceSales/relationQuery/itemTemplate.vue":"88a9","./InvoiceSales/returnTicket/addEdit.vue":"a204","./InvoiceSales/returnTicket/index.vue":"f481","./InvoiceSales/returnTicket/stepBar.vue":"af30","./InvoiceSales/sheetOrderPool/index.vue":"d541","./dashboard/index.vue":"9406","./developing/index.vue":"d668","./error-page/404.vue":"1db4","./interest/account/addEdit.vue":"6d88","./interest/account/index.vue":"c420","./interest/account/resetPassword.vue":"1842","./interest/action/index.vue":"7914","./interest/dataShare/addEdit.vue":"b32b","./interest/dataShare/index.vue":"9e7a","./interest/group/addEdit.vue":"d79e","./interest/group/index.vue":"2ee3","./interest/role/addEdit.vue":"f291","./interest/role/index.vue":"d4aa","./loadingPage/index.vue":"7e10","./login/forget-password.vue":"43b9","./login/index.vue":"9ed6","./network/orderEntry/addEdit.vue":"5d51","./network/orderEntry/index.vue":"c092","./parameter/finance/addEdit.vue":"ebe4","./parameter/finance/index.vue":"1e63","./person-infor/change-password.vue":"a9ad","./person-infor/change-phone.vue":"fdb1","./person-infor/my-message.vue":"2cc2","./purchase/orderRecord/components/InvoiceHead.vue":"5563","./purchase/orderRecord/components/InvoiceReview.vue":"24a2","./purchase/orderRecord/components/InvoiceUpload.vue":"d0b8","./purchase/orderRecord/components/addEdit1.vue":"4a35","./purchase/orderRecord/components/addEdit2.vue":"ee22","./purchase/orderRecord/components/addEdit21.vue":"5844","./purchase/orderRecord/components/addEdit22.vue":"7970","./purchase/orderRecord/components/addEdit23.vue":"4580","./purchase/orderRecord/components/addEdit3.vue":"0c50","./purchase/orderRecord/components/addEdit4.vue":"95c0","./purchase/orderRecord/components/addEdit5.vue":"d1ee","./purchase/orderRecord/components/addEdit6.vue":"57d4","./purchase/orderRecord/components/addView.vue":"5bcd","./purchase/orderRecord/components/batchUploadDialog.vue":"fe9c","./purchase/orderRecord/components/examView.vue":"7a5e","./purchase/orderRecord/components/feedbackView.vue":"1195","./purchase/orderRecord/components/orderChange.vue":"f57a","./purchase/orderRecord/components/payExamView.vue":"837b","./purchase/orderRecord/components/payStepBar.vue":"9218","./purchase/orderRecord/components/proofreading.vue":"e3ad","./purchase/orderRecord/components/receipt.vue":"08ff","./purchase/orderRecord/components/stepBar.vue":"6810","./purchase/orderRecord/index.vue":"7a88","./purchase/pordeRGoods/index.vue":"4e97","./purchase/porder/examEdit.vue":"d313","./purchase/porder/index.vue":"2b34","./purchase/porder/setEdit.vue":"8eac","./purchase/supplierPay/addEdit.vue":"c94c","./purchase/supplierPay/index.vue":"9f42","./redirect/index.vue":"ef3c","./report/addEdit.vue":"0880","./report/index.vue":"71ff","./search/commission/index.vue":"9dd5","./search/standBook/addEdit.vue":"f210","./search/standBook/history-data.vue":"1c20","./search/standBook/index.vue":"d160","./search/standBook/pre-export.vue":"bf96","./search/standBook/real-time-export-new.vue":"b27c","./search/standBook/real-time-export.vue":"8961","./search/table/index.vue":"1420","./system/menuOperator/addEdit.vue":"b36d","./system/menuOperator/iconDialog.vue":"cdf1","./system/menuOperator/index.vue":"5de4","./system/oplog/index.vue":"b346","./system/parameter/addEdit.vue":"5f10","./system/parameter/index.vue":"eb67","./system/updates/index.vue":"5e53"};function n(e){return e=i(e),a(e)}function i(e){if(a.o(r,e))return r[e];throw(e=new Error("Cannot find module '"+e+"'")).code="MODULE_NOT_FOUND",e}n.keys=function(){return Object.keys(r)},n.resolve=i,(e.exports=n).id="feca"},ff1f:function(e,t,a){e.exports=a.p+"static/img/welcome.748a4df4.gif"},ff7e:function(e,t,a){"use strict";var r=a("1b69"),n="Admin/";t.a={list:function(e,t){return Object(r.a)(n+"paymentcgdlist",e,"post",t)},supplierlist:function(e,t){return Object(r.a)(n+"supplierlist",e,"post",t)},companylist:function(e,t){return Object(r.a)(n+"companyall",e,"post",t)},inv:function(e,t){return Object(r.a)(n+"paymentcgdinv",e,"post",t)},exam:function(e,t){return Object(r.a)(n+"paymentcgdexam",e,"post",t)},paymentunpay:function(e,t){return Object(r.a)(n+"paymentunpay",e,"post",t)}}},ffe4:function(e,t,a){"use strict";var r=a("1da1"),n=(a("d3b7"),a("159b"),a("96cf"),a("b97c")),i=a("f5ed"),o=a("9f53"),s=a("db30");i={props:["id","showModel","inv_status","trade_status","order_status","onces","isAll"],mixins:[i.a,o.a],data:function(){return{loading:!1,icon:"",count:0,tableData:[],showModelThis:this.showModel,multipleSelection:[],platform:s.f,parmValue:{starttime:"",endtime:"",sequenceNo:"",platform:"",companyNo:this.id,page:1,size:10,total_low:"",total_up:"",pay_status:"",inv_status:"",inv_low:"",inv_up:"",pay_low:"",pay_up:""}}},watch:{icon:function(e){e&&(this.showModelThis=!1,this.$emit("setVal",e))},showModel:function(e){this.showModelThis=e},showModelThis:function(e){e?(this.parmValue.page=1,this.searchList()):this.$emit("cancel")}},methods:{handleSelectionChange:function(e){this.multipleSelection=e},restSearch:function(){this.parmValue.sequenceNo="",this.parmValue.page=1,this.searchList()},searchList:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.multipleSelection=[],e.loading){t.next=23;break}return e.loading=!0,e.tableData=[],e.parmValue.companyNo=e.id,e.parmValue.pay_status=e.trade_status,e.parmValue.inv_status=e.inv_status,t.next=9,n.a.qrdlist(e.parmValue);case 9:if(!((a=t.sent)&&0===a.code&&a.data&&a.data.list)){t.next=15;break}e.tableData=a.data.list,e.count=a.data.count,t.next=22;break;case 15:if(a&&100<=a.code&&a.code<=104)return t.next=18,e.logout();t.next=20;break;case 18:t.next=22;break;case 20:e.tableData=[],e.count=0;case 22:e.loading=!1;case 23:case"end":return t.stop()}}),t)})))()},closeModel:function(){},submitForm:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var a,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(a=!0,e.multipleSelection.forEach((function(t){"4"===e.inv_status&&0!==parseInt(t.inv_fee)&&(a=!1),"4"===e.trade_status&&0!==parseInt(t.pay_fee)&&(a=!1)})),a){t.next=9;break}if("4"===e.inv_status)return e.$message.warning("部分确认单信息:发票处理中的金额不为零!!"),t.abrupt("return");t.next=6;break;case 6:if("4"===e.trade_status)return e.$message.warning("部分确认单信息:资金处理中的金额不为零!!"),t.abrupt("return");t.next=9;break;case 9:if(e.onces&&1