(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-raw-handover-picking-idetailed"],{"0158":function(e,t,a){"use strict";a.r(t);var r=a("0247"),n=a.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){a.d(t,e,(function(){return r[e]}))}(i);t["default"]=n.a},"0247":function(e,t,a){"use strict";a("c975"),a("a9e3"),a("d3b7"),a("ac1f"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={name:"u-button",props:{hairLine:{type:Boolean,default:!0},type:{type:String,default:"default"},size:{type:String,default:"default"},shape:{type:String,default:"square"},plain:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},openType:{type:String,default:""},formType:{type:String,default:""},appParameter:{type:String,default:""},hoverStopPropagation:{type:Boolean,default:!1},lang:{type:String,default:"en"},sessionFrom:{type:String,default:""},sendMessageTitle:{type:String,default:""},sendMessagePath:{type:String,default:""},sendMessageImg:{type:String,default:""},showMessageCard:{type:Boolean,default:!1},hoverBgColor:{type:String,default:""},rippleBgColor:{type:String,default:""},ripple:{type:Boolean,default:!1},hoverClass:{type:String,default:""},customStyle:{type:Object,default:function(){return{}}},dataName:{type:String,default:""},throttleTime:{type:[String,Number],default:1e3},hoverStartTime:{type:[String,Number],default:20},hoverStayTime:{type:[String,Number],default:150}},computed:{getHoverClass:function(){if(this.loading||this.disabled||this.ripple||this.hoverClass)return"";var e="";return e=this.plain?"u-"+this.type+"-plain-hover":"u-"+this.type+"-hover",e},showHairLineBorder:function(){return["primary","success","error","warning"].indexOf(this.type)>=0&&!this.plain?"":"u-hairline-border"}},data:function(){return{rippleTop:0,rippleLeft:0,fields:{},waveActive:!1}},methods:{click:function(e){var t=this;this.$u.throttle((function(){!0!==t.loading&&!0!==t.disabled&&(t.ripple&&(t.waveActive=!1,t.$nextTick((function(){this.getWaveQuery(e)}))),t.$emit("click",e))}),this.throttleTime)},getWaveQuery:function(e){var t=this;this.getElQuery().then((function(a){var r=a[0];if(r.width&&r.width&&(r.targetWidth=r.height>r.width?r.height:r.width,r.targetWidth)){t.fields=r;var n="",i="";n=e.touches[0].clientX,i=e.touches[0].clientY,t.rippleTop=i-r.top-r.targetWidth/2,t.rippleLeft=n-r.left-r.targetWidth/2,t.$nextTick((function(){t.waveActive=!0}))}}))},getElQuery:function(){var e=this;return new Promise((function(t){var a="";a=uni.createSelectorQuery().in(e),a.select(".u-btn").boundingClientRect(),a.exec((function(e){t(e)}))}))},getphonenumber:function(e){this.$emit("getphonenumber",e)},getuserinfo:function(e){this.$emit("getuserinfo",e)},error:function(e){this.$emit("error",e)},opensetting:function(e){this.$emit("opensetting",e)},launchapp:function(e){this.$emit("launchapp",e)}}};t.default=r},"082d":function(e,t,a){var r=a("24fb");t=r(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */\n/* uni.scss */.TEMP_page[data-v-c7d59f46]{position:absolute;top:0;left:0;bottom:0;right:0}.TEMP_page .TEMP_card[data-v-c7d59f46]{margin:%?36?% %?72?%}.TEMP_page .TEMP_card .TEMP_title[data-v-c7d59f46]{font-size:2em;font-weight:400}.u-col-0[data-v-c7d59f46]{width:0}.u-col-1[data-v-c7d59f46]{width:8.3333333333%}.u-col-2[data-v-c7d59f46]{width:16.6666666667%}.u-col-3[data-v-c7d59f46]{width:25%}.u-col-4[data-v-c7d59f46]{width:33.3333333333%}.u-col-5[data-v-c7d59f46]{width:41.6666666667%}.u-col-6[data-v-c7d59f46]{width:50%}.u-col-7[data-v-c7d59f46]{width:58.3333333333%}.u-col-8[data-v-c7d59f46]{width:66.6666666667%}.u-col-9[data-v-c7d59f46]{width:75%}.u-col-10[data-v-c7d59f46]{width:83.3333333333%}.u-col-11[data-v-c7d59f46]{width:91.6666666667%}.u-col-12[data-v-c7d59f46]{width:100%}',""]),e.exports=t},"0fde":function(e,t,a){"use strict";var r=a("9b58"),n=a.n(r);n.a},"2b99":function(e,t,a){"use strict";var r=a("6061"),n=a.n(r);n.a},"30cf":function(e,t,a){"use strict";var r=a("79c0"),n=a.n(r);n.a},3787:function(e,t,a){"use strict";var r;a.d(t,"b",(function(){return n})),a.d(t,"c",(function(){return i})),a.d(t,"a",(function(){return r}));var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",{staticClass:"u-row",style:{alignItems:e.uAlignItem,justifyContent:e.uJustify},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.click.apply(void 0,arguments)}}},[e._t("default")],2)},i=[]},"3bc7":function(e,t,a){var r=a("d659");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var n=a("4f06").default;n("19a78336",r,!0,{sourceMap:!1,shadowMode:!1})},5530:function(e,t,a){"use strict";a("a4d3"),a("4de4"),a("4160"),a("e439"),a("dbb4"),a("b64b"),a("159b"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var r=n(a("ade3"));function n(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function o(e){for(var t=1;tparseFloat(this.material.amount))return void uni.showToast({icon:"none",title:"实际数量不能大于需求数量"});var a={value:this.wlCode,num:this.number};return this.LocationList.push(a),this.material.currentAmount=t,void(this.number="")}if(0==this.LocationList.length){if(this.number>this.material.amount)return void uni.showToast({icon:"none",title:"实际数量不能大于需求数量"});var r={value:this.wlCode,num:this.number};return this.LocationList.push(r),this.material.currentAmount=this.number,void(this.number="")}}else uni.showToast({icon:"none",title:"请输入正确的库位和数量"})}},{key:"deleteItem",value:function(e){this.LocationList.splice(e,1)}},{key:"bookTypeChange",value:function(e){this.wlCode=e.pickerName}},{key:"Reservoir",value:function(){var e=this,t=[],a=0;this.LocationList.forEach((function(r){var n=JSON.stringify(e.material),i=JSON.parse(n);i.wlCode=r.value.label,i.qty=r.num,t.push(i);var o=parseInt(r.num);a+=o})),this.material.wlList=t,this.material.currentAmount=a,sessionStorage.setItem("material",JSON.stringify(this.material)),this.redirectTo(this.page.raw.handover.picking.order)}}]),a}(d.BasePage);m=(0,l.__decorate)([(0,c.Component)({components:{jPicker:g.default,combox:g.default}})],m);var v=m;t.default=v},e536:function(e,t,a){"use strict";a("a9e3"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={name:"u-row",props:{gutter:{type:[String,Number],default:20},justify:{type:String,default:"start"},align:{type:String,default:"center"},stop:{type:Boolean,default:!0}},computed:{uJustify:function(){return"end"==this.justify||"start"==this.justify?"flex-"+this.justify:"around"==this.justify||"between"==this.justify?"space-"+this.justify:this.justify},uAlignItem:function(){return"top"==this.align?"flex-start":"bottom"==this.align?"flex-end":this.align}},methods:{click:function(e){this.$emit("click")}}};t.default=r},ef95:function(e,t,a){"use strict";var r=a("4ea4");a("4de4"),a("c740"),a("4160"),a("d81d"),a("d3b7"),a("159b"),a("ddb0"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PickingModule=void 0,a("96cf");var n=r(a("1da1")),i=r(a("5530")),o=r(a("d4ec")),s=r(a("bee2")),u=r(a("262e")),l=r(a("2caf")),c=a("9ab4"),d=a("6fc5"),f=r(a("0613")),p=r(a("b32d")),g=a("110c"),h=a("54a3"),m=function(e){(0,u.default)(a,e);var t=(0,l.default)(a);function a(){var e;return(0,o.default)(this,a),e=t.apply(this,arguments),e.proOrderList=[],e.proOrderResultList=[],e.aggregateList=[],e.locationList=[],e}return(0,s.default)(a,[{key:"clearState",value:function(){this.proOrderList=[],this.proOrderResultList=[],this.aggregateList=[]}},{key:"clearProOrderList",value:function(){this.proOrderList=[]}},{key:"checkAllProOrderList",value:function(e){this.proOrderList=this.proOrderList.map((function(t){return(0,i.default)((0,i.default)({},t),{},{checked:e})}))}},{key:"checkAllAggregateList",value:function(e){this.aggregateList=this.aggregateList.map((function(t){return(0,i.default)((0,i.default)({},t),{},{checked:e})}))}},{key:"confirmCheckedAggregateList",value:function(e){this.aggregateList.filter((function(e){return e.checked})).forEach((function(t){e.locationCode&&(t.currentWkposCode=e.locationCode),e.amount&&(t.currentAmount=e.amount)}))}},{key:"checkAllProOrderResultList",value:function(e){this.proOrderResultList=this.proOrderResultList.map((function(t){return(0,i.default)((0,i.default)({},t),{},{checked:e})}))}},{key:"confirmCheckedProOrderResultList",value:function(e){this.proOrderResultList.filter((function(e){return e.checked})).forEach((function(t){e.amount&&(t.currentAmount=e.amount)}))}},{key:"queryProOrder",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){var a,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,p.default.post(g.url.sortscan.query.prdorder,t);case 2:return a=e.sent,r=a.list,r.length||uni.showToast({icon:"none",title:"No Data Found!"}),e.abrupt("return",{proOrderList:r});case 6:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"queryStockList",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,p.default.post("/material/queryOdsRawStorageNews",t);case 2:return a=e.sent,e.abrupt("return",a);case 4:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"queryProOrderResult",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){var a,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,p.default.post(g.url.sortscan.query.prdorderList,t);case 2:return a=e.sent,r=a.list,r.forEach((function(e){return e.loginName=t.loginName})),e.abrupt("return",{proOrderResultList:r});case 6:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"queryAggregateList",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){var a,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,p.default.post(g.url.sortscan.query.aggregateList,t);case 2:return a=e.sent,r=a.list,r.length||uni.showToast({icon:"none",title:"No Data Found!"}),r.forEach((function(e){return e.loginName=t.loginName})),e.abrupt("return",{aggregateList:r});case 7:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"queryLocationList",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(){var t,a,r,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t={factoryCode:h.session.factoryCode,loginName:h.session.loginName},e.next=3,p.default.post(g.url.auth.locations,t);case 3:return a=e.sent,r=a.values,n=r.map((function(e){return{label:e,value:e}})),e.abrupt("return",{locationList:n});case 7:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}()},{key:"saveAggregateUpload",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,p.default.post(g.url.sortscan.save.aggregate,t);case 2:uni.showToast({icon:"success",title:"success"});case 3:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"saveProOrderResultUpload",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,p.default.post(g.url.sortscan.save.order,t);case 2:uni.showToast({icon:"success",title:"success"});case 3:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"unlockProOrderResult",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,p.default.post(g.url.sortscan.unlock.list,t,{custom:{hideError:!0}});case 3:e.next=7;break;case 5:e.prev=5,e.t0=e["catch"](0);case 7:case"end":return e.stop()}}),e,null,[[0,5]])})));function t(t){return e.apply(this,arguments)}return t}()},{key:"lockProOrderResult",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,p.default.post(g.url.sortscan.lock.list,t);case 2:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"queryByFactoryCodeAndWorkAreaCode",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,p.default.post("/wmspda/fg/queryByFactoryCodeAndWorkAreaCode",t);case 2:return a=e.sent,e.abrupt("return",a);case 4:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"querydetaildlist",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,p.default.post("/wmspda/sortscan/getJhListSn",t);case 2:return a=e.sent,this.detailedList=a.list,console.log(this.detailedList),e.abrupt("return",a);case 6:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"isCheckedAll",get:function(){return!this.proOrderList.filter((function(e){return!e.checked})).length}},{key:"hasChecked",get:function(){return this.checkedProOrderList.length>0}},{key:"checkedProOrderList",get:function(){return this.proOrderList.filter((function(e){return e.checked}))}},{key:"isAggregateCheckedAll",get:function(){return!this.aggregateList.filter((function(e){return!e.checked})).length}},{key:"hasAggregateChecked",get:function(){return this.checkedAggregateList.length>0}},{key:"checkedAggregateList",get:function(){return this.aggregateList.filter((function(e){return e.checked}))}},{key:"hasAggregateCurrentAmount",get:function(){return this.aggregateList.findIndex((function(e){return e.currentAmount}))>-1}},{key:"aggregateUploadList",get:function(){return this.aggregateList.map((function(e){return e.checked||(e.currentAmount=0),e}))}},{key:"isProOrderResultCheckedAll",get:function(){return!this.proOrderResultList.filter((function(e){return!e.checked})).length}},{key:"hasProOrderResultChecked",get:function(){return this.checkedProOrderResultList.length>0}},{key:"checkedProOrderResultList",get:function(){return this.proOrderResultList.filter((function(e){return e.checked}))}},{key:"hasProOrderResultCurrentAmount",get:function(){return this.proOrderResultList.findIndex((function(e){return e.currentAmount}))>-1}},{key:"proOrderResultUploadList",get:function(){return this.proOrderResultList.map((function(e){return e.checked||(e.currentAmount=0),e}))}}]),a}(d.VuexModule);t.PickingModule=m,(0,c.__decorate)([d.Mutation],m.prototype,"clearState",null),(0,c.__decorate)([d.Mutation],m.prototype,"clearProOrderList",null),(0,c.__decorate)([d.Mutation],m.prototype,"checkAllProOrderList",null),(0,c.__decorate)([d.Mutation],m.prototype,"checkAllAggregateList",null),(0,c.__decorate)([d.Mutation],m.prototype,"confirmCheckedAggregateList",null),(0,c.__decorate)([d.Mutation],m.prototype,"checkAllProOrderResultList",null),(0,c.__decorate)([d.Mutation],m.prototype,"confirmCheckedProOrderResultList",null),(0,c.__decorate)([d.MutationAction],m.prototype,"queryProOrder",null),(0,c.__decorate)([(0,d.Action)({commit:"updateCheckedOrderInInfoListKw"})],m.prototype,"queryStockList",null),(0,c.__decorate)([d.MutationAction],m.prototype,"queryProOrderResult",null),(0,c.__decorate)([d.MutationAction],m.prototype,"queryAggregateList",null),(0,c.__decorate)([d.MutationAction],m.prototype,"queryLocationList",null),(0,c.__decorate)([(0,d.Action)({commit:"clearState"})],m.prototype,"saveAggregateUpload",null),(0,c.__decorate)([(0,d.Action)({commit:"clearState"})],m.prototype,"saveProOrderResultUpload",null),(0,c.__decorate)([d.Action],m.prototype,"unlockProOrderResult",null),(0,c.__decorate)([d.Action],m.prototype,"lockProOrderResult",null),(0,c.__decorate)([(0,d.Action)({commit:"updateCheckedOrderInInfoListKw"})],m.prototype,"queryByFactoryCodeAndWorkAreaCode",null),(0,c.__decorate)([(0,d.Action)({commit:"updateCheckedOrderInInfoListKw"})],m.prototype,"querydetaildlist",null),t.PickingModule=m=(0,c.__decorate)([(0,d.Module)({namespaced:!0,dynamic:!0,store:f.default,name:"raw.handover.picking"})],m);var v=(0,d.getModule)(m);t.default=v},f0ee:function(e,t,a){"use strict";a.r(t);var r=a("b87c"),n=a.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){a.d(t,e,(function(){return r[e]}))}(i);t["default"]=n.a},f505:function(e,t,a){"use strict";var r;a.d(t,"b",(function(){return n})),a.d(t,"c",(function(){return i})),a.d(t,"a",(function(){return r}));var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",{staticClass:"u-col",class:["u-col-"+e.span],style:{padding:"0 "+Number(e.gutter)/2+"rpx",marginLeft:100/12*e.offset+"%",flex:"0 0 "+100/12*e.span+"%",alignItems:e.uAlignItem,justifyContent:e.uJustify,textAlign:e.textAlign},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.click.apply(void 0,arguments)}}},[e._t("default")],2)},i=[]},ffea:function(e,t,a){"use strict";a.r(t);var r=a("9a60"),n=a("93d3");for(var i in n)["default"].indexOf(i)<0&&function(e){a.d(t,e,(function(){return n[e]}))}(i);a("30cf");var o,s=a("f0c5"),u=Object(s["a"])(n["default"],r["b"],r["c"],!1,null,"18e72657",null,!1,r["a"],o);t["default"]=u.exports}}]);