Files
zyt/server/public/admin/assets/information-bxGe4eqE.js
T
Your NameandClaude Opus 5 4ae38b45ed 业务订单中已退款的收款记录也可移除关联
- 移除收款关联放开「已退款」(status 4):只解除关联、保留原收款记录;已退款记录本不计入已付金额,移除后已付金额与需代收不变,日志注明「已退款」
- 已支付/待审核规则不变;已完成/已取消订单仍不可移除
- 重新构建管理后台

Co-Authored-By: Claude Opus 5 <[EMAIL]>
2026-11-30 15:08:58 +08:00

2 lines
6.2 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import{_ as q}from"./index-zlaPPv1m.js";import{o as f,br as C,q as _,r as U,v as o,D as s,bg as k,s as i,bc as O,a3 as y,u as t,be as M,ag as P,O as D,K as E,L,M as B,aD as G}from"./.pnpm-DnXobOVo.js";import{_ as I}from"./picker-f_1nIK_X.js";import{a as N,b as S}from"./website-DUnBZB7E.js";import{h as W}from"./index-CcDX_qzp.js";import"./index-D5laSpve.js";import"./index-B-JgdpqF.js";import"./index.vue_vue_type_script_setup_true_lang-GSVwwezT.js";import"./index-BtjzKsa0.js";import"./index-BWMgSEq-.js";import"./file-CwKsS4EB.js";import"./index.vue_vue_type_script_setup_true_lang-Bxg_mWlx.js";import"./usePaging-DdtNlhkl.js";const F={class:"website-information"},R={class:"w-80"},A={class:"w-80"},K={class:"w-80"},T={class:"w-80"},z={class:"w-80"},H=f({name:"webInformation"}),ae=f({...H,setup(J){const u=B(),b=W(),l=G({name:"",web_favicon:"",web_logo:"",login_image:"",h5_favicon:"",shop_name:"",shop_logo:"",pc_logo:"",pc_title:"",pc_desc:"",pc_ico:"",pc_keywords:""}),v={name:[{required:!0,message:"请输入网站名称",trigger:["blur"]}],web_favicon:[{required:!0,message:"请选择网站图标",trigger:["change"]}],web_logo:[{required:!0,message:"请选择网站logo",trigger:["change"]}],login_image:[{required:!0,message:"请选择登录页广告图",trigger:["change"]}],shop_name:[{required:!0,message:"请输入店铺/商城名称",trigger:["blur"]}],shop_logo:[{required:!0,message:"请选择商城LOGO",trigger:["change"]}],pc_logo:[{required:!0,message:"请选择PC端LOGO",trigger:["change"]}],pc_title:[{required:!0,message:"请输入PC端网站标题",trigger:["blur"]}],pc_ico:[{required:!0,message:"请选择PC端网站图标",trigger:["change"]}]},g=async()=>{const n=await N();for(const e in l)l[e]=n[e]},w=async()=>{var n;await((n=u.value)==null?void 0:n.validate()),await S(l),b.getConfig(),g()};return g(),(n,e)=>{const m=y,a=O,d=I,p=k,V=M,c=E,x=q,j=C("perms");return _(),U("div",F,[o(V,{ref_key:"formRef",ref:u,rules:v,class:"ls-form",model:t(l),"label-width":"120px","scroll-to-error":""},{default:s(()=>[o(p,{shadow:"never",class:"!border-none"},{default:s(()=>[e[15]||(e[15]=i("div",{class:"text-xl font-medium mb-[20px]"},"后台设置",-1)),o(a,{label:"网站名称",prop:"name"},{default:s(()=>[i("div",R,[o(m,{modelValue:t(l).name,"onUpdate:modelValue":e[0]||(e[0]=r=>t(l).name=r),modelModifiers:{trim:!0},placeholder:"请输入网站名称",maxlength:"30","show-word-limit":""},null,8,["modelValue"])])]),_:1}),o(a,{label:"网站图标",prop:"web_favicon",required:""},{default:s(()=>[i("div",null,[o(d,{modelValue:t(l).web_favicon,"onUpdate:modelValue":e[1]||(e[1]=r=>t(l).web_favicon=r),limit:1},null,8,["modelValue"]),e[12]||(e[12]=i("div",{class:"form-tips"},"建议尺寸:100*100像素,支持jpg,jpeg,png格式",-1))])]),_:1}),o(a,{label:"网站LOGO",prop:"web_logo",required:""},{default:s(()=>[i("div",null,[o(d,{modelValue:t(l).web_logo,"onUpdate:modelValue":e[2]||(e[2]=r=>t(l).web_logo=r),modelModifiers:{trim:!0},limit:1},null,8,["modelValue"]),e[13]||(e[13]=i("div",{class:"form-tips"},"建议尺寸:100*100像素,支持jpg,jpeg,png格式",-1))])]),_:1}),o(a,{label:"登录页广告图",prop:"login_image",required:""},{default:s(()=>[i("div",null,[o(d,{modelValue:t(l).login_image,"onUpdate:modelValue":e[3]||(e[3]=r=>t(l).login_image=r),modelModifiers:{trim:!0},limit:1},null,8,["modelValue"]),e[14]||(e[14]=i("div",{class:"form-tips"},"建议尺寸:100*100像素,支持jpg,jpeg,png格式",-1))])]),_:1})]),_:1}),o(p,{shadow:"never",class:"!border-none mt-4"},{default:s(()=>[e[18]||(e[18]=i("div",{class:"text-xl font-medium mb-[20px]"},"前台设置",-1)),o(a,{label:"前台名称",prop:"shop_name"},{default:s(()=>[i("div",A,[o(m,{modelValue:t(l).shop_name,"onUpdate:modelValue":e[4]||(e[4]=r=>t(l).shop_name=r),modelModifiers:{trim:!0},placeholder:"请输入前台名称",maxlength:"30","show-word-limit":""},null,8,["modelValue"])])]),_:1}),o(a,{label:"网站图标",prop:"web_favicon",required:""},{default:s(()=>[i("div",null,[o(d,{modelValue:t(l).h5_favicon,"onUpdate:modelValue":e[5]||(e[5]=r=>t(l).h5_favicon=r),limit:1},null,8,["modelValue"]),e[16]||(e[16]=i("div",{class:"form-tips"},"建议尺寸:100*100像素,支持jpg,jpeg,png格式",-1))])]),_:1}),o(a,{label:"前台LOGO",prop:"shop_logo"},{default:s(()=>[i("div",null,[o(d,{modelValue:t(l).shop_logo,"onUpdate:modelValue":e[6]||(e[6]=r=>t(l).shop_logo=r),limit:1},null,8,["modelValue"]),e[17]||(e[17]=i("div",{class:"form-tips"},"建议尺寸:100*100px,支持jpg,jpeg,png格式",-1))])]),_:1})]),_:1}),o(p,{shadow:"never",class:"!border-none mt-4"},{default:s(()=>[e[21]||(e[21]=i("div",{class:"text-xl font-medium mb-[20px]"},"PC端设置",-1)),o(a,{label:"PC端LOGO",prop:"pc_logo"},{default:s(()=>[i("div",null,[o(d,{modelValue:t(l).pc_logo,"onUpdate:modelValue":e[7]||(e[7]=r=>t(l).pc_logo=r),limit:1},null,8,["modelValue"]),e[19]||(e[19]=i("div",{class:"form-tips"},"建议尺寸:120*28px,支持jpg,jpeg,png格式",-1))])]),_:1}),o(a,{label:"网站标题",prop:"pc_title"},{default:s(()=>[i("div",K,[o(m,{modelValue:t(l).pc_title,"onUpdate:modelValue":e[8]||(e[8]=r=>t(l).pc_title=r),modelModifiers:{trim:!0},placeholder:"请输入PC端网站标题",maxlength:"30","show-word-limit":""},null,8,["modelValue"])])]),_:1}),o(a,{label:"网站图标",prop:"pc_ico"},{default:s(()=>[i("div",null,[o(d,{modelValue:t(l).pc_ico,"onUpdate:modelValue":e[9]||(e[9]=r=>t(l).pc_ico=r),limit:1},null,8,["modelValue"]),e[20]||(e[20]=i("div",{class:"form-tips"},"建议尺寸:100*100像素,支持jpg,jpeg,png格式",-1))])]),_:1}),o(a,{label:"网站描述",prop:"pc_desc"},{default:s(()=>[i("div",T,[o(m,{modelValue:t(l).pc_desc,"onUpdate:modelValue":e[10]||(e[10]=r=>t(l).pc_desc=r),modelModifiers:{trim:!0},placeholder:"请输入PC端网站描述"},null,8,["modelValue"])])]),_:1}),o(a,{label:"网站关键词",prop:"pc_keywords"},{default:s(()=>[i("div",z,[o(m,{modelValue:t(l).pc_keywords,"onUpdate:modelValue":e[11]||(e[11]=r=>t(l).pc_keywords=r),modelModifiers:{trim:!0},placeholder:"请输入PC端网站关键词"},null,8,["modelValue"])])]),_:1})]),_:1})]),_:1},8,["model"]),P((_(),D(x,null,{default:s(()=>[o(c,{type:"primary",onClick:w},{default:s(()=>[...e[22]||(e[22]=[L("保存",-1)])]),_:1})]),_:1})),[[j,["setting.web.web_setting/setWebsite"]]])])}}});export{ae as default};