2024-11-14 17:23:48 +08:00
|
|
|
import{$ as Z,C as z,D as G,J as H,K as W,w as X,F as Y,L as ee,M as te,b as oe,N as ae,O as le}from"./element-plus.91c68cc0.js";import{_ as se}from"./index.vue_vue_type_script_setup_true_lang.863ae816.js";import{_ as ne}from"./index.vue_vue_type_script_setup_true_lang.20e90b1a.js";import{d as $,s as V,r as k,Z as ue,o as s,c as m,U as t,L as a,u as l,aa as re,T as S,a9 as L,K as u,R as r,M as pe,a as y,S as _,Q as T,j as ie,n as me}from"./@vue.76ce7aa3.js";import{u as _e}from"./usePaging.f8c888e4.js";import{u as de}from"./useDictOptions.ce20c81e.js";import{a as ce}from"./store_order.237732f8.js";import"./lodash.4e6d2a38.js";import"./index.0ac48e23.js";import"./edit.vue_vue_type_script_setup_true_name_storeOrderEdit_lang.8510f2af.js";import{_ as fe}from"./details.vue_vue_type_script_setup_true_name_storeOrderDETAILS_lang.f12e14c5.js";import"./lodash-es.f52bd8b1.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.9ffef7f8.js";import"./@element-plus.73235148.js";import"./dayjs.0112e2c7.js";import"./@babel.80d29b7b.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./axios.cffda5ac.js";import"./jspdf.6c61b9d3.js";import"./fflate.0418c72f.js";import"./vue-router.10bd5b90.js";import"./pinia.f3529286.js";import"./css-color-function.bb8c34b2.js";import"./color.fbd63fe8.js";import"./clone.31a3aa2c.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.b502f541.js";import"./vue-clipboard3.e775fc74.js";import"./clipboard.6417898a.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.8d65305c.js";import"./index.965bddae.js";import"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.cf0d972e.js";import"./moment.40bc58bf.js";import"./orderInfo.vue_vue_type_script_setup_true_name_orderInfo_lang.a3245991.js";import"./storeTable.vue_vue_type_script_setup_true_name_storeTable_lang.639b26a8.js";import"./orderTable.vue_vue_type_script_setup_true_name_orderTable_lang.96518849.js";import"./deliverTable.vue_vue_type_script_setup_true_name_deliverTable_lang.5ed156bf.js";const ye={class:"mt-4"},ve={class:"truncate text-[12px]"},Fe={key:0,style:{"text-align":"left"}},ge={class:"flex mt-4 justify-end"},De=$({name:"store_order_transshipment"}),yt=$({...De,setup(we){V();const v=V();k(!1);const F=k(!1),p=ue({order_id:"",pay_type:""}),A=k([]),K=d=>{A.value=d.map(({id:o})=>o)},{dictData:g}=de("pay_type"),{pager:i,getLists:D,resetParams:N,resetPage:w}=_e({fetchFun:ce,params:p}),R=async d=>{var o,c;F.value=!0,await me(),(o=v.value)==null||o.open(),(c=v.value)==null||c.getDetail(d)};return D(),(d,o)=>{const c=z,b=G,I=H,P=W,C=X,U=Y,B=ee,n=te,O=oe,f=Z,j=ne,M=ae,q=se,J=le;return s(),m("div",null,[t(B,{class:"!border-none mb-4",shadow:"never"},{default:a(()=>[t(U,{class:"mb-[-16px]",model:l(p),inline:""},{default:a(()=>[t(b,{label:"\u8BA2\u5355\u53F7",prop:"order_id"},{default:a(()=>[t(c,{class:"w-[280px]",modelValue:l(p).order_id,"onUpdate:modelValue":o[0]||(o[0]=e=>l(p).order_id=e),onKeydown:re(l(w),["enter"]),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u8BA2\u5355\u53F7"},null,8,["modelValue","onKeydown"])]),_:1}),t(b,{label:"\u652F\u4ED8\u65B9\u5F0F",prop:"pay_type"},{default:a(()=>[t(P,{class:"w-[280px]",modelValue:l(p).pay_type,"onUpdate:modelValue":o[1]||(o[1]=e=>l(p).pay_type=e),placeholder:"\u8BF7\u9009\u62E9\u652F\u4ED8\u65B9\u5F0F",onChange:l(w)},{default:a(()=>[(s(!0),m(S,null,L(l(g).pay_type,e=>(s(),u(I,{label:e.name,value:e.value,key:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","onChange"])]),_:1}),t(b,null,{default:a(()=>[t(C,{type:"primary",onClick:l(w)},{default:a(()=>o[4]||(o[4]=[r("\u67E5\u8BE2")])),_:1},8,["onClick"]),t(C,{onClick:l(N)},{default:a(()=>o[5]||(o[5]=[r("\u91CD\u7F6E")])),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),pe((s(),u(B,{class:"!border-none",shadow:"never"},{default:a(()=>[o[7]||(o[7]=y("d
|