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/noSingle-22c4c733.js
import{ab as p,K as _e}from"./message-2472a54a.js";import{useEqu as me}from"./hookNo-312d4f02.js";import be from"./print-2fd112d4.js";import{d as M,r as ye,o as ce,Q as g,e as m,f as x,g as e,p as _,u as n,y as o,m as s,F as k,I as w,l as C,v as d,i as V,x as ge,b5 as fe,b4 as ve}from"./runtime-core.esm-bundler-6128546f.js";import{_ as xe}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";const a=U=>(fe("data-v-943dff72"),U=U(),ve(),U),Ve={class:"main"},he={class:"order_box"},ke=a(()=>e("div",null,[d("运单号:"),e("span",{class:"red"},"*")],-1)),we=a(()=>e("div",null,"快递公司:",-1)),Ce=a(()=>e("div",{style:{margin:"0 10px 0 0"}},"包裹数量:",-1)),Ue={class:"fieldset"},Se=a(()=>e("legend",{class:"legend"},"物料列表",-1)),De={style:{width:"100%"},class:"table_current_box table_current_box1"},Pe={class:"order_box"},Ie=a(()=>e("div",{style:{"margin-left":"10px"}},"是否客供",-1)),$e=a(()=>e("td",null,"匹配物料ID",-1)),ze={class:"order_box left"},qe=a(()=>e("td",null,"物料类别",-1)),Le=a(()=>e("td",null,"物料编码",-1)),Re=a(()=>e("td",null,[d("型号规格"),e("span",{class:"red"},"*")],-1)),Te=a(()=>e("td",{class:"waybill_desc"},[d(" 单"),e("span",{style:{opacity:"0"}},"单位"),d("位:"),e("span",{class:"red"},"*")],-1)),Ne=a(()=>e("td",null,"元件类别",-1)),Me=a(()=>e("td",null,[d("品"),e("span",{style:{opacity:"0"}},"单位"),d("牌")],-1)),Be={class:"order_box"},je=a(()=>e("td",null,"详细参数",-1)),Ae={class:"fieldset_top2"},Ee=a(()=>e("legend",{class:"legend"},"物料列表",-1)),Ke=["onUpdate:modelValue"],Fe={class:"button_box"},Oe={class:"fieldset_top2"},Qe=a(()=>e("legend",{class:"legend"},"物料列表",-1)),Ge={style:{width:"100%"},class:"table_current_box"},He=a(()=>e("td",{width:"15%"},"入库数量",-1)),Je={width:"35%"},We=a(()=>e("td",{width:"15%"},[d("库位"),e("span",{class:"red"},"*")],-1)),Xe={width:"35%"},Ye={class:"button_box"},Ze=a(()=>e("div",{class:"dialog_tilte"},"无单元件匹配选择",-1)),et={class:"dialog_procure_box",style:{"margin-top":"20px"}},tt=a(()=>e("div",{class:"waybill_desc"},"选择元件ID:",-1)),lt={class:"visibility"},nt={class:"demo-pagination-block"},ot={class:"primary_box button_flex"},at={class:"add_part_dialog_box"},dt=a(()=>e("div",{class:"dialog_tilte"},"新增元件",-1)),st={border:"1",class:"mate_box"},it=a(()=>e("td",{class:"waybill_desc"},[d("物料类别:"),e("span",{class:"red"},"*")],-1)),ut={class:"tree-select_box"},rt=a(()=>e("td",{class:"waybill_desc"},[d("物料编码:"),e("span",{class:"red"},"*")],-1)),pt=a(()=>e("td",{class:"waybill_desc"},"规格型号:",-1)),_t=a(()=>e("td",{class:"waybill_desc"},[d(" 单"),e("span",{style:{opacity:"0"}},"单位"),d("位:"),e("span",{class:"red"},"*")],-1)),mt=a(()=>e("td",{class:"waybill_desc"},[d("元件类别:"),e("span",{class:"red"},"*")],-1)),bt=a(()=>e("td",{class:"waybill_desc"},[d(" 品"),e("span",{style:{opacity:"0"}},"品牌"),d("牌: ")],-1)),yt=a(()=>e("td",{width:"12%",class:"waybill_desc"},"详细参数:",-1)),ct=a(()=>e("td",{colspan:"2"},null,-1)),gt={class:"primary_box button_flex"},ft=M({name:"/crm/inventory/noSingle"}),vt=M({...ft,setup(U){function B(b){let l="";return q.value.forEach((f,v)=>{f.name_k==b&&(l=f.name)}),l}const j=ye("3"),{customerList:A,customerObj:i,btnChecked:E,partSortData:K,matePart:F,tableDialogMate:S,search_key:I,btnSearchPart:O,PartList:Q,PartListTotal:G,btnAddPart:H,addPartDialog:D,partUnitData:R,partUnitData1:xt,multipleTableRef:J,selectClick1:W,currentSizeChange:$,currentMatePage:z,handleSizeChange1:X,handleCurrentChange1:Y,partAddModel:r,partTypeData:q,addPartSubmin:Z,partSortData1:ee,checkedPartId:Vt,noSingleObj:y,addRoll:te,automaticallyList:le,changeInput:ne,delRoll:oe,btnSubmin:ae,btnPoInventoryToLocal:de,printMatchDialog:h,printBeltData:ht,printList1:kt,printList2:wt,btnAutofill:Ct,real_stock_total:Ut,btnPrintLabel:St,btnReservedConfirm:Dt,printRowData:se,expressCompanyData:ie}=me();return ce(()=>{}),(b,l)=>{const f=g("el-option"),v=g("el-select"),ue=g("el-input-number"),re=g("el-checkbox"),c=g("el-button"),T=g("el-tree-select"),u=g("el-table-column"),N=g("el-table"),pe=g("el-pagination"),L=g("el-dialog");return m(),x("div",Ve,[e("div",he,[ke,_(e("input",{class:"input","onUpdate:modelValue":l[0]||(l[0]=t=>n(y).trackingNo=t),type:"text"},null,512),[[p,n(y).trackingNo]]),we,o(v,{clearable:"true",modelValue:n(y).express_company,"onUpdate:modelValue":l[1]||(l[1]=t=>n(y).express_company=t),filterable:"","allow-create":"","default-first-option":"","reserve-keyword":!1,placeholder:"请选择快递"},{default:s(()=>[(m(!0),x(k,null,w(n(ie),t=>(m(),C(f,{key:t.id,label:t.name,value:t.name},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),Ce,o(ue,{modelValue:n(y).package_num,"onUpdate:modelValue":l[2]||(l[2]=t=>n(y).package_num=t),min:1,max:100,onChange:b.handleChange},null,8,["modelValue","onChange"])]),e("fieldset",Ue,[Se,e("table",De,[e("tr",null,[e("td",null,[e("div",Pe,[o(re,{modelValue:n(i).is_customer,"onUpdate:modelValue":l[3]||(l[3]=t=>n(i).is_customer=t),label:"",onChange:l[4]||(l[4]=t=>n(E)(n(i).is_customer)),size:"large"},null,8,["modelValue"]),Ie])]),e("td",null,[o(v,{modelValue:n(i).customerName,"onUpdate:modelValue":l[5]||(l[5]=t=>n(i).customerName=t),filterable:"",disabled:n(i).disabled,placeholder:"请选择客户",onChange:b.onSearch,style:{width:"272px"}},{default:s(()=>[(m(!0),x(k,null,w(n(A),t=>(m(),C(f,{key:t.customer_id,label:t.customer_id,value:t.customer_id},null,8,["label","value"]))),128))]),_:1},8,["modelValue","disabled","onChange"])]),$e,e("td",null,[e("div",ze,[_(e("input",{"onUpdate:modelValue":l[6]||(l[6]=t=>n(i).selectPartId=t),class:"input2",type:"text",disabled:"",placeholder:"请选择"},null,512),[[p,n(i).selectPartId]]),o(c,{type:"primary",plain:"",onClick:l[7]||(l[7]=t=>n(F)())},{default:s(()=>[d("选择")]),_:1})])])]),e("tr",null,[qe,e("td",null,[o(T,{style:{width:"272px"},modelValue:n(i).sort_id,"onUpdate:modelValue":l[8]||(l[8]=t=>n(i).sort_id=t),data:n(ee),"render-after-expand":!1},null,8,["modelValue","data"])]),Le,e("td",null,[_(e("input",{"onUpdate:modelValue":l[9]||(l[9]=t=>n(i).name=t),class:"input2",type:"text"},null,512),[[p,n(i).name]])])]),e("tr",null,[Re,e("td",null,[_(e("input",{"onUpdate:modelValue":l[10]||(l[10]=t=>n(i).standard_model=t),class:"input2",type:"text"},null,512),[[p,n(i).standard_model]])]),Te,e("td",null,[o(v,{modelValue:n(i).qty_unit_id,"onUpdate:modelValue":l[11]||(l[11]=t=>n(i).qty_unit_id=t),filterable:"",placeholder:"请选择",onChange:b.changePartUnit,style:{width:"272px"}},{default:s(()=>[(m(!0),x(k,null,w(n(R),t=>(m(),C(f,{key:t,label:t.name,value:t.unit_id},null,8,["label","value"]))),128))]),_:1},8,["modelValue","onChange"])])]),e("tr",null,[Ne,e("td",null,[o(v,{modelValue:n(i).category,"onUpdate:modelValue":l[12]||(l[12]=t=>n(i).category=t),filterable:"",placeholder:"请选择",onChange:b.changePartType,style:{width:"272px"}},{default:s(()=>[(m(!0),x(k,null,w(n(q),t=>(m(),C(f,{key:t.id,label:t.name,value:t.name_k},null,8,["label","value"]))),128))]),_:1},8,["modelValue","onChange"])]),Me,e("td",null,[e("div",Be,[_(e("input",{"onUpdate:modelValue":l[13]||(l[13]=t=>n(i).vendor=t),class:"input2",type:"text"},null,512),[[p,n(i).vendor]])])])]),e("tr",null,[je,e("td",null,[_(e("input",{class:"input2","onUpdate:modelValue":l[14]||(l[14]=t=>n(i).description=t),type:"text"},null,512),[[p,n(i).description]])])])])]),e("fieldset",Ae,[Ee,o(N,{data:n(le),border:"","max-height":"400",style:{width:"100%"},"highlight-current-row":"",class:"del_button"},{default:s(()=>[o(u,{fixed:"",prop:"idx",label:"序号"}),o(u,{prop:"seq_no",label:"卷序号"}),o(u,{prop:"name",label:"卷名称"}),o(u,{prop:"quantity",label:"卷数量"},{default:s(t=>[_(e("input",{class:"input2",type:"text",ref:"frame",onInput:l[15]||(l[15]=P=>n(ne)()),onKeyup:l[16]||(l[16]=_e(P=>b.enter(),["enter","native"])),"onUpdate:modelValue":P=>t.row.quantity=P},null,40,Ke),[[p,t.row.quantity]])]),_:1}),o(u,{prop:"address",label:"操作"},{default:s(t=>[o(c,{type:"danger",onClick:P=>n(oe)(t.row)},{default:s(()=>[d("删除")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"]),e("div",Fe,[o(c,{type:"primary",plain:"",onClick:l[17]||(l[17]=t=>n(te)())},{default:s(()=>[d("添加卷")]),_:1})])]),e("fieldset",Oe,[Qe,e("table",Ge,[e("tr",null,[He,e("td",Je,[_(e("input",{class:"input2","onUpdate:modelValue":l[18]||(l[18]=t=>n(y).locationSum=t),type:"text"},null,512),[[p,n(y).locationSum]])]),We,e("td",Xe,[_(e("input",{"onUpdate:modelValue":l[19]||(l[19]=t=>n(y).location=t),class:"input2",type:"text"},null,512),[[p,n(y).location]])])])])]),e("div",Ye,[o(c,{type:"primary",onClick:l[20]||(l[20]=t=>n(de)())},{default:s(()=>[d("提交入库")]),_:1})]),o(L,{modelValue:n(S),"onUpdate:modelValue":l[28]||(l[28]=t=>V(S)?S.value=t:null),title:""},{default:s(()=>[Ze,e("div",null,[e("div",et,[tt,_(e("input",{class:"input","onUpdate:modelValue":l[21]||(l[21]=t=>V(I)?I.value=t:null),type:"text"},null,512),[[p,n(I)]]),o(c,{type:"primary",onClick:l[22]||(l[22]=t=>n(O)())},{default:s(()=>[d("查询")]),_:1}),o(c,{type:"primary",onClick:l[23]||(l[23]=t=>n(H)())},{default:s(()=>[d("新建元件")]),_:1})]),e("div",lt,[o(N,{ref_key:"multipleTableRef",ref:J,data:n(Q),border:"","max-height":"450",onSelect:n(W),style:{width:"100%","margin-top":"20px"}},{default:s(()=>[o(u,{fixed:"",type:"selection",width:"55"}),o(u,{type:"index",fixed:"",width:"55",label:"序号"}),o(u,{prop:"part_id",width:"180",label:"物料ID"}),o(u,{prop:"sort_name",label:"物料类别"}),o(u,{prop:"name",label:"物料编码"}),o(u,{prop:"standard_model",label:"型号规格"}),o(u,{prop:"unit_name",label:"单位"}),o(u,{prop:"category",label:"元件类别"},{default:s(t=>[d(ge(B(t.row.category)),1)]),_:1}),o(u,{prop:"comp_name",label:"品牌"}),o(u,{prop:"description",label:"详细参数"}),o(u,{prop:"ours_amount_in_stock",label:"可用数量"}),o(u,{prop:"real_amount_in_stock",label:"实际数量"})]),_:1},8,["data","onSelect"])]),e("div",nt,[o(pe,{"current-page":n(z),"onUpdate:current-page":l[24]||(l[24]=t=>V(z)?z.value=t:null),"page-size":n($),"onUpdate:page-size":l[25]||(l[25]=t=>V($)?$.value=t:null),"page-sizes":[10,15,20,25],small:b.small,disabled:b.disabled,background:b.background,layout:"total, sizes, prev, pager, next, jumper",total:n(G),onSizeChange:n(X),onCurrentChange:n(Y)},null,8,["current-page","page-size","small","disabled","background","total","onSizeChange","onCurrentChange"])]),e("div",ot,[o(c,{type:"primary",onClick:l[26]||(l[26]=t=>n(ae)())},{default:s(()=>[d("提交")]),_:1}),o(c,{type:"info",onClick:l[27]||(l[27]=t=>S.value=!1)},{default:s(()=>[d("关闭")]),_:1})])])]),_:1},8,["modelValue"]),e("div",at,[o(L,{modelValue:n(D),"onUpdate:modelValue":l[38]||(l[38]=t=>V(D)?D.value=t:null),title:""},{default:s(()=>[e("div",null,[dt,e("table",st,[e("tr",null,[it,e("td",ut,[o(T,{modelValue:n(r).sort_id,"onUpdate:modelValue":l[29]||(l[29]=t=>n(r).sort_id=t),data:n(K),"render-after-expand":!1},null,8,["modelValue","data"])]),rt,e("td",null,[_(e("input",{"onUpdate:modelValue":l[30]||(l[30]=t=>n(r).name=t),class:"input1",type:"text"},null,512),[[p,n(r).name]])])]),e("tr",null,[pt,e("td",null,[_(e("input",{"onUpdate:modelValue":l[31]||(l[31]=t=>n(r).standard_model=t),class:"input1",type:"text"},null,512),[[p,n(r).standard_model]])]),_t,e("td",null,[o(v,{modelValue:n(r).qty_unit_id,"onUpdate:modelValue":l[32]||(l[32]=t=>n(r).qty_unit_id=t),filterable:"",placeholder:"请选择",onChange:b.changePartUnit,style:{width:"272px"}},{default:s(()=>[(m(!0),x(k,null,w(n(R),t=>(m(),C(f,{key:t,label:t.name,value:t.unit_id},null,8,["label","value"]))),128))]),_:1},8,["modelValue","onChange"])])]),e("tr",null,[mt,e("td",null,[o(v,{modelValue:n(r).category,"onUpdate:modelValue":l[33]||(l[33]=t=>n(r).category=t),filterable:"",placeholder:"请选择",onChange:b.changePartType,style:{width:"272px"}},{default:s(()=>[(m(!0),x(k,null,w(n(q),t=>(m(),C(f,{key:t.id,label:t.name,value:t.name_k},null,8,["label","value"]))),128))]),_:1},8,["modelValue","onChange"])]),bt,e("td",null,[_(e("input",{"onUpdate:modelValue":l[34]||(l[34]=t=>n(r).part_vendor=t),class:"input1",type:"text"},null,512),[[p,n(r).part_vendor]])])]),e("tr",null,[yt,e("td",null,[_(e("input",{"onUpdate:modelValue":l[35]||(l[35]=t=>n(r).description=t),class:"input1",type:"text"},null,512),[[p,n(r).description]])]),ct])]),e("div",gt,[o(c,{type:"primary",onClick:l[36]||(l[36]=t=>n(Z)())},{default:s(()=>[d("提交")]),_:1}),o(c,{type:"info",onClick:l[37]||(l[37]=t=>D.value=!1)},{default:s(()=>[d("关闭")]),_:1})])])]),_:1},8,["modelValue"])]),o(L,{modelValue:n(h),"onUpdate:modelValue":l[40]||(l[40]=t=>V(h)?h.value=t:null),title:""},{default:s(()=>[o(be,{printRowData:n(se),str:j.value,tableDialogPrint:n(h),"onUpdate:tableDialogPrint":l[39]||(l[39]=t=>V(h)?h.value=t:null)},null,8,["printRowData","str","tableDialogPrint"])]),_:1},8,["modelValue"])])}}});const Et=xe(vt,[["__scopeId","data-v-943dff72"]]);export{Et as default};