You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
49 KiB
JavaScript
1 line
49 KiB
JavaScript
2 years ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-raw-handover-RUS-picking-ByOrder","pages-raw-handover-RUS-picking-Local-details~pages-raw-handover-RUS-picking-Summary-details~pages-ra~bd35a87f"],{"1b79":function(e,t,r){"use strict";var a=r("4ea4");r("4de4"),r("c740"),r("4160"),r("d81d"),r("d3b7"),r("acd8"),r("159b"),r("ddb0"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PickingModule=void 0,r("96cf");var i=a(r("1da1")),n=a(r("5530")),o=a(r("d4ec")),s=a(r("bee2")),u=a(r("262e")),l=a(r("2caf")),c=r("9ab4"),d=r("6fc5"),f=a(r("0613")),p=a(r("b32d")),h=r("110c"),g=r("54a3"),m=a(r("cd49")),b=function(e){(0,u.default)(r,e);var t=(0,l.default)(r);function r(){var e;return(0,o.default)(this,r),e=t.apply(this,arguments),e.proOrderList=[],e.code="",e.LocList=[],e.lockCode="",e.ContainerCode="",e.CategoryList=[],e.proOrderResultList=[],e.aggregateList=[],e.locationList=[],e}return(0,s.default)(r,[{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,n.default)((0,n.default)({},t),{},{checked:e})}))}},{key:"checkAllAggregateList",value:function(e){this.aggregateList=this.aggregateList.map((function(t){return(0,n.default)((0,n.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,n.default)((0,n.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,i.default)(regeneratorRuntime.mark((function e(t){var r,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,p.default.post(h.url.sortscan.query.prdorder,t);case 2:return r=e.sent,a=r.list,a.length||m.default.customToast(m.default.$t("message.Pi_NoDataFound")),e.abrupt("return",{proOrderList:a});case 6:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"queryOrder",value:function(){var e=(0,i.default)(regeneratorRuntime.mark((function e(){var t,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,p.default.post(h.url.sortscan.query.prdorder,this.formParams);case 2:return t=e.sent,r=t.list,r.length||m.default.customToast(m.default.$t("message.Pi_NoDataFound")),e.abrupt("return",{proOrderList:r});case 6:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"queryStockList",value:function(){var e=(0,i.default)(regeneratorRuntime.mark((function e(t){var r;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 r=e.sent,e.abrupt("return",r);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,i.default)(regeneratorRuntime.mark((function e(t){var r,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,p.default.post(h.url.sortscan.query.prdorderList,t);case 2:return r=e.sent,a=r.list,a.forEach((function(e){e.loginName=t.loginName,e.differences=parseFloat(e.amount)-parseFloat(e.totalMoAmount)})),e.abrupt("return",{proOrderResultList:a});case 6:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"getSendSpotList2",value:function(){var e=(0,i.default)(regeneratorRuntime.mark((function e(){var t,r,a,i=arguments;return regener
|