2 lines
15 KiB
JavaScript
2 lines
15 KiB
JavaScript
|
import{x as xe,y as Ae,U as Ue,k as te,w as $e,b as Oe,M as Le,N as Pe,L as Re,C as Se,F as Ie,I as Te,J as Me,K as Ye,D as ze,O as Ne}from"./element-plus.4a7d92a3.js";import{_ as je}from"./index.vue_vue_type_script_setup_true_name_systemStoreLists_lang.dfafdc86.js";import{_ as qe}from"./index.vue_vue_type_script_setup_true_lang.5d4e738c.js";import"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.d9a16ced.js";import{c as Ke}from"./purchase_product_offer.5b9135bb.js";import{b as Ge,c as Je,d as Qe,e as ue}from"./beforehand_order_cart_info.236cb99b.js";import{e as Ze,f as He,g as We}from"./beforehand_order.4c0f8dbc.js";import{u as Xe}from"./usePaging.6a6670f9.js";import{u as el}from"./vue-router.101084e3.js";import{f as ll,h as ol}from"./index.d6bf0bc9.js";import{_ as tl}from"./editProduct.vue_vue_type_script_setup_true_name_warehouseOrderEdit_lang.13d0aa84.js";import{e as ul}from"./delivery_service.ca7716a5.js";import{_ as al}from"./goodsOffer.vue_vue_type_script_setup_true_name_subOrder_lang.791f7c92.js";import{_ as rl}from"./warehousing.vue_vue_type_script_setup_true_name_subOrder_lang.a5ed6058.js";import{_ as nl}from"./outbound.vue_vue_type_script_setup_true_name_subOrder_lang.2d8a4d51.js";import{a as dl}from"./system_store.c87bc554.js";import{d as ae,s as sl,r as n,Z as il,ap as pl,o as p,c as v,U as l,L as t,a as d,S as A,u,R as m,j as k,M as z,K as C,Q as P,T as R,a9 as N,n as ml}from"./@vue.18505fe0.js";import"./lodash-es.f52bd8b1.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.fbc6a400.js";import"./@element-plus.edbd5a83.js";import"./dayjs.7347fedc.js";import"./axios.4607972f.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./useDictOptions.a54ffff6.js";import"./store_product.05ffdd5d.js";import"./store_branch_product.d83d05c2.js";import"./warehouse_product_storege.edf3b83e.js";import"./lodash.9dc701ad.js";import"./pinia.a969beab.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.0d2736b7.js";import"./vue-clipboard3.7d5a7a5d.js";import"./clipboard.860a1cea.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b0c09b66.js";import"./index.4e9cb769.js";import"./warehouse.f098c284.js";import"./supplier.4a1a3065.js";import"./warehouse_order.653ccc9a.js";const _l={class:"flex items-center justify-between m-4"},fl={class:"flex flex-col"},cl=d("div",{style:{color:"gray"}},"\u5355\u53F7\uFF1A",-1),vl={style:{color:"black"}},hl={class:"flex items-center justify-between m-4"},bl={class:"flex flex-col"},yl=d("div",{style:{color:"gray"}},"\u603B\u4EF7",-1),Fl={style:{color:"black"}},Cl={class:"flex flex-col flex-2"},Dl=d("div",{style:{color:"gray"}},"\u65F6\u95F4",-1),El={style:{color:"black"}},gl={class:"flex items-center"},kl={key:0},Vl={key:1},wl={key:0},Bl={key:1},xl={key:0,class:"flex mt-4 justify-end"},Al={class:"mb-2"},Ul={class:"dialog-footer"},$l={class:"dialog-footer"},Ol={class:"dialog-footer"},Ll=ae({name:"storeOrderDETAILS"}),To=ae({...Ll,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(Pl,{expose:re,emit:Rl}){const S=sl(),I=n(!1),D=n(!1),V=n(!1),j=n(null),q=n(null),K=n(null),ne=el(),de=a=>{var o,r,B;a=="offer"&&((o=j.value)==null||o.getList(f.value.id)),a=="warehousing"&&((r=q.value)==null||r.getList(f.value.id)),a=="outbound"&&((B=K.value)==null||B.getList(f.value.id,f.value))},se=n(!1),E=n(!1),T=n("second"),G=n(0),J=n(0),ie=n(0),f=n({id:"",code:"",total_price:"",supplier_name:"",warehouse_name:"",system_store:"",financial_pm:"",order_sn:""}),c=n({id:"",user_id:"",pay_type:"",store_id:""}),_=n({order_id:"",product_id:"",need_num:"",unit:"",is_buyer:"",buyer_id:"",mark:""}),pe=()=>{Ke(_.value).then(a=>{y(),D.value=!1})},me=()=>{const a=h.value.map(o=>({id:o.id,nums:o.num||0,purc
|