"use strict";(self["webpackChunkworkorder"]=self["webpackChunkworkorder"]||[]).push([[6084],{84149:function(t,e,r){r.d(e,{Ae:function(){return m},Be:function(){return L},Bp:function(){return G},CM:function(){return z},Dy:function(){return $},E3:function(){return A},Gh:function(){return W},IY:function(){return R},N$:function(){return p},N6:function(){return l},Nv:function(){return h},Ov:function(){return T},QU:function(){return I},Qi:function(){return s},Re:function(){return g},Te:function(){return V},Tv:function(){return c},Uv:function(){return j},Uw:function(){return b},V3:function(){return C},Vr:function(){return v},Wk:function(){return Q},XO:function(){return y},Xh:function(){return E},_Z:function(){return O},d2:function(){return B},fF:function(){return U},fM:function(){return d},fV:function(){return P},fn:function(){return a},gp:function(){return o},hM:function(){return f},he:function(){return D},il:function(){return H},jO:function(){return k},l7:function(){return q},lQ:function(){return Y},mC:function(){return u},p6:function(){return Z},pP:function(){return K},sE:function(){return N},si:function(){return M},st:function(){return x},tR:function(){return X},u1:function(){return _},ww:function(){return i},xE:function(){return F},yL:function(){return S},yo:function(){return w}});var n=r(71417);function o(t){return(0,n.Z)({url:"/ext/workorderExt/page",method:"post",data:t})}function u(t){return(0,n.Z)({url:"/ext/workorderExt/pageCount",method:"post",data:t})}function a(t){return(0,n.Z)({url:`ext/workorderExt/${t}`,method:"get"})}function c(t){return(0,n.Z)({url:"ext/categoryUnionExt/checkAllList",method:"post",data:t})}function d(){return(0,n.Z)({url:"ext/userDeviceExt/getListByUser",method:"post"})}function i(t){return(0,n.Z)({url:"/ext/warehouseExt/page",method:"post",data:t})}function l(t){return(0,n.Z)({url:"ext/workorderExt/finishedDetail",method:"get",params:t})}function s(t){return(0,n.Z)({url:"ext/appliancesExt/getListByCondition",method:"post",data:t})}function f(t){return(0,n.Z)({url:"ext/workorderRecordExt/createMaterial",method:"post",data:t})}function p(t){return(0,n.Z)({url:"ext/workorderRecordExt/createMaterialStandard",method:"post",data:t})}function h(t){return(0,n.Z)({url:"ext/barcodeParamExt/getBarcodeContent",method:"get",params:t})}function m(t){return(0,n.Z)({url:"ext/workorderRecordExt/all",method:"post",data:t})}function x(t){return(0,n.Z)({url:"ext/appliancesExt/getListByCondition",method:"post",data:t})}function w(t){return(0,n.Z)({url:"ext/workorderRecordExt/createProduce",method:"post",data:t})}function g(t){return(0,n.Z)({url:`/ext/workorderRecordExt/delete/${t}`,method:"get"})}function E(t){return(0,n.Z)({url:"ext/workorderRecordExt/updateById",method:"post",data:t})}function k(t){return(0,n.Z)({url:"ext/workorderCheckExt/listGroupByAppliance",method:"post",data:t})}function v(t){return(0,n.Z)({url:"ext/workorderRecordExt/comfirmDoneStandard",method:"post",data:t})}function Z(t){return(0,n.Z)({url:"ext/checkAttrExt/getListByCondition",method:"post",data:t})}function y(t){return(0,n.Z)({url:"ext/workorderCheckAttrExt/create",method:"post",data:t})}function _(t){return(0,n.Z)({url:"ext/workorderCheckAttrExt/page",method:"post",data:t})}function C(t){return(0,n.Z)({url:"ext/workorderExt/finished",method:"get",params:t})}function b(t){return(0,n.Z)({url:"ext/workorderExt/saveFinishRecord",method:"post",data:t})}function D(t){return(0,n.Z)({url:"ext/workorderExt/getFinishRecord",method:"get",params:t})}function A(t){return(0,n.Z)({url:`ext/deviceExt/${t}`,method:"get"})}function S(t){return(0,n.Z)({url:"ext/wOutboundExt/finishedInBill",method:"get",params:t})}function L(t){return(0,n.Z)({url:"ext/userDeviceExt/create",method:"post",data:t})}function R(t){return(0,n.Z)({url:"ext/appliancesExt/page",method:"post",data:t})}function I(t){return(0,n.Z)({url:"ext/appliancesExt/chageApplicance",method:"post",data:t})}function B(t){return(0,n.Z)({url:"ext/categoryUnionExt/checkFGFXList",method:"get",params:t})}function F(t){return(0,n.Z)({url:"business/salesorder/allData",method:"post",data:t})}function U(t){return(0,n.Z)({url:"business/backorder/create",method:"post",data:t})}function P(t){return(0,n.Z)({url:"business/backorder/page",method:"post",data:t})}function T(t){return(0,n.Z)({url:`business/backorder/${t}`,method:"get"})}function O(t){return(0,n.Z)({url:"ext/proceduresExt/productesGroup",method:"post",data:t})}function H(t){return(0,n.Z)({url:"ext/workorderExt/finishedDetailNew",method:"get",params:t})}function N(t){return(0,n.Z)({url:"ext/routeCardExt/getListByWorkOrderId",method:"post",data:t})}function W(t){return(0,n.Z)({url:"ext/workorderRecordExt/getEndCheckAP",method:"get",params:t})}function z(t){return(0,n.Z)({url:`ext/workorderCheckAttrExt/delete/${t}`,method:"get"})}function q(t){return(0,n.Z)({url:"ext/wStockExt/pageForH5",method:"post",data:t})}function M(t){return(0,n.Z)({url:"ext/warehouseLocationExt/page",method:"post",data:t})}function V(t){return(0,n.Z)({url:"ext/warehouseLocationExt/getListByWarehouseId",method:"get",params:t})}function $(t){return(0,n.Z)({url:"ext/wTransferExt/scanTransfer",method:"post",data:t})}function j(t){return(0,n.Z)({url:"ext/workorderRecordExt/allForStandard",method:"post",data:t})}function G(t){return(0,n.Z)({url:"ext/workorderRecordExt/getWorkorderRecordListStandard",method:"get",params:t})}function X(t){return(0,n.Z)({url:"/ext/wTransferExt/wTransferConfirm",method:"get",params:t})}function Q(t){return(0,n.Z)({url:"/ext/wTransferExt/acceptWTransfer",method:"get",params:t})}function Y(t){return(0,n.Z)({url:"/ext/wOutboundExt/createForStandard",method:"post",data:t})}function K(t){return(0,n.Z)({url:"/ext/wOutboundExt/wOutBoundForStockUp",method:"post",data:t})}},76084:function(t,e,r){r.d(e,{Z:function(){return Z}});var n=r(66252),o=r(3577),u=r(2262),a=r(84149),c=r(74928),d=r(34118);const i={class:"title"},l={class:"content"},s={class:"content_total"},f={class:"content_list"},p=["onClick"],h={class:"content_list_item_name"},m={key:0,style:{color:"#03AF76"}},x={key:1,style:{color:"#305ED5"}},w={key:2,style:{color:"#F5A400"}},g={key:3,style:{color:"red"}};var E=(0,n.aZ)({props:{show:{type:Boolean,required:!0},systemDicDataId:{type:String,default:""},height:{type:String,default:"100%"}},emits:["close","value"],setup(t,{emit:e}){const r=t,E=(0,u.qj)({capacity:50,page:0,total:0,name:""});(0,u.iH)([]);const k=(0,u.iH)([]),v=(0,u.iH)(!1),Z=(0,u.iH)(!1),y=(0,u.iH)(!1);(0,u.iH)(!0);const _=t=>{E.page=0,Z.value=!1,k.value=[],E.name=t,D()},C=()=>{E.page=0,Z.value=!1,k.value=[],D()},b=t=>{e("value",t)},D=async()=>{Z.value||(v.value=!0,E.page=E.page+1,(0,a.ww)({capacity:E.capacity,page:E.page,model:{systemDicDataId:r.systemDicDataId,name:E.name,status:1}}).then((t=>{y.value&&(k.value=[],y.value=!1),v.value=!1,200===t.code&&t.data.records&&0!==t.data.records.length?(E.total=t.data.total,k.value.push(...t.data.records)):Z.value=!0})).catch((t=>{v.value=!1,Z.value=!0,y.value&&(k.value=[],y.value=!1)})))},A=()=>{Z.value=!1,E.page=0,v.value=!0,D()};let S=(0,u.iH)(!1);const L=()=>{e("close")};return(0,n.bv)((()=>{S.value=(0,c.w8)()})),(t,e)=>{const a=(0,n.up)("van-icon"),c=(0,n.up)("van-list"),R=(0,n.up)("van-pull-refresh"),I=(0,n.up)("van-popup");return(0,n.wg)(),(0,n.j4)(I,{show:r.show,"onUpdate:show":e[2]||(e[2]=t=>r.show=t),position:"bottom",style:(0,o.j5)({height:r.height})},{default:(0,n.w5)((()=>[(0,n._)("div",i,[(0,n._)("div",{class:"close",onClick:L},[(0,n.Wm)(a,{name:"arrow-down",size:"30",color:"#ffffff"})])]),(0,n._)("div",l,[(0,n._)("div",{class:(0,o.C_)([{content_top:(0,u.SU)(S)},"content_search"])},[(0,n.Wm)(d.Z,{onSearchInput:_,onSubmit:C,isShow:!1,placeholder:"搜索仓库名称"})],2),(0,n._)("div",s,"共"+(0,o.zw)((0,u.SU)(E).total)+"条数据",1),(0,n.Wm)(R,{modelValue:y.value,"onUpdate:modelValue":e[1]||(e[1]=t=>y.value=t),onRefresh:A},{default:(0,n.w5)((()=>[(0,n.Wm)(c,{loading:v.value,"onUpdate:loading":e[0]||(e[0]=t=>v.value=t),finished:Z.value,"finished-text":"没有更多了~",onLoad:D},{default:(0,n.w5)((()=>[(0,n._)("div",f,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(k.value,((t,e)=>((0,n.wg)(),(0,n.iD)("div",{class:"content_list_item",key:e,onClick:e=>b(t)},[(0,n._)("div",h,["APPLIANCE_ONTEST"==t.tmodel.label?((0,n.wg)(),(0,n.iD)("span",m,"["+(0,o.zw)(t.tmodel.code)+"]",1)):(0,n.kq)("",!0),"APPLIANCE_MIX"==t.tmodel.label?((0,n.wg)(),(0,n.iD)("span",x,"["+(0,o.zw)(t.tmodel.code)+"]",1)):(0,n.kq)("",!0),"APPLIANCE_OFFTEST"==t.tmodel.label?((0,n.wg)(),(0,n.iD)("span",w,"["+(0,o.zw)(t.tmodel.code)+"]",1)):(0,n.kq)("",!0),"APPLIANCE_USELESS"==t.tmodel.label?((0,n.wg)(),(0,n.iD)("span",g,"["+(0,o.zw)(t.tmodel.code)+"]",1)):(0,n.kq)("",!0),(0,n._)("span",null,(0,o.zw)(t.name),1)])],8,p)))),128))])])),_:1},8,["loading","finished"])])),_:1},8,["modelValue"])])])),_:1},8,["show","style"])}}}),k=r(83744);const v=(0,k.Z)(E,[["__scopeId","data-v-6317b967"]]);var Z=v}}]);
|