"use strict";(self["webpackChunkworkorder"]=self["webpackChunkworkorder"]||[]).push([[9355],{84149:function(t,e,r){r.d(e,{Ae:function(){return m},Be:function(){return B},Bp:function(){return j},CM:function(){return W},Dy:function(){return G},E3:function(){return U},Gh:function(){return I},IY:function(){return L},N$:function(){return p},N6:function(){return l},Nv:function(){return x},Ov:function(){return N},QU:function(){return T},Qi:function(){return s},Re:function(){return w},Te:function(){return M},Tv:function(){return i},Uv:function(){return P},Uw:function(){return C},V3:function(){return _},Vr:function(){return E},Wk:function(){return X},XO:function(){return y},Xh:function(){return k},_Z:function(){return z},d2:function(){return q},fF:function(){return A},fM:function(){return d},fV:function(){return F},fn:function(){return a},gp:function(){return o},hM:function(){return f},he:function(){return R},il:function(){return H},jO:function(){return Z},l7:function(){return V},lQ:function(){return Y},mC:function(){return u},p6:function(){return v},pP:function(){return K},sE:function(){return O},si:function(){return $},st:function(){return h},tR:function(){return Q},u1:function(){return b},ww:function(){return c},xE:function(){return S},yL:function(){return D},yo:function(){return g}});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 i(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 c(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 x(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 h(t){return(0,n.Z)({url:"ext/appliancesExt/getListByCondition",method:"post",data:t})}function g(t){return(0,n.Z)({url:"ext/workorderRecordExt/createProduce",method:"post",data:t})}function w(t){return(0,n.Z)({url:`/ext/workorderRecordExt/delete/${t}`,method:"get"})}function k(t){return(0,n.Z)({url:"ext/workorderRecordExt/updateById",method:"post",data:t})}function Z(t){return(0,n.Z)({url:"ext/workorderCheckExt/listGroupByAppliance",method:"post",data:t})}function E(t){return(0,n.Z)({url:"ext/workorderRecordExt/comfirmDoneStandard",method:"post",data:t})}function v(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 b(t){return(0,n.Z)({url:"ext/workorderCheckAttrExt/page",method:"post",data:t})}function _(t){return(0,n.Z)({url:"ext/workorderExt/finished",method:"get",params:t})}function C(t){return(0,n.Z)({url:"ext/workorderExt/saveFinishRecord",method:"post",data:t})}function R(t){return(0,n.Z)({url:"ext/workorderExt/getFinishRecord",method:"get",params:t})}function U(t){return(0,n.Z)({url:`ext/deviceExt/${t}`,method:"get"})}function D(t){return(0,n.Z)({url:"ext/wOutboundExt/finishedInBill",method:"get",params:t})}function B(t){return(0,n.Z)({url:"ext/userDeviceExt/create",method:"post",data:t})}function L(t){return(0,n.Z)({url:"ext/appliancesExt/page",method:"post",data:t})}function T(t){return(0,n.Z)({url:"ext/appliancesExt/chageApplicance",method:"post",data:t})}function q(t){return(0,n.Z)({url:"ext/categoryUnionExt/checkFGFXList",method:"get",params:t})}function S(t){return(0,n.Z)({url:"business/salesorder/allData",method:"post",data:t})}function A(t){return(0,n.Z)({url:"business/backorder/create",method:"post",data:t})}function F(t){return(0,n.Z)({url:"business/backorder/page",method:"post",data:t})}function N(t){return(0,n.Z)({url:`business/backorder/${t}`,method:"get"})}function z(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 O(t){return(0,n.Z)({url:"ext/routeCardExt/getListByWorkOrderId",method:"post",data:t})}function I(t){return(0,n.Z)({url:"ext/workorderRecordExt/getEndCheckAP",method:"get",params:t})}function W(t){return(0,n.Z)({url:`ext/workorderCheckAttrExt/delete/${t}`,method:"get"})}function V(t){return(0,n.Z)({url:"ext/wStockExt/pageForH5",method:"post",data:t})}function $(t){return(0,n.Z)({url:"ext/warehouseLocationExt/page",method:"post",data:t})}function M(t){return(0,n.Z)({url:"ext/warehouseLocationExt/getListByWarehouseId",method:"get",params:t})}function G(t){return(0,n.Z)({url:"ext/wTransferExt/scanTransfer",method:"post",data:t})}function P(t){return(0,n.Z)({url:"ext/workorderRecordExt/allForStandard",method:"post",data:t})}function j(t){return(0,n.Z)({url:"ext/workorderRecordExt/getWorkorderRecordListStandard",method:"get",params:t})}function Q(t){return(0,n.Z)({url:"/ext/wTransferExt/wTransferConfirm",method:"get",params:t})}function X(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})}},19355:function(t,e,r){r.r(e),r.d(e,{default:function(){return v}});var n=r(66252),o=r(2262),u=r(3577),a=r(42119),i=r(84149);const d={class:"page"},c={class:"page_title"},l=(0,n.Uk)("当前:"),s={class:"page_info_nr"},f={class:"item"},p={class:"item_label"},x={class:"item_label1"},m={key:0,class:"green"},h={key:1,class:"yellow"},g={key:2,class:"red"},w={class:"item_label2"};var k=(0,n.aZ)({setup(t){const e=(0,a.yj)(),r=(0,o.qj)({capacity:10,page:0}),k=(0,o.iH)([]),Z=(0,o.iH)(!1),E=(0,o.iH)(!1),v=(0,o.iH)(!1);let y=(0,o.iH)({});const b=()=>{E.value=!1,r.page=0,Z.value=!0,C()},_=()=>{(0,i.si)({capacity:1,page:1,model:{id:e.query.id}}).then((t=>{200===t.code&&(y.value=t.data.records[0])}))},C=()=>{E.value||(Z.value=!0,r.page=r.page+1,(0,i.l7)({capacity:r.capacity,page:r.page,model:{locationId:e.query.id,groupType:3,greaterZero:1}}).then((t=>{Z.value=!1,v.value&&(k.value=[],v.value=!1),200===t.code&&t.data.records&&0!==t.data.records.length?k.value.push(...t.data.records):E.value=!0})).catch((t=>{Z.value=!1,E.value=!0,v.value&&(k.value=[],v.value=!1)})))};return(0,n.bv)((()=>{C(),_()})),(t,e)=>{const r=(0,n.up)("van-list"),a=(0,n.up)("van-pull-refresh");return(0,n.wg)(),(0,n.iD)("div",d,[(0,n._)("div",c,[l,(0,o.SU)(y).wmodel?((0,n.wg)(),(0,n.iD)(n.HY,{key:0},[(0,n.Uk)((0,u.zw)((0,o.SU)(y).wmodel.name),1)],64)):(0,n.kq)("",!0),(0,n.Uk)(" / "+(0,u.zw)((0,o.SU)(y).unionName),1)]),(0,n.Wm)(a,{modelValue:v.value,"onUpdate:modelValue":e[1]||(e[1]=t=>v.value=t),onRefresh:b},{default:(0,n.w5)((()=>[(0,n.Wm)(r,{loading:Z.value,"onUpdate:loading":e[0]||(e[0]=t=>Z.value=t),finished:E.value,"finished-text":"没有更多了~",onLoad:C},{default:(0,n.w5)((()=>[((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:"page_info",key:e},[(0,n._)("div",s,[(0,n._)("div",f,[(0,n._)("div",p,(0,u.zw)(t.materialName)+" | "+(0,u.zw)(t.materialCode),1),(0,n._)("div",x,["0"===t.qualityType?((0,n.wg)(),(0,n.iD)("span",m,"合格")):(0,n.kq)("",!0),"1"===t.qualityType?((0,n.wg)(),(0,n.iD)("span",h,"不良")):(0,n.kq)("",!0),"2"===t.qualityType?((0,n.wg)(),(0,n.iD)("span",g,"报废")):(0,n.kq)("",!0),(0,n.Uk)(" | "+(0,u.zw)(t.procedureName?t.procedureName:"-")+" | "+(0,u.zw)(t.batch?t.batch:"-"),1)]),(0,n._)("div",w,"数量:"+(0,u.zw)(t.num)+(0,u.zw)(t.unitName),1)])])])))),128))])),_:1},8,["loading","finished"])])),_:1},8,["modelValue"])])}}}),Z=r(83744);const E=(0,Z.Z)(k,[["__scopeId","data-v-2714aea6"]]);var v=E}}]); //# sourceMappingURL=9355.037b9f6f.js.map