File: /var/www/html/public/static/js/partList-ad8c167e.js
import{ab as g}from"./message-2472a54a.js";import{useEqu as jl}from"./hookPartList-e8bfff94.js";import{b as Ol,P as Ql}from"./index.es-b13c7b7d.js";import{d as X,o as Gl,Q as c,e as m,f as h,g as t,p as f,u as a,i as b,y as e,m as d,F as $,I as D,l as x,v as _,x as s,t as Q,b5 as Hl,b4 as Jl}from"./runtime-core.esm-bundler-6128546f.js";import{_ as Kl}from"./_plugin-vue_export-helper-c27b6911.js";import"./po-4f5ed739.js";import"./index-74d93170.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";import"./epTheme-077fa9dc.js";import"./index-a7c31d60.js";import"./focus-trap-53f1c6ab.js";import"./error-78e43d3e.js";import"./merge-f215fb43.js";const A="/public/static/png/edit_icon-3c6ec8f6.png",Wl="/public/static/png/error_icon-e6119343.png",i=U=>(Hl("data-v-e8a346ea"),U=U(),Jl(),U),Xl={class:"main"},Yl={class:"dialog_procure_box"},Zl=i(()=>t("div",{class:"waybill_desc"},"物料参数 / 物料ID:",-1)),le=i(()=>t("div",{class:"waybill_desc"},"物料类别:",-1)),ee=i(()=>t("div",{class:"waybill_desc"},"元件类别:",-1)),te=i(()=>t("div",{class:"dialog_tilte",style:{margin:"0 0 0px 0"}},"物料明细页面",-1)),oe={class:"fieldset"},ae=i(()=>t("legend",{class:"legend"},"物料信息",-1)),de={class:"fieldset_top"},ne=i(()=>t("legend",{class:"legend"},"物料列表",-1)),ie={class:"dialog_procure_box dialog_procure_box1"},se=["onClick"],_e={class:"dialog_procure_box dialog_procure_box1"},re=["onClick"],ue={key:0,class:"error_icon",src:Wl,alt:""},pe={class:"dialog_procure_box dialog_procure_box1"},me=["onClick"],ce={class:"dialog_procure_box dialog_procure_box1"},be={class:"tooltip"},ye={class:"placement_desc"},ve={class:"tooltip"},ge={class:"placement_desc"},fe={class:"dialog_procure_box dialog_procure_box1"},we=["onClick"],he={class:"dialog_procure_box",style:{"margin-top":"20px"}},xe={class:"relocation_box"},ke=i(()=>t("div",{class:"dialog_tilte"},"移库操作",-1)),Ve={class:"dialog_procure_box"},Ce={class:"dialog_procure_box"},qe=i(()=>t("div",null,"修改卷",-1)),$e={class:"new_loca_code",style:{"margin-top":"60px"}},De=i(()=>t("div",{style:{"font-size":"15px"}},"新库位",-1)),Ue={class:"new_loca_code",style:{"margin-top":"100px"}},Se={class:"relocation_box"},Le=i(()=>t("div",{class:"dialog_tilte"},"批次号操作",-1)),ze={class:"dialog_procure_box"},Ie={class:"dialog_procure_box"},Re=i(()=>t("div",null,"修改卷",-1)),Me={class:"new_loca_code",style:{"margin-top":"60px"}},Be=i(()=>t("div",{style:{"font-size":"15px"}},"批次号",-1)),Ne={class:"new_loca_code",style:{"margin-top":"100px"}},Pe={class:"relocation_box"},Te=i(()=>t("div",{class:"dialog_tilte"},"修改存储卷",-1)),Ae={class:"dialog_procure_box"},Ee={class:"dialog_procure_box"},Fe=i(()=>t("div",null,"修改卷",-1)),je={class:"new_loca_code",style:{"margin-top":"60px"}},Oe=i(()=>t("div",{style:{"font-size":"15px"}},"选择卷",-1)),Qe={class:"new_loca_code",style:{"margin-top":"60px"}},Ge={class:"new_loca_code",style:{"margin-top":"100px"}},He={class:"relocation_box"},Je=i(()=>t("div",{class:"dialog_tilte"},"盘点操作",-1)),Ke={class:"dialog_procure_box"},We={class:"dialog_procure_box"},Xe=i(()=>t("div",null,"修改卷",-1)),Ye={class:"new_loca_code",style:{"margin-top":"60px"}},Ze=i(()=>t("div",{style:{"font-size":"16px"}},"盘点数量",-1)),lt={class:"new_loca_code1",style:{"margin-top":"60px"}},et=i(()=>t("div",{style:{"font-size":"16px"}},"盘点理由",-1)),tt={class:"new_loca_code",style:{"margin-top":"100px"}},ot={class:"relocation_box"},at=i(()=>t("div",{class:"dialog_tilte"},"修改所属",-1)),dt={class:"dialog_procure_box"},nt={class:"dialog_procure_box"},it=i(()=>t("div",null,"修改卷",-1)),st={class:"new_loca_code",style:{"margin-top":"60px"}},_t={class:"new_loca_code",style:{"margin-top":"100px"}},rt={class:"relocation_box"},ut=i(()=>t("div",{class:"dialog_tilte"},"添加物料卷",-1)),pt={class:"addModal_box"},mt={width:"70%"},ct=i(()=>t("td",{width:"22%"},"卷所属",-1)),bt={class:"add_odality"},yt=i(()=>t("td",null,"卷存储卷",-1)),vt={class:"add_odality"},gt=i(()=>t("td",null,"数量",-1)),ft=i(()=>t("td",null,"库位",-1)),wt={class:"new_loca_code",style:{"margin-top":"100px"}},ht=X({name:"/crm/inventory/partList"}),xt=X({...ht,setup(U){function G(k){let o="";return H.value.forEach((P,V)=>{P.name_k==k&&(o=P.name)}),o}const Y=({row:k,rowIndex:o})=>Bl.value===1&&k.ours_amount_in_stock===0&&k.real_amount_in_stock===0?"none":"",{PartList:Z,search_key:E,small:kt,disabled:Vt,background:Ct,handleSizeChange:ll,handleCurrentChange:el,handleSelectionChange:tl,columns:ol,selectList:al,loading:dl,pagination:nl,partAddModel:S,partSortData:il,partTypeData:H,btnSearchPart:sl,changeSearch_key:F,btnPartDetailDialog:_l,partDetailDialog:j,partDetailData:rl,PartInfo:ul,objectSpanMethod:pl,relocationDialog:L,btnRelocationDialog:ml,relocationData:cl,btnNewLocaCode:bl,editDatat:r,btnStorageVolume:yl,storageVolumeDialog:z,storageVolume:vl,volumeDataList:gl,btnChecked:fl,btnChecked1:wl,btnStorage:hl,checked:v,coilData:xl,coilDialog:I,btnCoilDialog:kl,btnCoil:Vl,affiliationDialog:R,affiliationData:Cl,btnAffiliation:ql,customerList:$l,btnAffiliat:Dl,changeRadio:Ul,btnPrint:Sl,addModality:Ll,addModalityDialog:M,btnModalitysubbmit:zl,changeRadio1:Il,customerList1:Rl,volumeDataList1:Ml,modality:p,btnShowDefault:qt,btnShowAll:$t,show:Bl,showValue:B,onSwitch:Nl,btnBatch:Pl,batchDialog:N,batchData:Tl,btnBatchSubmit:Al}=jl();return Gl(()=>{}),(k,o)=>{const P=c("el-tree-select"),V=c("el-option"),q=c("el-select"),u=c("el-button"),n=c("el-table-column"),y=c("el-table"),El=c("el-switch"),J=c("el-tooltip"),w=c("el-dialog"),K=c("el-checkbox"),Fl=c("el-input"),T=c("el-radio"),W=c("el-radio-group");return m(),h("div",Xl,[t("div",Yl,[Zl,f(t("input",{class:"input",onInput:o[0]||(o[0]=l=>a(F)()),"onUpdate:modelValue":o[1]||(o[1]=l=>b(E)?E.value=l:null),type:"text"},null,544),[[g,a(E)]]),le,e(P,{modelValue:a(S).sort_id,"onUpdate:modelValue":o[2]||(o[2]=l=>a(S).sort_id=l),data:a(il),"render-after-expand":!1,onChange:o[3]||(o[3]=l=>a(F)())},null,8,["modelValue","data"]),ee,e(q,{modelValue:a(S).category,"onUpdate:modelValue":o[4]||(o[4]=l=>a(S).category=l),filterable:"",placeholder:"请选择",style:{width:"272px"},onChange:o[5]||(o[5]=l=>a(F)())},{default:d(()=>[(m(!0),h($,null,D(a(H),l=>(m(),x(V,{key:l.id,label:l.name,value:l.name_k},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e(u,{type:"primary",onClick:o[6]||(o[6]=l=>a(sl)())},{default:d(()=>[_("查询")]),_:1})]),e(a(Ql),{title:"设备列表",selectArr:a(al),onRefresh:k.onSearch},{default:d(({size:l,checkList:C})=>[e(a(Ol),{border:"","max-height":"600","align-whole":"center",showOverflowTooltip:"","table-layout":"auto",loading:a(dl),size:"small",data:a(Z),columns:a(ol),checkList:C,pagination:a(nl),paginationSmall:l==="small","header-cell-style":{background:"var(--el-table-row-hover-bg-color)",color:"var(--el-text-color-primary)"},onSelectionChange:a(tl),onSizeChange:a(ll),onCurrentChange:a(el)},{category:d(({row:O})=>[t("div",null,s(G(O.category)),1)]),operation:d(({row:O})=>[e(u,{class:"reset-margin reset-margin1",link:"",type:"primary",size:l,onClick:Dt=>a(_l)(O)},{default:d(()=>[_(" 物料明细 ")]),_:2},1032,["size","onClick"])]),_:2},1032,["loading","data","columns","checkList","pagination","paginationSmall","header-cell-style","onSelectionChange","onSizeChange","onCurrentChange"])]),_:1},8,["selectArr","onRefresh"]),e(w,{modelValue:a(j),"onUpdate:modelValue":o[11]||(o[11]=l=>b(j)?j.value=l:null),title:""},{default:d(()=>[te,t("fieldset",oe,[ae,e(y,{ref:"multipleTableRef","span-method":a(pl),data:a(ul),border:"","max-height":"200"},{default:d(()=>[e(n,{prop:"part_id",width:"100",label:"物料ID"}),e(n,{prop:"name",width:"100",label:"编号"}),e(n,{prop:"comp_name",label:"制造商"}),e(n,{prop:"standard_model",label:"型号"}),e(n,{prop:"description",label:"描述"}),e(n,{prop:"ours_amount_in_stock",label:"可用数量"}),e(n,{prop:"real_amount_in_stock",label:"实际数量"}),e(n,{prop:"safe_amount_in_stock",label:"安全数量"}),e(n,{prop:"category",label:"元件类型"},{default:d(l=>[t("div",null,s(G(l.row.category)),1)]),_:1}),e(n,{prop:"customer_id",label:"客户编号"}),e(n,{prop:"customer_ours_amount_in_stock",label:"可用数量"}),e(n,{prop:"customer_real_amount_in_stock",label:"实际数量"})]),_:1},8,["span-method","data"])]),t("fieldset",de,[ne,e(El,{modelValue:a(B),"onUpdate:modelValue":o[7]||(o[7]=l=>b(B)?B.value=l:null),"active-text":"全部","inactive-text":"默认",onChange:o[8]||(o[8]=l=>a(Nl)(a(B))),style:{"margin-top":"-10px"}},null,8,["modelValue"]),e(y,{ref:"multipleTableRef",data:a(rl),border:"",width:"90%","max-height":"400","row-class-name":Y},{default:d(()=>[e(n,{width:"120",label:"仓库/库位"},{default:d(l=>[t("div",ie,[t("div",null,s(l.row.loca_code),1),t("img",{class:"edit_icon",onClick:C=>a(ml)(l.row),src:A,alt:""},null,8,se)])]),_:1}),e(n,{prop:"modality_name",label:"存放数量/存放名称"},{default:d(l=>[t("div",_e,[t("div",null,s(l.row.modality_quantity)+" / "+s(l.row.modality_name),1),t("img",{class:"edit_icon",onClick:C=>a(yl)(l.row),src:A,alt:""},null,8,re)])]),_:1}),e(n,{width:"60",label:"异常"},{default:d(l=>[l.row.is_abnormal=="N"?(m(),h("img",ue)):Q("",!0)]),_:1}),e(n,{prop:"stock_modality_seq",width:"70",label:"卷序号"}),e(n,{prop:"seq_no",label:"卷名称"}),e(n,{width:"120",label:"批次号"},{default:d(l=>[t("div",pe,[t("div",null,s(l.row.bar_code),1),t("img",{class:"edit_icon",onClick:C=>a(Pl)(l.row),src:A,alt:""},null,8,me)])]),_:1}),e(n,{prop:"add_date",width:"100",label:"生产日期"}),e(n,{prop:"ours_amount_in_stock",width:"90",label:"可用数量"}),e(n,{prop:"real_amount_in_stock",width:"120",label:"实际数量"},{default:d(l=>[t("div",ce,[t("div",null,s(l.row.real_amount_in_stock),1),e(u,{type:"primary",plain:"",size:"small",onClick:C=>a(kl)(l.row)},{default:d(()=>[_("盘点")]),_:2},1032,["onClick"])])]),_:1}),e(n,{prop:"sum_reserved_qty",label:"预定"},{default:d(l=>[t("div",be,[l.row.sum_reserved_qty>0?(m(),x(J,{key:0,placement:"bottom",effect:"light"},{content:d(()=>[t("div",ye,[e(y,{data:l.row.reserved_detail,border:"","max-height":"240",width:"100%","highlight-current-row":""},{default:d(()=>[e(n,{width:"130",prop:"sn_order",label:"订单号"}),e(n,{width:"120",prop:"reserved_amount",label:"预定数量"}),e(n,{width:"120",prop:"date_added",label:"预定时间"})]),_:2},1032,["data"])])]),default:d(()=>[t("div",null,s(l.row.sum_reserved_qty)+" >>>",1)]),_:2},1024)):Q("",!0)])]),_:1}),e(n,{prop:"sum_takeout_qty",label:"出库信息"},{default:d(l=>[t("div",ve,[l.row.sum_takeout_qty>0?(m(),x(J,{key:0,placement:"bottom",effect:"light"},{content:d(()=>[t("div",ge,[e(y,{data:l.row.takeout_detail,border:"","max-height":"240",width:"100%","highlight-current-row":""},{default:d(()=>[e(n,{width:"130",prop:"sn_order",label:"订单号"}),e(n,{width:"120",prop:"take_out_amount",label:"出库数量"}),e(n,{width:"120",prop:"return_amount",label:"还料数量"}),e(n,{width:"120",prop:"date_added",label:"出库时间"})]),_:2},1032,["data"])])]),default:d(()=>[t("div",null,s(l.row.sum_takeout_qty)+" >>>",1)]),_:2},1024)):Q("",!0)])]),_:1}),e(n,{prop:"owner",label:"提供方"},{default:d(l=>[t("div",fe,[t("div",null,s(l.row.owner),1),t("img",{class:"edit_icon",onClick:C=>a(ql)(l.row),src:A,alt:""},null,8,we)])]),_:1}),e(n,{prop:"qc_date",label:"采购时间/接收日期"}),e(n,{prop:"qc_user",label:"检测人"})]),_:1},8,["data"])]),t("div",he,[e(u,{type:"primary",onClick:o[9]||(o[9]=l=>a(Sl)())},{default:d(()=>[_("打印标签")]),_:1}),e(u,{type:"primary",onClick:o[10]||(o[10]=l=>a(Ll)())},{default:d(()=>[_("添加卷")]),_:1})])]),_:1},8,["modelValue"]),t("div",xe,[e(w,{modelValue:a(L),"onUpdate:modelValue":o[15]||(o[15]=l=>b(L)?L.value=l:null),title:""},{default:d(()=>[ke,e(y,{data:a(cl),border:"",style:{"margin-top":"30px"},"max-height":"200"},{default:d(()=>[e(n,{prop:"loca_code",label:"仓库/库位"},{default:d(l=>[t("div",Ve,[t("div",null,s(l.row.loca_code),1)])]),_:1}),e(n,{width:"150",prop:"modality_name",label:"存放数量/存放名称"},{default:d(l=>[t("div",Ce,[t("div",null,s(l.row.modality_quantity)+" / "+s(l.row.modality_name),1),qe])]),_:1}),e(n,{prop:"stock_modality_seq",label:"卷序号"}),e(n,{prop:"seq_no",label:"卷名称"}),e(n,{prop:"ours_amount_in_stock",label:"可用数量"}),e(n,{prop:"real_amount_in_stock",label:"实际数量"}),e(n,{prop:"owner",label:"提供方"})]),_:1},8,["data"]),t("div",$e,[De,f(t("input",{"onUpdate:modelValue":o[12]||(o[12]=l=>a(r).loca_code=l),class:"new_loca_code_input",type:"text"},null,512),[[g,a(r).loca_code]])]),t("div",Ue,[e(u,{type:"primary",onClick:o[13]||(o[13]=l=>a(bl)())},{default:d(()=>[_("提交")]),_:1}),e(u,{type:"info",onClick:o[14]||(o[14]=l=>L.value=!1)},{default:d(()=>[_("关闭")]),_:1})])]),_:1},8,["modelValue"])]),t("div",Se,[e(w,{modelValue:a(N),"onUpdate:modelValue":o[19]||(o[19]=l=>b(N)?N.value=l:null),title:""},{default:d(()=>[Le,e(y,{data:a(Tl),border:"",style:{"margin-top":"30px"},"max-height":"200"},{default:d(()=>[e(n,{prop:"loca_code",label:"仓库/库位"},{default:d(l=>[t("div",ze,[t("div",null,s(l.row.loca_code),1)])]),_:1}),e(n,{width:"150",prop:"modality_name",label:"存放数量/存放名称"},{default:d(l=>[t("div",Ie,[t("div",null,s(l.row.modality_quantity)+" / "+s(l.row.modality_name),1),Re])]),_:1}),e(n,{prop:"stock_modality_seq",label:"卷序号"}),e(n,{prop:"seq_no",label:"卷名称"}),e(n,{prop:"ours_amount_in_stock",label:"可用数量"}),e(n,{prop:"real_amount_in_stock",label:"实际数量"}),e(n,{prop:"owner",label:"提供方"})]),_:1},8,["data"]),t("div",Me,[Be,f(t("input",{"onUpdate:modelValue":o[16]||(o[16]=l=>a(r).bar_code=l),class:"new_loca_code_input",type:"text"},null,512),[[g,a(r).bar_code]])]),t("div",Ne,[e(u,{type:"primary",onClick:o[17]||(o[17]=l=>a(Al)())},{default:d(()=>[_("提交")]),_:1}),e(u,{type:"info",onClick:o[18]||(o[18]=l=>N.value=!1)},{default:d(()=>[_("关闭")]),_:1})])]),_:1},8,["modelValue"])]),t("div",Pe,[e(w,{modelValue:a(z),"onUpdate:modelValue":o[26]||(o[26]=l=>b(z)?z.value=l:null),title:""},{default:d(()=>[Te,e(y,{data:a(vl),border:"",style:{"margin-top":"30px"},"max-height":"200"},{default:d(()=>[e(n,{prop:"loca_code",label:"仓库/库位"},{default:d(l=>[t("div",Ae,[t("div",null,s(l.row.loca_code),1)])]),_:1}),e(n,{width:"150",prop:"modality_name",label:"存放数量/存放名称"},{default:d(l=>[t("div",Ee,[t("div",null,s(l.row.modality_quantity)+" / "+s(l.row.modality_name),1),Fe])]),_:1}),e(n,{prop:"stock_modality_seq",label:"卷序号"}),e(n,{prop:"seq_no",label:"卷名称"}),e(n,{prop:"ours_amount_in_stock",label:"可用数量"}),e(n,{prop:"real_amount_in_stock",label:"实际数量"}),e(n,{prop:"owner",label:"提供方"})]),_:1},8,["data"]),t("div",je,[Oe,e(q,{modelValue:a(r).modality_id,"onUpdate:modelValue":o[20]||(o[20]=l=>a(r).modality_id=l),placeholder:"请选择",style:{width:"500px","margin-left":"30px"}},{default:d(()=>[(m(!0),h($,null,D(a(gl),l=>(m(),x(V,{key:l.modality_id,label:l.name,value:l.modality_id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),t("div",Qe,[e(K,{modelValue:a(v),"onUpdate:modelValue":o[21]||(o[21]=l=>b(v)?v.value=l:null),label:"自定义",onChange:o[22]||(o[22]=l=>a(fl)(a(v))),size:"large"},null,8,["modelValue"]),f(t("input",{class:"input3",style:{width:"500px","margin-left":"20px"},"onUpdate:modelValue":o[23]||(o[23]=l=>a(r).modality_qty=l),type:"text"},null,512),[[g,a(r).modality_qty]])]),t("div",Ge,[e(u,{type:"primary",onClick:o[24]||(o[24]=l=>a(hl)())},{default:d(()=>[_("提交")]),_:1}),e(u,{type:"info",onClick:o[25]||(o[25]=l=>z.value=!1)},{default:d(()=>[_("关闭")]),_:1})])]),_:1},8,["modelValue"])]),t("div",He,[e(w,{modelValue:a(I),"onUpdate:modelValue":o[31]||(o[31]=l=>b(I)?I.value=l:null),title:""},{default:d(()=>[Je,e(y,{data:a(xl),border:"",style:{"margin-top":"30px"},"max-height":"200"},{default:d(()=>[e(n,{prop:"loca_code",label:"仓库/库位"},{default:d(l=>[t("div",Ke,[t("div",null,s(l.row.loca_code),1)])]),_:1}),e(n,{width:"150",prop:"modality_name",label:"存放数量/存放名称"},{default:d(l=>[t("div",We,[t("div",null,s(l.row.modality_quantity)+" / "+s(l.row.modality_name),1),Xe])]),_:1}),e(n,{prop:"stock_modality_seq",label:"卷序号"}),e(n,{prop:"seq_no",label:"卷名称"}),e(n,{prop:"ours_amount_in_stock",label:"可用数量"}),e(n,{prop:"real_amount_in_stock",label:"实际数量"}),e(n,{prop:"owner",label:"提供方"})]),_:1},8,["data"]),t("div",Ye,[Ze,f(t("input",{class:"input3",style:{width:"70%","margin-left":"10px",height:"32px"},"onUpdate:modelValue":o[27]||(o[27]=l=>a(r).quantity=l),type:"text"},null,512),[[g,a(r).quantity]])]),t("div",lt,[et,e(Fl,{modelValue:a(r).comment,"onUpdate:modelValue":o[28]||(o[28]=l=>a(r).comment=l),rows:2,type:"textarea",placeholder:"请输入理由"},null,8,["modelValue"])]),t("div",tt,[e(u,{type:"primary",onClick:o[29]||(o[29]=l=>a(Vl)())},{default:d(()=>[_("提交")]),_:1}),e(u,{type:"info",onClick:o[30]||(o[30]=l=>I.value=!1)},{default:d(()=>[_("关闭")]),_:1})])]),_:1},8,["modelValue"])]),t("div",ot,[e(w,{modelValue:a(R),"onUpdate:modelValue":o[37]||(o[37]=l=>b(R)?R.value=l:null),title:""},{default:d(()=>[at,e(y,{data:a(Cl),border:"",style:{"margin-top":"30px"},"max-height":"200"},{default:d(()=>[e(n,{prop:"loca_code",label:"仓库/库位"},{default:d(l=>[t("div",dt,[t("div",null,s(l.row.loca_code),1)])]),_:1}),e(n,{width:"150",prop:"modality_name",label:"存放数量/存放名称"},{default:d(l=>[t("div",nt,[t("div",null,s(l.row.modality_quantity)+" / "+s(l.row.modality_name),1),it])]),_:1}),e(n,{prop:"stock_modality_seq",label:"卷序号"}),e(n,{prop:"seq_no",label:"卷名称"}),e(n,{prop:"ours_amount_in_stock",label:"可用数量"}),e(n,{prop:"real_amount_in_stock",label:"实际数量"}),e(n,{prop:"owner",label:"提供方"})]),_:1},8,["data"]),t("div",st,[e(W,{modelValue:a(r).radio,"onUpdate:modelValue":o[32]||(o[32]=l=>a(r).radio=l),onChange:o[33]||(o[33]=l=>a(Ul)(a(r).radio))},{default:d(()=>[e(T,{label:0},{default:d(()=>[_("公司")]),_:1}),e(T,{label:1},{default:d(()=>[_("客户")]),_:1})]),_:1},8,["modelValue"]),e(q,{modelValue:a(r).owner,"onUpdate:modelValue":o[34]||(o[34]=l=>a(r).owner=l),filterable:"",disabled:a(r).disabled,placeholder:"请选择客户",style:{width:"272px","margin-left":"15px"}},{default:d(()=>[(m(!0),h($,null,D(a($l),l=>(m(),x(V,{key:l.customer_id,label:l.customer_id,value:l.customer_id},null,8,["label","value"]))),128))]),_:1},8,["modelValue","disabled"])]),t("div",_t,[e(u,{type:"primary",onClick:o[35]||(o[35]=l=>a(Dl)())},{default:d(()=>[_("提交")]),_:1}),e(u,{type:"info",onClick:o[36]||(o[36]=l=>R.value=!1)},{default:d(()=>[_("关闭")]),_:1})])]),_:1},8,["modelValue"])]),t("div",rt,[e(w,{modelValue:a(M),"onUpdate:modelValue":o[49]||(o[49]=l=>b(M)?M.value=l:null),title:""},{default:d(()=>[ut,t("div",pt,[t("table",mt,[t("tr",null,[ct,t("td",null,[t("div",bt,[e(W,{modelValue:a(p).radio,"onUpdate:modelValue":o[38]||(o[38]=l=>a(p).radio=l),onChange:o[39]||(o[39]=l=>a(Il)(a(p).radio))},{default:d(()=>[e(T,{label:0},{default:d(()=>[_("公司")]),_:1}),e(T,{label:1,style:{"margin-left":"60px"}},{default:d(()=>[_("客户")]),_:1})]),_:1},8,["modelValue"]),e(q,{modelValue:a(p).owner,"onUpdate:modelValue":o[40]||(o[40]=l=>a(p).owner=l),filterable:"",disabled:a(p).disabled,placeholder:"请选择客户",style:{width:"272px","margin-left":"15px"}},{default:d(()=>[(m(!0),h($,null,D(a(Rl),l=>(m(),x(V,{key:l.customer_id,label:l.customer_id,value:l.customer_id},null,8,["label","value"]))),128))]),_:1},8,["modelValue","disabled"])])])]),t("tr",null,[yt,t("td",null,[t("div",vt,[e(q,{modelValue:a(p).new_modality_id,"onUpdate:modelValue":o[41]||(o[41]=l=>a(p).new_modality_id=l),placeholder:"请选择",style:{width:"240px"}},{default:d(()=>[(m(!0),h($,null,D(a(Ml),l=>(m(),x(V,{key:l.modality_id,label:l.name,value:l.modality_id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e(K,{style:{"margin-left":"35px"},modelValue:a(v),"onUpdate:modelValue":o[42]||(o[42]=l=>b(v)?v.value=l:null),label:"自定义",onChange:o[43]||(o[43]=l=>a(wl)(a(v))),size:"large"},null,8,["modelValue"]),f(t("input",{class:"input_1",style:{"margin-left":"20px"},"onUpdate:modelValue":o[44]||(o[44]=l=>a(p).modality_qty=l),type:"text"},null,512),[[g,a(p).modality_qty]])])])]),t("tr",null,[gt,t("td",null,[f(t("input",{class:"input_2","onUpdate:modelValue":o[45]||(o[45]=l=>a(p).real_quantity=l),type:"text"},null,512),[[g,a(p).real_quantity]])])]),t("tr",null,[ft,t("td",null,[f(t("input",{class:"input_2","onUpdate:modelValue":o[46]||(o[46]=l=>a(p).localCode=l),type:"text"},null,512),[[g,a(p).localCode]])])])])]),t("div",wt,[e(u,{type:"primary",onClick:o[47]||(o[47]=l=>a(zl)())},{default:d(()=>[_("提交")]),_:1}),e(u,{type:"info",onClick:o[48]||(o[48]=l=>M.value=!1)},{default:d(()=>[_("关闭")]),_:1})])]),_:1},8,["modelValue"])])])}}});const Ht=Kl(xt,[["__scopeId","data-v-e8a346ea"]]);export{Ht as default};