jiangping
2023-08-21 2837bdd57f72e386bbf9a725e7b3a13e5eb9e930
1
2
"use strict";(self["webpackChunkworkorder"]=self["webpackChunkworkorder"]||[]).push([[1814],{84149:function(t,e,r){r.d(e,{Ae:function(){return w},Be:function(){return L},Bp:function(){return G},CM:function(){return O},Dy:function(){return $},E3:function(){return D},Gh:function(){return M},IY:function(){return N},N$:function(){return f},N6:function(){return d},Nv:function(){return p},Ov:function(){return T},QU:function(){return S},Qi:function(){return l},Re:function(){return k},Te:function(){return K},Tv:function(){return s},Uv:function(){return W},Uw:function(){return Z},V3:function(){return E},Vr:function(){return y},Wk:function(){return Q},XO:function(){return z},Xh:function(){return x},_Z:function(){return A},d2:function(){return I},fF:function(){return C},fM:function(){return i},fV:function(){return R},fn:function(){return u},gp:function(){return a},hM:function(){return m},he:function(){return B},il:function(){return F},jO:function(){return g},l7:function(){return Y},lQ:function(){return V},mC:function(){return o},p6:function(){return v},pP:function(){return X},sE:function(){return H},si:function(){return j},st:function(){return h},tR:function(){return P},u1:function(){return b},ww:function(){return c},xE:function(){return q},yL:function(){return U},yo:function(){return _}});var n=r(71417);function a(t){return(0,n.Z)({url:"/ext/workorderExt/page",method:"post",data:t})}function o(t){return(0,n.Z)({url:"/ext/workorderExt/pageCount",method:"post",data:t})}function u(t){return(0,n.Z)({url:`ext/workorderExt/${t}`,method:"get"})}function s(t){return(0,n.Z)({url:"ext/categoryUnionExt/checkAllList",method:"post",data:t})}function i(){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 d(t){return(0,n.Z)({url:"ext/workorderExt/finishedDetail",method:"get",params:t})}function l(t){return(0,n.Z)({url:"ext/appliancesExt/getListByCondition",method:"post",data:t})}function m(t){return(0,n.Z)({url:"ext/workorderRecordExt/createMaterial",method:"post",data:t})}function f(t){return(0,n.Z)({url:"ext/workorderRecordExt/createMaterialStandard",method:"post",data:t})}function p(t){return(0,n.Z)({url:"ext/barcodeParamExt/getBarcodeContent",method:"get",params:t})}function w(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 _(t){return(0,n.Z)({url:"ext/workorderRecordExt/createProduce",method:"post",data:t})}function k(t){return(0,n.Z)({url:`/ext/workorderRecordExt/delete/${t}`,method:"get"})}function x(t){return(0,n.Z)({url:"ext/workorderRecordExt/updateById",method:"post",data:t})}function g(t){return(0,n.Z)({url:"ext/workorderCheckExt/listGroupByAppliance",method:"post",data:t})}function y(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 z(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 E(t){return(0,n.Z)({url:"ext/workorderExt/finished",method:"get",params:t})}function Z(t){return(0,n.Z)({url:"ext/workorderExt/saveFinishRecord",method:"post",data:t})}function B(t){return(0,n.Z)({url:"ext/workorderExt/getFinishRecord",method:"get",params:t})}function D(t){return(0,n.Z)({url:`ext/deviceExt/${t}`,method:"get"})}function U(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 N(t){return(0,n.Z)({url:"ext/appliancesExt/page",method:"post",data:t})}function S(t){return(0,n.Z)({url:"ext/appliancesExt/chageApplicance",method:"post",data:t})}function I(t){return(0,n.Z)({url:"ext/categoryUnionExt/checkFGFXList",method:"get",params:t})}function q(t){return(0,n.Z)({url:"business/salesorder/allData",method:"post",data:t})}function C(t){return(0,n.Z)({url:"business/backorder/create",method:"post",data:t})}function R(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 A(t){return(0,n.Z)({url:"ext/proceduresExt/productesGroup",method:"post",data:t})}function F(t){return(0,n.Z)({url:"ext/workorderExt/finishedDetailNew",method:"get",params:t})}function H(t){return(0,n.Z)({url:"ext/routeCardExt/getListByWorkOrderId",method:"post",data:t})}function M(t){return(0,n.Z)({url:"ext/workorderRecordExt/getEndCheckAP",method:"get",params:t})}function O(t){return(0,n.Z)({url:`ext/workorderCheckAttrExt/delete/${t}`,method:"get"})}function Y(t){return(0,n.Z)({url:"ext/wStockExt/pageForH5",method:"post",data:t})}function j(t){return(0,n.Z)({url:"ext/warehouseLocationExt/page",method:"post",data:t})}function K(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 W(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 P(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 V(t){return(0,n.Z)({url:"/ext/wOutboundExt/createForStandard",method:"post",data:t})}function X(t){return(0,n.Z)({url:"/ext/wOutboundExt/wOutBoundForStockUp",method:"post",data:t})}},61814:function(t,e,r){r.r(e),r.d(e,{default:function(){return yt}});var n=r(66252),a=r(3577),o=r(2262),u=r(42119),s=r(84149);const i=t=>((0,n.dD)("data-v-12114a8a"),t=t(),(0,n.Cn)(),t),c={class:"rk"},d={class:"rk_info"},l=(0,n.Uk)("机台/工位:"),m={class:"material-title"},f=i((()=>(0,n._)("div",{class:"title"},[(0,n._)("span",{class:"title-prefix"}),(0,n._)("span",null,"完工交接物料")],-1))),p={class:"order-time"},w={class:"material-content"},h={key:0,class:"item-style"},_={class:"item-title-style"},k=i((()=>(0,n._)("span",{class:"green"},"[合格品] ",-1))),x={style:{"font-weight":"500"}},g={class:"item-content-style"},y={class:"subItem-style_top"},v={class:"subItem-first-style"},z={class:"subItem-second-style"},b={class:"subItem-style_bottom"},E={key:0},Z={key:1},B={key:1,class:"item-style"},D={class:"item-title-style"},U=i((()=>(0,n._)("span",{class:"yellow"},"[不良品] ",-1))),L={style:{"font-weight":"500"}},N={class:"item-content-style"},S={class:"subItem-style_top"},I={class:"subItem-first-style"},q={class:"subItem-second-style"},C={class:"subItem-style_bottom"},R={key:0},T={key:1},A={key:2,class:"item-style"},F={class:"item-title-style"},H=i((()=>(0,n._)("span",{class:"red"},"[报废品] ",-1))),M={style:{"font-weight":"500"}},O={class:"item-content-style"},Y={class:"subItem-style_top"},j={class:"subItem-first-style"},K={class:"subItem-second-style"},$={class:"subItem-style_bottom"},W={key:0},G={key:1},P={class:"rk_sc"},Q={class:"rk_sc_header"},V=i((()=>(0,n._)("div",{class:"rk_sc_header_box"},[(0,n._)("div",{class:"rk_sc_header_x"}),(0,n._)("span",null,"本次余留次班生产")],-1))),X={key:0},J={key:0,class:"rk_sc_content"},tt={class:"rk_sc_content_item_a"},et={class:"rk_sc_content_item_b"},rt={class:"rk_sc_content_item_hz"},nt={class:"rk_sc_content_item_hz_item_top"},at={class:"rk_sc_content_item_hz_item_bottom"},ot={key:0},ut=i((()=>(0,n._)("span",{class:"succ"},"合格",-1))),st={key:1},it=i((()=>(0,n._)("span",{class:"yellow"},"不良",-1))),ct={key:2},dt=i((()=>(0,n._)("span",{class:"warning"},"报废",-1))),lt={key:1,class:"rk_sc_kong"},mt=i((()=>(0,n._)("span",null,"暂无数据",-1))),ft=[mt],pt={key:0,class:"rk_zw"},wt={key:1,class:"rk_footer"},ht=(0,n.Uk)("去入库"),_t=[ht];var kt=(0,n.aZ)({setup(t){const e=(0,u.yj)(),r=(0,u.tv)();let i=(0,o.iH)([]),mt=(0,o.iH)({});const ht=t=>{let e=0,r=0,n="";return t.forEach((t=>{t.reserveMaterialBeanList&&t.reserveMaterialBeanList.length>0&&t.reserveMaterialBeanList.forEach(((t,a)=>{0===a&&(n=t.unitName),e+=t.boxNum,r+=t.num,console.log(e,r,n)}))})),e+"盒 | "+r+n},kt=t=>{let e="",r=0,n=0;return t.length>0&&t.forEach(((t,a)=>{0===a&&(e=t.unitName),r+=t.sumBox,n+=t.sumNum})),r+"盒 | "+n+e},xt=()=>{r.replace({name:"warehousing",query:{id:e.query.id,dbid:e.query.dbid,type:7,Type:e.query.Type}})},gt=()=>{(0,s.he)({id:e.query.id}).then((t=>{200===t.code&&(i.value=JSON.parse(t.data.abstracts),mt.value=t.data.wtransfer)}))};return(0,n.bv)((()=>{gt()})),(t,r)=>{const u=(0,n.Q2)("preventReClick");return(0,n.wg)(),(0,n.iD)("div",c,[(0,n._)("div",d,[(0,n._)("span",null,"作业员:"+(0,a.zw)((0,o.SU)(i).worker)+"/"+(0,a.zw)((0,o.SU)(i).groupName),1),(0,n._)("span",null,[l,((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)((0,o.SU)(i).deviceList,((t,e)=>((0,n.wg)(),(0,n.iD)("span",{key:e},(0,a.zw)(t.name)+" "+(0,a.zw)(e===(0,o.SU)(i).deviceList.length-1?"":"/"),1)))),128))])]),(0,n._)("div",m,[f,(0,n._)("div",p,[(0,n._)("div",null,"单号:"+(0,a.zw)((0,o.SU)(mt).code),1),(0,n._)("div",null,"时间:"+(0,a.zw)((0,o.SU)(mt).createTime),1)])]),(0,n._)("div",w,[(0,o.SU)(i).qualifiedBeanList&&(0,o.SU)(i).qualifiedBeanList.length>0?((0,n.wg)(),(0,n.iD)("div",h,[(0,n._)("div",_,[k,(0,n._)("span",x,(0,a.zw)(kt((0,o.SU)(i).qualifiedBeanList)),1)]),(0,n._)("div",g,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)((0,o.SU)(i).qualifiedBeanList,((t,e)=>((0,n.wg)(),(0,n.iD)("div",{class:"subItem-style",key:e},[(0,n._)("div",y,[(0,n._)("div",v,(0,a.zw)(t.materialName)+" | "+(0,a.zw)(t.materialCode),1),(0,n._)("div",z,(0,a.zw)(t.sumBox)+"盒 | "+(0,a.zw)(t.sumNum)+(0,a.zw)(t.unitName),1)]),(0,n._)("div",b,[t.batch?((0,n.wg)(),(0,n.iD)("span",E,(0,a.zw)(t.procedureName?t.procedureName:"-")+" | "+(0,a.zw)(t.batch),1)):((0,n.wg)(),(0,n.iD)("span",Z,(0,a.zw)(t.procedureName),1))])])))),128))])])):(0,n.kq)("",!0),(0,o.SU)(i).rejectsBeanList&&(0,o.SU)(i).rejectsBeanList.length>0?((0,n.wg)(),(0,n.iD)("div",B,[(0,n._)("div",D,[U,(0,n._)("span",L,(0,a.zw)(kt((0,o.SU)(i).rejectsBeanList)),1)]),(0,n._)("div",N,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)((0,o.SU)(i).rejectsBeanList,((t,e)=>((0,n.wg)(),(0,n.iD)("div",{class:"subItem-style",key:e},[(0,n._)("div",S,[(0,n._)("div",I,(0,a.zw)(t.materialName)+" | "+(0,a.zw)(t.materialCode),1),(0,n._)("div",q,(0,a.zw)(t.sumBox)+"盒 | "+(0,a.zw)(t.sumNum)+(0,a.zw)(t.unitName),1)]),(0,n._)("div",C,[t.batch?((0,n.wg)(),(0,n.iD)("span",R,(0,a.zw)(t.procedureName?t.procedureName:"-")+" | "+(0,a.zw)(t.batch),1)):((0,n.wg)(),(0,n.iD)("span",T,(0,a.zw)(t.procedureName),1))])])))),128))])])):(0,n.kq)("",!0),(0,o.SU)(i).scrapBeanList&&(0,o.SU)(i).scrapBeanList.length>0?((0,n.wg)(),(0,n.iD)("div",A,[(0,n._)("div",F,[H,(0,n._)("span",M,(0,a.zw)(kt((0,o.SU)(i).scrapBeanList)),1)]),(0,n._)("div",O,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)((0,o.SU)(i).scrapBeanList,((t,e)=>((0,n.wg)(),(0,n.iD)("div",{class:"subItem-style",key:e},[(0,n._)("div",Y,[(0,n._)("div",j,(0,a.zw)(t.materialName)+" | "+(0,a.zw)(t.materialCode),1),(0,n._)("div",K,(0,a.zw)(t.sumBox)+"盒 | "+(0,a.zw)(t.sumNum)+(0,a.zw)(t.unitName),1)]),(0,n._)("div",$,[t.batch?((0,n.wg)(),(0,n.iD)("span",W,(0,a.zw)(t.procedureName?t.procedureName:"-")+" | "+(0,a.zw)(t.batch),1)):((0,n.wg)(),(0,n.iD)("span",G,(0,a.zw)(t.procedureName),1))])])))),128))])])):(0,n.kq)("",!0)]),(0,n._)("div",P,[(0,n._)("div",Q,[V,(0,o.SU)(i).finishedInBillBeanList&&(0,o.SU)(i).finishedInBillBeanList.length>0?((0,n.wg)(),(0,n.iD)("span",X,(0,a.zw)(ht((0,o.SU)(i).finishedInBillBeanList)),1)):(0,n.kq)("",!0)]),(0,o.SU)(i).finishedInBillBeanList&&(0,o.SU)(i).finishedInBillBeanList.length>0?((0,n.wg)(),(0,n.iD)("div",J,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)((0,o.SU)(i).finishedInBillBeanList,((t,e)=>((0,n.wg)(),(0,n.iD)("div",{class:"rk_sc_content_item",key:e},[(0,n._)("div",tt,(0,a.zw)(t.code),1),(0,n._)("div",et,[(0,n._)("span",null,"接收人:"+(0,a.zw)(t.userName)+" / "+(0,a.zw)(t.departmentName),1),(0,n._)("span",null,"时间:"+(0,a.zw)(t.dealDate),1)]),(0,n._)("div",rt,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(t.reserveMaterialBeanList,((t,e)=>((0,n.wg)(),(0,n.iD)("div",{class:"rk_sc_content_item_hz_item",key:e},[(0,n._)("div",nt,[(0,n._)("span",null,(0,a.zw)(t.materialName)+" | "+(0,a.zw)(t.materialCode),1),(0,n._)("span",null,(0,a.zw)(t.boxNum)+"盒 | "+(0,a.zw)(t.num)+(0,a.zw)(t.unitName),1)]),(0,n._)("div",at,[0===t.qualityType?((0,n.wg)(),(0,n.iD)("span",ot,[ut,(0,n.Uk)(" | "+(0,a.zw)(t.procedureName)+(0,a.zw)(t.batch?" | "+t.batch:""),1)])):(0,n.kq)("",!0),1===t.qualityType?((0,n.wg)(),(0,n.iD)("span",st,[it,(0,n.Uk)(" | "+(0,a.zw)(t.procedureName)+(0,a.zw)(t.batch?" | "+t.batch:""),1)])):(0,n.kq)("",!0),2===t.qualityType?((0,n.wg)(),(0,n.iD)("span",ct,[dt,(0,n.Uk)(" | "+(0,a.zw)(t.procedureName)+(0,a.zw)(t.batch?" | "+t.batch:""),1)])):(0,n.kq)("",!0)])])))),128))])])))),128))])):((0,n.wg)(),(0,n.iD)("div",lt,ft))]),"1"===(0,o.SU)(e).query.isShow?((0,n.wg)(),(0,n.iD)("div",pt)):(0,n.kq)("",!0),"1"===(0,o.SU)(e).query.isShow?((0,n.wg)(),(0,n.iD)("div",wt,[(0,n.wy)(((0,n.wg)(),(0,n.iD)("button",{class:"rk_footer_u",onClick:xt},_t)),[[u]])])):(0,n.kq)("",!0)])}}}),xt=r(83744);const gt=(0,xt.Z)(kt,[["__scopeId","data-v-12114a8a"]]);var yt=gt}}]);
//# sourceMappingURL=1814.c7b910a6.js.map