chunk-0481d508.a65da3d9.js 7.1 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0481d508"],{"5fe0":function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"box"},[a("Form",{ref:"formValidate",attrs:{model:t.formItem,"label-width":120,rules:t.rules}},[a("FormItem",{attrs:{label:"姓名:",prop:"bank_name"}},[a("Input",{staticClass:"input",attrs:{maxlength:"32","show-word-limit":"",type:"text",placeholder:"不超过32字"},model:{value:t.formItem.bank_name,callback:function(e){t.$set(t.formItem,"bank_name",e)},expression:"formItem.bank_name"}})],1),a("FormItem",{attrs:{label:"提现银行开户行:",prop:"bank_address"}},[a("Input",{staticClass:"input",attrs:{maxlength:"32","show-word-limit":"",type:"text",placeholder:"不超过32字"},model:{value:t.formItem.bank_address,callback:function(e){t.$set(t.formItem,"bank_address",e)},expression:"formItem.bank_address"}})],1),a("FormItem",{attrs:{label:"银行卡号:",prop:"bank_code"}},[a("Input",{staticClass:"input",attrs:{maxlength:"30","show-word-limit":"",type:"text",placeholder:"不超过30字"},model:{value:t.formItem.bank_code,callback:function(e){t.$set(t.formItem,"bank_code",e)},expression:"formItem.bank_code"}})],1),a("FormItem",{attrs:{label:"支付宝账号:"}},[a("Input",{staticClass:"input",attrs:{maxlength:"32","show-word-limit":"",placeholder:"不超过32字"},model:{value:t.formItem.alipay_account,callback:function(e){t.$set(t.formItem,"alipay_account",e)},expression:"formItem.alipay_account"}})],1),a("FormItem",{staticClass:"imgbox",attrs:{label:"支付宝收款码:"}},[a("div",{staticClass:"pictrueBox",on:{click:function(e){return t.modalPicTap("dan","alipay")}}},[t.formItem.alipay_qrcode_url?a("div",{staticClass:"pictrue"},[a("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.formItem.alipay_qrcode_url,expression:"formItem.alipay_qrcode_url"}]}),a("Input",{staticStyle:{display:"none"},model:{value:t.formItem.alipay_qrcode_url,callback:function(e){t.$set(t.formItem,"alipay_qrcode_url",e)},expression:"formItem.alipay_qrcode_url"}})],1):a("div",{staticClass:"upLoad acea-row row-center-wrapper"},[a("Input",{staticStyle:{display:"none"},model:{value:t.formItem.alipay_qrcode_url,callback:function(e){t.$set(t.formItem,"alipay_qrcode_url",e)},expression:"formItem.alipay_qrcode_url"}}),a("Icon",{attrs:{type:"ios-camera-outline",size:"26"}})],1)])]),a("FormItem",{attrs:{label:"微信账号:"}},[a("Input",{staticClass:"input",attrs:{maxlength:"32","show-word-limit":"",placeholder:"不超过32字"},model:{value:t.formItem.wechat,callback:function(e){t.$set(t.formItem,"wechat",e)},expression:"formItem.wechat"}})],1),a("FormItem",{staticClass:"imgbox",attrs:{label:"微信收款码:"}},[a("div",{staticClass:"pictrueBox",on:{click:function(e){return t.modalPicTap("dan","weixin")}}},[t.formItem.wechat_qrcode_url?a("div",{staticClass:"pictrue"},[a("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.formItem.wechat_qrcode_url,expression:"formItem.wechat_qrcode_url"}]}),a("Input",{staticStyle:{display:"none"},model:{value:t.formItem.wechat_qrcode_url,callback:function(e){t.$set(t.formItem,"wechat_qrcode_url",e)},expression:"formItem.wechat_qrcode_url"}})],1):a("div",{staticClass:"upLoad acea-row row-center-wrapper"},[a("Input",{staticStyle:{display:"none"},model:{value:t.formItem.wechat_qrcode_url,callback:function(e){t.$set(t.formItem,"wechat_qrcode_url",e)},expression:"formItem.wechat_qrcode_url"}}),a("Icon",{attrs:{type:"ios-camera-outline",size:"26"}})],1)])])],1)],1),a("Card",{staticClass:"ive-mt save",attrs:{bordered:!1,"dis-hover":""}},[a("div",{staticClass:"savebox",on:{click:function(e){return t.save("formValidate")}}},[t._v("保存")])]),a("Modal",{attrs:{width:"950px",scrollable:"","footer-hide":"",closable:"",title:"上传商品图","mask-closable":!1,"z-index":1},model:{value:t.modalPic,callback:function(e){t.modalPic=e},expression:"modalPic"}},[t.modalPic?a("uploadPictures",{attrs:{isChoice:t.isChoice,gridBtn:t.gridBtn,gridPic:t.gridPic},on:{getPic:t.getPic}}):t._e()],1)],1)},o=[],n=a("8745"),i=a("b0e7"),c={name:"setting",components:{uploadPictures:i["a"]},data:function(){return{modalPic:!1,isChoice:"",gridBtn:{xl:4,lg:8,md:8,sm:8,xs:8},gridPic:{xl:6,lg:8,md:12,sm:12,xs:12},picTit:"",tableIndex:0,formItem:{bank_address:"",bank_code:"",alipay_account:"",alipay_qrcode_url:"",wechat:"",wechat_qrcode_url:"",bank_name:""},rules:{bank_address:[{validator:function(t,e,a){!e||e.length>=4?a():a(new Error("开户行不少于4字"))},trigger:"blur"}]}}},mounted:function(){this.getList()},methods:{getList:function(){var t=this;Object(n["b"])().then((function(e){t.formItem.bank_address=e.data.bank_address,t.formItem.bank_code=e.data.bank_code,t.formItem.alipay_account=e.data.alipay_account,t.formItem.alipay_qrcode_url=e.data.alipay_qrcode_url,t.formItem.wechat=e.data.wechat,t.formItem.wechat_qrcode_url=e.data.wechat_qrcode_url,t.formItem.bank_name=e.data.bank_name}))},save:function(t){var e=this;this.$refs[t].validate((function(t){t&&Object(n["b"])(e.formItem,"post").then((function(t){e.$Message.success(t.msg)})).catch((function(t){e.$Message.error(t.msg)}))}))},getPic:function(t){switch(this.picTit){case"weixin":this.formItem.wechat_qrcode_url=t.att_dir;break;case"alipay":this.formItem.alipay_qrcode_url=t.att_dir;break}this.modalPic=!1},modalPicTap:function(t,e,a){this.modalPic=!0,this.isChoice="dan"===t?"单选":"多选",this.picTit=e,this.tableIndex=a}}},l=c,s=(a("dba4"),a("2877")),m=Object(s["a"])(l,r,o,!1,null,"3bcc04fe",null);e["default"]=m.exports},8745:function(t,e,a){"use strict";a.d(e,"b",(function(){return o})),a.d(e,"d",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"e",(function(){return c})),a.d(e,"h",(function(){return l})),a.d(e,"i",(function(){return s})),a.d(e,"f",(function(){return m})),a.d(e,"g",(function(){return u})),a.d(e,"a",(function(){return d})),a.d(e,"j",(function(){return f}));var r=a("b6bd");function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"get";return Object(r["a"])({url:"/finance/info",method:e,data:t})}function n(t){return Object(r["a"])({url:"/finance/supplier_extract/list",method:"get",params:t})}function i(t){return Object(r["a"])({url:"/finance/supplier_extract/cash",method:"post",data:t})}function c(t,e){return Object(r["a"])({url:"/finance/supplier_extract/mark/".concat(t),method:"post",data:e})}function l(t){return Object(r["a"])({url:"finance/supplier_flowing_water/list",method:"get",params:t})}function s(t,e){return Object(r["a"])({url:"/finance/supplier_flowing_water/mark/".concat(t),method:"post",data:e})}function m(t){return Object(r["a"])({url:"/finance/supplier_flowing_water/fund_record",method:"get",params:t})}function u(t){return Object(r["a"])({url:"/finance/supplier_flowing_water/fund_record_info",method:"get",params:t})}function d(t){return Object(r["a"])({url:"/export/financeRecord",method:"get",params:t})}function f(t){return Object(r["a"])({url:"/finance/supplier_flowing_water/type",method:"get",params:t})}},b2b9:function(t,e,a){},dba4:function(t,e,a){"use strict";var r=a("b2b9"),o=a.n(r);o.a}}]);