2 lines
3.8 KiB
JavaScript
2 lines
3.8 KiB
JavaScript
import{y as w,A as j,B as k,C as R,D as g}from"./element-plus.258bf9e7.js";import{_ as O}from"./index.vue_vue_type_script_setup_true_lang.e1e5e943.js";import{P as A}from"./index.9492d03b.js";import{a as P}from"./custom.13e75d58.js";import{d as i,s as c,a0 as m,o as V,c as I,V as t,M as e,T as l,U as p}from"./@vue.ab566ce7.js";import"./lodash.1d82ee7c.js";import{_ as N}from"./index.ec401e3b.js";import"./@vueuse.8fcae4c2.js";import"./@element-plus.b89f1627.js";import"./lodash-es.49f4af13.js";import"./dayjs.4afe12d3.js";import"./axios.37fc980d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./vue-router.87ebc608.js";import"./pinia.b6700c26.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.d0bec2c9.js";import"./color.ea90db3f.js";import"./clone.cbd692e6.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.ad6bc3c0.js";import"./ms.a9ae1d6d.js";import"./nprogress.bcdf1f46.js";import"./vue-clipboard3.c45111bf.js";import"./clipboard.1cb79a0d.js";import"./echarts.50cbfcc9.js";import"./tslib.60310f1a.js";import"./zrender.a255a587.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";const S={class:"detail-popup"},T=i({name:"customdetail"}),M=i({...T,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(d,{expose:f,emit:E}){const b=c(),s=c();m({provinceOptions:[],cityOptions:[],areaOptions:[]});const o=m({}),r=async n=>{Object.assign(o,n)},D=async n=>{const _=await P({id:n.id});r(_)},y=async()=>{var n;(n=s.value)==null||n.close()},C=()=>{var n;console.log("1111111"),(n=s.value)==null||n.open()},B=()=>{E("close")};return f({open:C,setFormData:r,getDetail:D}),(n,_)=>{const a=w,u=j,F=O,v=k,h=R,x=g;return V(),I("div",S,[t(A,{ref_key:"popupRef",ref:s,title:"\u9879\u76EE\u5408\u540C\u8BE6\u60C5",async:!0,width:"80%",onConfirm:y,onClose:B},{default:e(()=>[t(x,{ref_key:"formRef",ref:b,model:o,"label-width":"160px"},{default:e(()=>[t(h,{class:"mb-2"},{default:e(()=>[t(v,null,{default:e(()=>[t(u,{span:12},{default:e(()=>[t(a,{label:"\u5408\u540C\u7F16\u53F7"},{default:e(()=>[l(p(o.contract.contract_name),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(a,{label:"\u9879\u76EE\u540D\u79F0"},{default:e(()=>[l(p(o.project?o.project.name:"\u6682\u65E0\u6570\u636E"),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(a,{label:"\u9879\u76EE\u7F16\u7801"},{default:e(()=>[l(p(o.project.project_code),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(a,{label:"\u5BA2\u6237\u540D\u79F0"},{default:e(()=>[l(p(o.custom.name),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(a,{label:"\u9000\u6B3E\u65E5\u671F"},{default:e(()=>[l(p(o.reason),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(a,{label:"\u9000\u6B3E\u91D1\u989D"},{default:e(()=>[l(p(o.amount),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(a,{label:"\u91D1\u989D\u5927\u5199"},{default:e(()=>[l(p(o.amount_daxie),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(a,{label:"\u9000\u6B3E\u65B9\u5F0F"},{default:e(()=>[t(F,{options:d.dictData.refund_type,value:o.refund_type},null,8,["options","value"])]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(a,{label:"\u9000\u6B3E\u4EBA"},{default:e(()=>[l(p(o.refunder),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(a,{label:"\u6536\u6B3E\u8D26\u53F7"},{default:e(()=>[l(p(o.collection_acccount),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(a,{label:"\u6536\u6B3E\u94F6\u884C"},{default:e(()=>[l(p(o.collection_bank),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(a,{label:"\u5907\u6CE8"},{default:e(()=>[l(p(o.remark),1)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});const Ft=N(M,[["__scopeId","data-v-8f0a62c2"]]);export{Ft as default};
|