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-BySummary","pages-raw-handover-RUS-picking-Local-details~pages-raw-handover-RUS-picking-Summary-details~pages-ra~bd35a87f"],{"1b79":function(e,t,a){"use strict";var r=a("4ea4");a("4de4"),a("c740"),a("4160"),a("d81d"),a("d3b7"),a("acd8"),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")),h=a("110c"),g=a("54a3"),m=r(a("cd49")),y=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.code="",e.LocList=[],e.lockCode="",e.ContainerCode="",e.CategoryList=[],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(h.url.sortscan.query.prdorder,t);case 2:return a=e.sent,r=a.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)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"queryOrder",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(){var t,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,this.formParams);case 2:return t=e.sent,a=t.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,this)})));function 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(h.url.sortscan.query.prdorderList,t);case 2:return a=e.sent,r=a.list,r.forEach((function(e){e.loginName=t.loginName,e.differences=parseFloat(e.amount)-parseFloat(e.totalMoAmount)})),e.abrupt("return",{proOrderResultList:r});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,n.default)(regeneratorRuntime.mark((function e(){var t,a,r,n=arguments;return regen
|