HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/8.2.20
System: Linux 825a8fd6cf8c 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
User: apache (48)
PHP: 8.2.20
Disabled: NONE
Upload Files
File: /var/www/html/public/static/js/orderList-8824c8db.js
import{ab as m}from"./message-2472a54a.js";import{getPartOrderList as q}from"./po-e504e5bf.js";import{d as N,A as b,r as d,o as L,Q as v,_ as S,e as h,f as B,g as a,p,y as o,m as x,v as C,l as D,b5 as O,b4 as R}from"./runtime-core.esm-bundler-6128546f.js";import{_ as U}from"./_plugin-vue_export-helper-c27b6911.js";import"./index-96c98e35.js";import"./preload-helper-78dc9057.js";import"./vue-i18n.runtime.esm-bundler-6949bcab.js";import"./index-b7f916e1.js";import"./_commonjsHelpers-87174ba5.js";import"./vue-router-a383d220.js";import"./utils-2ab4f76a.js";const c=i=>(O("data-v-b30682a4"),i=i(),R(),i),j={class:"main"},E=c(()=>a("div",{class:"dialog_tilte"},"出库订单列表",-1)),M={class:"dialog_procure_box"},A=c(()=>a("div",null,"订单号:",-1)),P=c(()=>a("div",null,"客户ID:",-1)),Q=c(()=>a("div",null,"型号:",-1)),$={class:"visibility"},z=N({name:"/crm/inventory/components/orderList"}),F=N({...z,props:{dialogTableVisible:{type:Boolean,default:""},bomNum:{type:Object,default:""}},emits:["update:bomNum","update:eventIsNum"],setup(i,{emit:f}){const _=b({orderNum:"",qo_item_id:"",search:""}),g=d(),y=d([]),V=d(),u=d(!1);b({qo_item_id:"",provider:"N",page:1,resault:""});const t=b({order_no:"",customer_no:"",part_no:""});async function w(){u.value=!0;const{data:r}=await q(Object.assign(V,{order_no:t.order_no,customer_no:t.customer_no,part_no:t.part_no,page:1,resault:10}));r.data.forEach((e,l)=>{r.data[l].order_time=e.order_time.substring(0,10)}),y.value=r.data,setTimeout(()=>{u.value=!1},500)}const I=(r,e)=>{if(_.orderNum=e.sn_order,_.search=e.sn_order,_.qo_item_id=e.qo_item_id,f("update:dialogTableVisible",!1),f("eventIsNum",_),r.length>1){const l=r.shift();g.value.toggleRowSelection(l,!1)}};return L(()=>{}),(r,e)=>{const l=v("el-button"),s=v("el-table-column"),T=v("el-table"),k=S("loading");return h(),B("div",j,[E,a("div",M,[A,p(a("input",{class:"input","onUpdate:modelValue":e[0]||(e[0]=n=>t.order_no=n),type:"text"},null,512),[[m,t.order_no]]),P,p(a("input",{class:"input","onUpdate:modelValue":e[1]||(e[1]=n=>t.customer_no=n),type:"text"},null,512),[[m,t.customer_no]]),Q,p(a("input",{class:"input","onUpdate:modelValue":e[2]||(e[2]=n=>t.part_no=n),type:"text"},null,512),[[m,t.part_no]]),o(l,{type:"primary",onClick:e[3]||(e[3]=n=>w())},{default:x(()=>[C("查询")]),_:1})]),a("div",$,[p((h(),D(T,{data:y.value,border:"","max-height":"700",style:{width:"100%","margin-top":"20px"},ref_key:"singleTableRef",ref:g,onSelect:I,"highlight-current-row":""},{default:x(()=>[o(s,{fixed:"",type:"selection",width:"55"}),o(s,{prop:"sn_order",label:"订单号"}),o(s,{prop:"order_time",label:"订单日期"}),o(s,{prop:"customer_id",label:"客户编号"}),o(s,{prop:"part_no",label:"型号"}),o(s,{prop:"required_quantity",label:"订单数量"}),o(s,{prop:"customer_count",label:"客供元件款数"}),o(s,{prop:"nocustomer_count",label:"需采购元件款数"})]),_:1},8,["data"])),[[k,u.value]])])])}}});const ae=U(F,[["__scopeId","data-v-b30682a4"]]);export{ae as default};