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/packageOut-f8b82f6b.js
import{ab as v}from"./message-2472a54a.js";import{useEqu as M}from"./hookPackage-95aa4c54.js";import{b as Q,P as Y}from"./index.es-1f469e7e.js";import{d as x,o as j,Q as u,_ as F,e as h,f as G,g as i,p as g,u as t,y as o,m as n,v as p,x as _,l as H,t as J,i as w,b5 as K,b4 as W}from"./runtime-core.esm-bundler-6128546f.js";import{_ as X}from"./_plugin-vue_export-helper-c27b6911.js";import"./po-bf9ba69d.js";import"./index-479458b8.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-277a4581.js";import"./index-a7c31d60.js";import"./focus-trap-53f1c6ab.js";import"./error-78e43d3e.js";import"./merge-f215fb43.js";const c=m=>(K("data-v-5b900f41"),m=m(),W(),m),Z={class:"main"},ee={class:"dialog_procure_box",style:{"margin-top":"0px"}},te=c(()=>i("div",{class:"waybill_desc"},"订单号:",-1)),oe=c(()=>i("div",{class:"waybill_desc"},"物料ID/参数:",-1)),le=c(()=>i("div",{class:"waybill_desc"},"货运车号:",-1)),ae={class:"button_flex"},ne={class:"relocation_box relocation_box_30"},ie=c(()=>i("div",{class:"dialog_tilte"},"出库操作",-1)),re={class:"new_loca_code1",style:{"margin-top":"40px"}},se=c(()=>i("div",{style:{"font-size":"16px"}},"备注",-1)),pe={class:"part_out_button"},de=x({name:"/crm/inventory/packageOut"}),ue=x({...de,setup(m){function C(a){if(a=="confirmed")return"已出库";if(a=="return")return"已还料";if(a=="collected"||a=="accepting"||a=="accepted")return"已装箱"}function V(a){if(a=="returned")return"已还料";if(a=="took_out"||a=="confirmed")return"已出库";if(a=="collected"||a=="accepting"||a=="accepted")return"已装箱"}const{searchDetail:s,btnSearchPart:D,loading:S,small:_e,selectList:L,columns:I,checkList:ce,pagination:O,handleSizeChange:P,handleCurrentChange:U,PartList:z,partDetailDialog:f,btnPartDetailDialog:A,partDetaiData:B,partOutlDialog:b,btnPoInventoryToLocal:N,btnLocalSubmit:T}=M();return j(()=>{}),(a,l)=>{const d=u("el-button"),r=u("el-table-column"),$=u("el-table"),k=u("el-dialog"),R=u("el-input"),q=F("loading");return h(),G("div",Z,[i("div",ee,[te,g(i("input",{class:"input","onUpdate:modelValue":l[0]||(l[0]=e=>t(s).order_key=e),type:"text"},null,512),[[v,t(s).order_key]]),oe,g(i("input",{class:"input","onUpdate:modelValue":l[1]||(l[1]=e=>t(s).material_key=e),type:"text"},null,512),[[v,t(s).material_key]]),le,g(i("input",{class:"input","onUpdate:modelValue":l[2]||(l[2]=e=>t(s).truck_key=e),type:"text"},null,512),[[v,t(s).truck_key]]),o(d,{type:"primary",onClick:l[3]||(l[3]=e=>t(D)())},{default:n(()=>[p("查询")]),_:1})]),o(t(Y),{title:"设备列表",selectArr:t(L),onRefresh:a.onSearch},{default:n(({size:e,checkList:E})=>[o(t(Q),{border:"","max-height":"500","align-whole":"center",showOverflowTooltip:"","table-layout":"auto",loading:t(S),size:"small",data:t(z),columns:t(I),checkList:E,pagination:t(O),paginationSmall:e==="small","header-cell-style":{background:"var(--el-table-row-hover-bg-color)",color:"var(--el-text-color-primary)"},onSizeChange:t(P),onCurrentChange:t(U)},{operation:n(({row:y})=>[o(d,{class:"reset-margin reset-margin1",link:"",type:"primary",size:e,onClick:me=>t(A)(y)},{default:n(()=>[p(" 物料明细 ")]),_:2},1032,["size","onClick"])]),slotAction:n(({row:y})=>[p(_(V(y.materiel_truck_status)),1)]),_:2},1032,["loading","data","columns","checkList","pagination","paginationSmall","header-cell-style","onSizeChange","onCurrentChange"])]),_:1},8,["selectArr","onRefresh"]),o(k,{modelValue:t(f),"onUpdate:modelValue":l[6]||(l[6]=e=>w(f)?f.value=e:null),title:""},{default:n(()=>[o($,{style:{"margin-top":"20px"},data:t(B),border:"","max-height":"480","highlight-current-row":""},{default:n(()=>[o(r,{width:"55",prop:"seq_id",label:"序号"}),o(r,{prop:"part_id",label:"元件ID/型号规格"},{default:n(e=>[p(_(e.row.part_id)+" / "+_(e.row.partinventory_name),1)]),_:1}),o(r,{"show-overflow-tooltip":"",prop:"takeout_id",label:"是否出库",width:"120"},{default:n(e=>[p(_(e.row.takeout_id>0?"Y":"N"),1)]),_:1}),o(r,{prop:"used_amount",label:"订单用量"}),o(r,{prop:"part_id",label:"实物数量"}),o(r,{prop:"part_id","show-overflow-tooltip":"",label:"元件库位",width:"150"}),o(r,{prop:"load_amount",label:"装载数量"}),o(r,{prop:"part_id",label:"出库数量"}),o(r,{prop:"return_amount",label:"还料数量"}),o(r,{prop:"part_id",label:"单位"}),o(r,{prop:"action",label:"状态"},{default:n(e=>[p(_(C(e.row.action)),1)]),_:1})]),_:1},8,["data"]),i("div",ae,[t(s).show==2?g((h(),H(d,{key:0,type:"primary",onClick:l[4]||(l[4]=e=>t(N)())},{default:n(()=>[p("出库")]),_:1})),[[q,a.fullscreenLoading,void 0,{fullscreen:!0,lock:!0}]]):J("",!0),o(d,{type:"info",onClick:l[5]||(l[5]=e=>f.value=!1)},{default:n(()=>[p("关闭")]),_:1})])]),_:1},8,["modelValue"]),i("div",ne,[o(k,{modelValue:t(b),"onUpdate:modelValue":l[9]||(l[9]=e=>w(b)?b.value=e:null),title:""},{default:n(()=>[ie,i("div",re,[se,o(R,{modelValue:t(s).comment,"onUpdate:modelValue":l[7]||(l[7]=e=>t(s).comment=e),rows:2,type:"textarea",placeholder:"请输入"},null,8,["modelValue"])]),i("div",pe,[o(d,{type:"primary",onClick:l[8]||(l[8]=e=>t(T)())},{default:n(()=>[p("确定")]),_:1})])]),_:1},8,["modelValue"])])])}}});const ze=X(ue,[["__scopeId","data-v-5b900f41"]]);export{ze as default};