(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-f4d8"],{Uw0t:function(e,t,a){"use strict";var o=a("w1LF");a.n(o).a},w1LF:function(e,t,a){},xQTT:function(e,t,a){"use strict";a.r(t);var o={data:function(){return{form:{name:"",adress:"",receiverTelephoneNumber:"",consignee:"",fax:"",contacts:"",contactNumber:"",serviceHotline:"",account:"",bank:"",agreement:""}}},computed:{},created:function(){this.searchCompanyInformation()},methods:{searchCompanyInformation:function(){var e=this,t=this.CreateData("11","基础表_公司信息维护表_查询",[]);this.ExecDatabase(t).then(function(t){e.form.name=t.data[0].公司名称,e.form.adress=t.data[0].公司地址,e.form.bank=t.data[0].开户行,e.form.account=t.data[0].账号,e.form.serviceHotline=t.data[0].服务热线,e.form.contactNumber=t.data[0].联系电话,e.form.contacts=t.data[0].联系人,e.form.fax=t.data[0].传真,e.form.consignee=t.data[0].收货人,e.form.receiverTelephoneNumber=t.data[0].收货人电话,e.form.agreement=t.data[0].合同协议})},modifyCompanyInformation:function(){var e=this;this.$confirm("是否确认修改公司信息?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){var t=[];t[0]=["公司名称",e.form.name],t[1]=["公司地址",e.form.adress],t[2]=["开户行",e.form.bank],t[3]=["账号",e.form.account],t[4]=["服务热线",e.form.serviceHotline],t[5]=["联系电话",e.form.contactNumber],t[6]=["联系人",e.form.contacts],t[7]=["传真",e.form.fax],t[8]=["收货人",e.form.consignee],t[9]=["收货人电话",e.form.receiverTelephoneNumber],t[10]=["合同协议",e.form.agreement];var a=e.CreateData("12","基础表_公司信息维护表_修改",t);e.ExecDatabase(a).then(function(t){"1"===t.data[0].result?(e.$message.success("修改成功"),e.searchCompanyInformation()):e.$message.error("修改失败")})}).catch(function(){e.$message({type:"info",message:"已取消修改"})})}}},r=(a("Uw0t"),a("KHd+")),n=Object(r.a)(o,function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticStyle:{margin:"20px 20px 20px 20px",width:"1200px",height:"810px"}},[a("el-form",{ref:"form",attrs:{inline:!0,model:e.form,"label-width":"160px"}},[a("el-form-item",{staticStyle:{"margin-top":"50px"},attrs:{label:"公司名称："}},[a("el-input",{staticStyle:{width:"350px"},model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1),e._v(" "),a("el-form-item",{staticStyle:{"margin-top":"50px"},attrs:{label:"公司地址："}},[a("el-input",{staticStyle:{width:"350px"},model:{value:e.form.adress,callback:function(t){e.$set(e.form,"adress",t)},expression:"form.adress"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"开户行："}},[a("el-input",{staticStyle:{width:"350px"},model:{value:e.form.bank,callback:function(t){e.$set(e.form,"bank",t)},expression:"form.bank"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"账号："}},[a("el-input",{staticStyle:{width:"350px"},model:{value:e.form.account,callback:function(t){e.$set(e.form,"account",t)},expression:"form.account"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"服务热线："}},[a("el-input",{staticStyle:{width:"350px"},model:{value:e.form.serviceHotline,callback:function(t){e.$set(e.form,"serviceHotline",t)},expression:"form.serviceHotline"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"联系电话："}},[a("el-input",{staticStyle:{width:"350px"},model:{value:e.form.contactNumber,callback:function(t){e.$set(e.form,"contactNumber",t)},expression:"form.contactNumber"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"联系人："}},[a("el-input",{staticStyle:{width:"350px"},model:{value:e.form.contacts,callback:function(t){e.$set(e.form,"contacts",t)},expression:"form.contacts"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"行号："}},[a("el-input",{staticStyle:{width:"350px"},model:{value:e.form.fax,callback:function(t){e.$set(e.form,"fax",t)},expression:"form.fax"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"收货人:"}},[a("el-input",{staticStyle:{width:"350px"},model:{value:e.form.consignee,callback:function(t){e.$set(e.form,"consignee",t)},expression:"form.consignee"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"收货人电话："}},[a("el-input",{staticStyle:{width:"350px"},model:{value:e.form.receiverTelephoneNumber,callback:function(t){e.$set(e.form,"receiverTelephoneNumber",t)},expression:"form.receiverTelephoneNumber"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"合同协议："}},[a("el-input",{staticStyle:{width:"875px"},attrs:{rows:11,type:"textarea"},model:{value:e.form.agreement,callback:function(t){e.$set(e.form,"agreement",t)},expression:"form.agreement"}})],1),e._v(" "),a("el-button",{staticStyle:{"margin-top":"20px","margin-left":"520px",width:"100px"},attrs:{type:"primary"},on:{click:function(t){e.modifyCompanyInformation()}}},[e._v("修改")])],1)],1)},[],!1,null,"c2ac5570",null);n.options.__file="index.vue";t.default=n.exports}}]);