import{c as b,g as h}from"./helibao.36bde26d.js";import{d as B,b as E,c as d,e as V,f as N,h as t,i as c,u as o,g as _,m as v,E as g,R as M,S as C,_ as F}from"./index.0308b213.js";const r=l=>(M("data-v-6221c0df"),l=l(),C(),l),S={class:"setting-form"},U=r(()=>_("div",{class:"tn-form-item__tips"},"\u652F\u4ED8\u5B9D\u5546\u6237\u7F16\u53F7",-1)),x=r(()=>_("div",{class:"tn-form-item__tips"},"\u5546\u6237\u7C7B\u522B\u7801mcc\u67E5\u8BE2",-1)),y=r(()=>_("div",{class:"tn-form-item__tips"},"\u5546\u6237\u7C7B\u522B\u7801mcc\u67E5\u8BE2",-1)),I={class:"operation-btn"},D=v("\u63D0\u4EA4"),A=B({setup(l){const e=E({merchantNo:"",subMerchantNo:"",mcc:"",current_mcc:""}),p=()=>{b(e).then(n=>{console.log(n),g({message:"\u8BBE\u7F6E\u6210\u529F",type:"success"})})};return(()=>{h({type:"aliSubMerchantUpdate"}).then(n=>{e.merchantNo=n.merchantNo,e.subMerchantNo=n.subMerchantNo,e.current_mcc=n.current_mcc})})(),(n,u)=>{const s=d("el-input"),m=d("el-form-item"),i=d("el-form"),f=d("el-button");return V(),N("div",S,[t(i,{model:o(e),"label-width":"120px"},{default:c(()=>[t(m,{label:"\u5546\u6237\u53F7"},{default:c(()=>[t(s,{modelValue:o(e).merchantNo,"onUpdate:modelValue":u[0]||(u[0]=a=>o(e).merchantNo=a),readonly:"true"},null,8,["modelValue"])]),_:1}),t(m,{label:"\u5546\u6237\u53F7"},{default:c(()=>[t(s,{modelValue:o(e).subMerchantNo,"onUpdate:modelValue":u[1]||(u[1]=a=>o(e).subMerchantNo=a)},null,8,["modelValue"]),U]),_:1}),t(m,{label:"\u76EE\u524D\u6240\u5C5Emcc\u7C7B\u522B\u7801"},{default:c(()=>[t(s,{modelValue:o(e).current_mcc,"onUpdate:modelValue":u[2]||(u[2]=a=>o(e).current_mcc=a)},null,8,["modelValue"]),x]),_:1}),t(m,{label:"\u8981\u4FEE\u6539\u7684\u5546\u6237\u7C7B\u522B\u7801mcc"},{default:c(()=>[t(s,{modelValue:o(e).mcc,"onUpdate:modelValue":u[3]||(u[3]=a=>o(e).mcc=a)},null,8,["modelValue"]),y]),_:1})]),_:1},8,["model"]),_("div",I,[t(f,{type:"primary",onClick:p},{default:c(()=>[D]),_:1})])])}}});const T=F(A,[["__scopeId","data-v-6221c0df"]]);export{T as default};
