2 lines
4.1 KiB
JavaScript
2 lines
4.1 KiB
JavaScript
import{B as j,F as A,K as P,C as L,L as S}from"./element-plus.6d2d2999.js";import{_ as T,a as V}from"./index.df3e7e47.js";import{_ as $}from"./index.vue_vue_type_script_setup_true_lang.5ec13947.js";import{P as I}from"./index.7cbc136f.js";import{c as N}from"./custom.da106aa2.js";import{S as K,T as M}from"./flowSet.577c813f.js";import{d as E,s as f,a0 as i,r as U,o as r,c as q,V as t,M as o,T as l,U as p,L as b,u as z}from"./@vue.5673dc6e.js";import{_ as G}from"./index.1eb21f43.js";import"./@vueuse.ae0833ee.js";import"./@element-plus.d30df31f.js";import"./lodash-es.5979d539.js";import"./dayjs.2ad434f4.js";import"./axios.36225696.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./approve.411a2053.js";import"./flow.79e23530.js";import"./vue-router.137bc04e.js";import"./lodash.a82e6f70.js";import"./pinia.dba679c5.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.5db10a28.js";import"./color.71c30cc1.js";import"./clone.2ee3e1bd.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.6e76bada.js";import"./ms.a9ae1d6d.js";import"./nprogress.6e60475c.js";import"./vue-clipboard3.532e155c.js";import"./clipboard.7774a268.js";import"./echarts.50cbfcc9.js";import"./tslib.60310f1a.js";import"./zrender.a255a587.js";import"./highlight.js.dba6fa1b.js";import"./@highlightjs.00aeb742.js";const H={class:"detail-popup"},J=E({name:"customdetail"}),Q=E({...J,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(W,{expose:D,emit:v}){const w=f(),u=f();i([]),i({provinceOptions:[],cityOptions:[],areaOptions:[]});const e=i({}),c=async a=>{Object.assign(e,a),x()},F=async a=>{const d=await N({id:a.id});c(d)},y=async()=>{var a;(a=u.value)==null||a.close()},C=()=>{var a;(a=u.value)==null||a.open()},_=()=>{v("close")},m=U([]),x=async()=>{if(e!=null&&e.approve_id)return;let a=await K();m.value=a};return D({open:C,setFormData:c,getDetail:F}),(a,d)=>{const n=j,s=A,B=$,h=P,k=L,O=T,g=V,R=S;return r(),q("div",H,[t(I,{ref_key:"popupRef",ref:u,title:"\u7532\u65B9\u7ED3\u7B97\u8BE6\u60C5",async:!0,width:"80%",onConfirm:y,onClose:_},{default:o(()=>[t(R,{ref_key:"formRef",ref:w,model:e,"label-width":"120px"},{default:o(()=>[t(k,{class:"mb-2"},{default:o(()=>[t(h,null,{default:o(()=>[t(s,{span:12},{default:o(()=>[t(n,{label:"\u7ED3\u7B97\u5355\u53F7"},{default:o(()=>[l(p(e.settlement_code),1)]),_:1})]),_:1}),t(s,{span:12},{default:o(()=>[t(n,{label:"\u9879\u76EE\u540D\u79F0"},{default:o(()=>[l(p(e.project_name),1)]),_:1})]),_:1}),t(s,{span:12},{default:o(()=>[t(n,{label:"\u5408\u540C\u7F16\u53F7"},{default:o(()=>[l(p(e.contract_name),1)]),_:1})]),_:1}),t(s,{span:12},{default:o(()=>[t(n,{label:"\u5BA2\u6237\u540D\u79F0"},{default:o(()=>[l(p(e.custom_name),1)]),_:1})]),_:1}),t(s,{span:12},{default:o(()=>[t(n,{label:"\u5408\u540C\u540D\u79F0"},{default:o(()=>[l(p(e.contract_code),1)]),_:1})]),_:1}),t(s,{span:12},{default:o(()=>[t(n,{label:"\u7ED3\u7B97\u65E5\u671F"},{default:o(()=>[l(p(e.settlement_date),1)]),_:1})]),_:1}),t(s,{span:12},{default:o(()=>[t(n,{label:"\u7ED3\u7B97\u91D1\u989D"},{default:o(()=>[l(p(e.settlement_amount),1)]),_:1})]),_:1}),t(s,{span:12},{default:o(()=>[t(n,{label:"\u5408\u540C\u91D1\u989D"},{default:o(()=>[l(p(e.contract_amount),1)]),_:1})]),_:1}),t(s,{span:12},{default:o(()=>[t(n,{label:"\u6D3D\u5546\u91D1\u989D"},{default:o(()=>[l(p(e.negotiation_amount),1)]),_:1})]),_:1}),t(s,{span:12},{default:o(()=>[t(n,{label:"\u7ED3\u7B97\u5DEE\u5F02"},{default:o(()=>[l(p(e.settlement_difference),1)]),_:1})]),_:1}),t(s,{span:12},{default:o(()=>[t(n,{label:"\u5408\u540C\u9644\u4EF6"},{default:o(()=>[t(B,{annex:e.annex},null,8,["annex"])]),_:1})]),_:1})]),_:1})]),_:1}),!(e!=null&&e.approve_id)||e.approve_check_status==4?(r(),b(O,{key:0,flows:m.value,submitApi:z(M),id:e==null?void 0:e.id,onOff:_},null,8,["flows","submitApi","id"])):(r(),b(g,{key:1,approve_id:e==null?void 0:e.approve_id,onOff:_},null,8,["approve_id"]))]),_:1},8,["model"])]),_:1},512)])}}});const Vt=G(Q,[["__scopeId","data-v-627013c2"]]);export{Vt as default};
|