2 lines
5.2 KiB
JavaScript
2 lines
5.2 KiB
JavaScript
import{Y as q,$ as J,a0 as Q,D as W,Q as z,R as G,C as H,w as K,F as X,I as Z,L as ee,b as le,M as te,J as oe,N as ae}from"./element-plus.a40e8d80.js";import{_ as ue}from"./index.vue_vue_type_script_setup_true_lang.4ac5ccb7.js";import{u as ne}from"./usePaging.d25ebf19.js";import{a as se}from"./store_order.a231818e.js";import"./index.9d786a17.js";import{d as V,a0 as re,r as a,o as f,c as C,W as e,O as l,V as ie,a7 as pe,M as h,T as i,P as de,u as v,a as F,U as me,j as _e}from"./@vue.c3e77981.js";import"./@vueuse.a48d0173.js";import"./@element-plus.12c58ce2.js";import"./lodash-es.2b5acb28.js";import"./dayjs.16ed1fda.js";import"./axios.a8078129.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.b082b0c1.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.a2abcd4b.js";import"./vue-router.43c06794.js";import"./pinia.b5130627.js";import"./css-color-function.975e80a5.js";import"./color.d986aa86.js";import"./clone.704d8332.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./ms.564e106c.js";import"./nprogress.ded7f805.js";import"./vue-clipboard3.987889a8.js";import"./clipboard.af74a91f.js";import"./echarts.8535e5a6.js";import"./zrender.3eba8991.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b8b719e9.js";const ce={class:"mt-4"},fe={class:"flex items-center"},ve={class:"flex mt-4 justify-end"},Fe=V({name:"manageProjectLists"}),el=V({...Fe,setup(Ee){const u=re({order_id:"",pay_type:"",start_time:"",end_time:"",status:"",staff_id:""}),s=a([]);a(!1);const{pager:p,getLists:E,resetParams:B,resetPage:D}=ne({fetchFun:se,params:u}),k=()=>{s.value.length&&(u.start_time=s.value[0],u.end_time=s.value[1]),D()},x=()=>{s.value=[],B()};a(null),a({}),a([]);const y=a([]);a({finish:"",wait_receive:"",wait_send:""});const d=a(!1),w=a(""),P=a({}),R=_=>{d.value=!0,P.value=_},L=async _=>{await apiStorFinanceFlowRemarks({row:_}),d.value=!1};return E(),(_,o)=>{const U=q,r=W,c=J,Y=z,A=G,b=H,m=K,I=Q,M=X,g=Z,n=ee,N=le,S=te,T=ue,$=oe,j=ae;return f(),C("div",null,[e(g,{class:"!border-none mb-4",shadow:"never"},{default:l(()=>[e(M,{class:"mb-[-16px]",model:u,"label-width":"80px"},{default:l(()=>[e(I,null,{default:l(()=>[e(c,{span:6},{default:l(()=>[e(r,{label:"\u65F6\u95F4\u7B5B\u9009"},{default:l(()=>[e(U,{modelValue:s.value,"onUpdate:modelValue":o[0]||(o[0]=t=>s.value=t),type:"daterange","range-separator":"-","start-placeholder":"\u5F00\u59CB\u65F6\u95F4","end-placeholder":"\u7ED3\u675F\u65F6\u95F4","value-format":"YYYY-MM-DD"},null,8,["modelValue"])]),_:1})]),_:1}),e(c,{span:6},{default:l(()=>[e(r,{label:"\u5E97\u5458"},{default:l(()=>[e(A,{class:"flex-1",modelValue:u.staff_id,"onUpdate:modelValue":o[1]||(o[1]=t=>u.staff_id=t),placeholder:"\u8BF7\u9009\u62E9\u5E97\u5458"},{default:l(()=>[(f(!0),C(ie,null,pe(y.value,(t,O)=>(f(),h(Y,{label:t.staff_name,value:t.id},null,8,["label","value"]))),256))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(c,{span:6},{default:l(()=>[e(r,{label:"\u7528\u6237\u641C\u7D22"},{default:l(()=>[e(b,{modelValue:u.order_id,"onUpdate:modelValue":o[2]||(o[2]=t=>u.order_id=t),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u8BA2\u5355\u7F16\u53F7"},null,8,["modelValue"])]),_:1})]),_:1}),e(c,{span:6},{default:l(()=>[e(r,null,{default:l(()=>[e(m,{type:"primary",onClick:k},{default:l(()=>[i("\u67E5\u8BE2")]),_:1}),e(m,{onClick:x},{default:l(()=>[i("\u91CD\u7F6E")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),de((f(),h(g,{class:"!border-none",shadow:"never"},{default:l(()=>[F("div",ce,[e(S,{data:v(p).lists},{default:l(()=>[e(n,{label:"\u8BA2\u5355\u53F7",prop:"order_id","show-overflow-tooltip":""}),e(n,{label:"\u7528\u6237\u4FE1\u606F",prop:"build_area_text","show-overflow-tooltip":""},{default:l(({row:t})=>[F("div",fe,[e(N,{style:{width:"50px",height:"50px"},src:t.avatar,class:"mr-2"},null,8,["src"]),i(" "+me(t.nickname),1)])]),_:1}),e(n,{label:"\u652F\u4ED8\u91D1\u989D",prop:"","show-overflow-tooltip":""}),e(n,{label:"\u5145\u503C\u7C7B\u578B",prop:"","show-overflow-tooltip":""}),e(n,{label:"\u652F\u4ED8\u65F6\u95F4",prop:"","show-overflow-tooltip":""}),e(n,{label:"\u5173\u8054\u5E97\u5458",prop:"","show-overflow-tooltip":""}),e(n,{label:"\u64CD\u4F5C",width:"170",fixed:"right"},{default:l(({row:t})=>[e(m,{type:"primary",link:"",onClick:O=>R(t)},{default:l(()=>[i(" \u5907\u6CE8 ")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])]),F("div",ve,[e(T,{modelValue:v(p),"onUpdate:modelValue":o[3]||(o[3]=t=>_e(p)?p.value=t:null),onChange:v(E)},null,8,["modelValue","onChange"])])]),_:1})),[[j,v(p).loading]]),e($,{title:"\u6DFB\u52A0\u5907\u6CE8",modelValue:d.value,"onUpdate:modelValue":o[6]||(o[6]=t=>d.value=t),width:"550px"},{default:l(()=>[e(r,null,{default:l(()=>[e(b,{modelValue:w.value,"onUpdate:modelValue":o[4]||(o[4]=t=>w.value=t),type:"textarea",placeholder:"\u8BF7\u8F93\u5165\u5907\u6CE8\u5185\u5BB9"},null,8,["modelValue"])]),_:1}),e(r,null,{default:l(()=>[e(m,{type:"primary",onClick:L},{default:l(()=>[i("\u786E\u5B9A")]),_:1}),e(m,{onClick:o[5]||(o[5]=t=>d.value=!1)},{default:l(()=>[i("\u53D6\u6D88")]),_:1})]),_:1})]),_:1},8,["modelValue"])])}}});export{el as default};
|