File: /var/www/html/public/static/js/userInfo-9d623c5b.js
import{useEqu as R}from"./hookUserInfo-2520e647.js";import{b as z,P as A}from"./index.es-a2ea3a0f.js";import{d as v,o as E,Q as c,e as u,f as h,g as o,y as s,m as l,F,I as K,u as e,l as O,x as r,v as p,i as U,b5 as $,b4 as j}from"./runtime-core.esm-bundler-6128546f.js";import{_ as q}from"./_plugin-vue_export-helper-c27b6911.js";import"./po-fb6b3580.js";import"./index-d7b646b9.js";import"./preload-helper-78dc9057.js";import"./message-2472a54a.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";import"./index-81e4a901.js";import"./focus-trap-53f1c6ab.js";import"./error-78e43d3e.js";import"./epTheme-686566f8.js";import"./index-a7c31d60.js";import"./merge-f215fb43.js";const m=i=>($("data-v-54f4a4ad"),i=i(),j(),i),M={class:"main"},Q={class:"dialog_procure_box dialog_procure_box1",style:{"margin-top":"0px"}},G={class:"Time_box"},H=m(()=>o("div",null,"Time:",-1)),J={class:"Time_box"},W={class:"margin_left"},X={class:"margin_left"},Y=m(()=>o("div",{class:"dialog_tilte"},"创建采购单",-1)),Z=m(()=>o("fieldset",{class:"fieldset"},[o("legend",{class:"legend"},"发货操作"),o("table",{class:"createOrderobj_box"},[o("tr",null,[o("td",{width:"15%"},"客户名称"),o("td",null,"123132")])])],-1)),ee={class:"part_out_button"},oe=v({name:"/crm/yuyue/userInfo"}),te=v({...oe,setup(i){const{searchDetail:n,btnSearchPart:le,loading:b,small:ae,selectList:y,columns:C,checkList:se,pagination:ne,handleSizeChange:k,handleCurrentChange:x,PartList:S,order_date:re,deliverDialog:_,selectClick:I,btnDeliverConfirm:V,singleTableRef:w,loadPartList:L,expressCompanyData:P}=R();return E(()=>{}),(f,a)=>{const T=c("el-option"),B=c("el-select"),g=c("el-button"),D=c("el-dialog");return u(),h("div",M,[o("div",Q,[o("div",G,[H,s(B,{clearable:"true",modelValue:e(n).searchKey,"onUpdate:modelValue":a[0]||(a[0]=t=>e(n).searchKey=t),filterable:"","allow-create":"","default-first-option":"","reserve-keyword":!1,placeholder:"Please select",onChange:e(L)},{default:l(()=>[(u(!0),h(F,null,K(e(P),t=>(u(),O(T,{key:t.id,label:t.text,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","onChange"])]),o("div",J,[o("div",null,"Booking:"+r(e(n).Booking),1),o("div",W,"Note:"+r(e(n).Note),1),o("div",X,"Invoices:"+r(e(n).Invoices),1)])]),s(e(A),{title:"设备列表",selectArr:e(y),onRefresh:f.onSearch},{default:l(({size:t,checkList:N})=>[s(e(z),{border:"",ref_key:"singleTableRef",ref:w,onSelect:e(I),"max-height":"500","align-whole":"center",showOverflowTooltip:"","table-layout":"auto",loading:e(b),size:"small",data:e(S),columns:e(C),checkList:N,paginationSmall:t==="small","header-cell-style":{background:"var(--el-table-row-hover-bg-color)",color:"var(--el-text-color-primary)"},onSizeChange:e(k),onCurrentChange:e(x)},{order_sn:l(({row:d})=>[p(" P"+r(d.order_id)+"-"+r(d.order_item_id),1)]),operation:l(({row:d})=>[s(g,{class:"reset-margin reset-margin1",link:"",type:"primary",size:t,onClick:ie=>f.btnPartDetailDialog(d)},{default:l(()=>[p(" 明细 ")]),_:2},1032,["size","onClick"])]),_:2},1032,["onSelect","loading","data","columns","checkList","paginationSmall","header-cell-style","onSizeChange","onCurrentChange"])]),_:1},8,["selectArr","onRefresh"]),s(D,{modelValue:e(_),"onUpdate:modelValue":a[2]||(a[2]=t=>U(_)?_.value=t:null),title:""},{default:l(()=>[Y,Z,o("div",ee,[s(g,{type:"primary",onClick:a[1]||(a[1]=t=>e(V)())},{default:l(()=>[p("确定")]),_:1})])]),_:1},8,["modelValue"])])}}});const Le=q(te,[["__scopeId","data-v-54f4a4ad"]]);export{Le as default};