import{g as C,i as E}from"./helibao.36bde26d.js";import{d as b,r as y,b as v,c as n,e as A,f as N,h as e,i as t,u,g as V,m as d,E as h,_ as B}from"./index.0308b213.js";const D={class:"setting-form"},P=d("\u626B\u7801"),F=d("\u4ECE\u5E73\u53F0\u5546\u624B\u7EED\u8D39\u8D26\u6237\u6536\u53D6"),T=d("\u5B50\u5546\u6237\u8D44\u91D1\u8D26\u6237"),x={class:"operation-btn"},U=d("\u63D0\u4EA4"),O=b({setup(k){y("");const o=v({merchantNo:"",productType:"APPPAY",value:"FEEACCOUNT"}),m=()=>{C({type:"modifyProductConfig"}).then(l=>{console.log(l),o.merchantNo=l.merchantNo,o.value=l.value})},p=()=>{E(o).then(l=>{console.log(l),h({message:"\u8BBE\u7F6E\u6210\u529F",type:"success"})})};return m(),(l,a)=>{const i=n("el-input"),_=n("el-form-item"),r=n("el-radio"),c=n("el-radio-group"),f=n("el-form"),g=n("el-button");return A(),N("div",D,[e(f,{model:u(o),"label-width":"120px"},{default:t(()=>[e(_,{label:"\u5546\u6237\u53F7"},{default:t(()=>[e(i,{modelValue:u(o).merchantNo,"onUpdate:modelValue":a[0]||(a[0]=s=>u(o).merchantNo=s),readonly:!0},null,8,["modelValue"])]),_:1}),e(_,{label:"\u4EA7\u54C1\u7C7B\u578B",prop:"productType"},{default:t(()=>[e(c,{modelValue:u(o).productType,"onUpdate:modelValue":a[1]||(a[1]=s=>u(o).productType=s)},{default:t(()=>[e(r,{label:"APPPAY",size:"large"},{default:t(()=>[P]),_:1})]),_:1},8,["modelValue"])]),_:1}),e(_,{label:"\u6536\u53D6\u65B9\u5F0F",prop:"value"},{default:t(()=>[e(c,{modelValue:u(o).value,"onUpdate:modelValue":a[2]||(a[2]=s=>u(o).value=s)},{default:t(()=>[e(r,{label:"FEEACCOUNT",size:"large"},{default:t(()=>[F]),_:1}),e(r,{label:"OWN_CASHACCOUNT",size:"large"},{default:t(()=>[T]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model"]),V("div",x,[e(g,{type:"primary",onClick:p},{default:t(()=>[U]),_:1})])])}}});const w=B(O,[["__scopeId","data-v-556e70ba"]]);export{w as default};
