|
|
|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-product-STO-Outbound-index"],{"0d06":function(e,t,i){"use strict";var a=i("4ea4");i("4160"),i("159b"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ReceiptModule=void 0,i("96cf");var n=a(i("1da1")),r=a(i("d4ec")),o=a(i("bee2")),s=a(i("262e")),l=a(i("2caf")),c=i("9ab4"),u=i("6fc5"),d=a(i("0613")),f=a(i("b32d")),p=i("110c"),h=i("54a3"),v=function(e){(0,s.default)(i,e);var t=(0,l.default)(i);function i(){var e;return(0,r.default)(this,i),e=t.apply(this,arguments),e.dnNoList=[],e.DnLineList=[],e.res="",e.code="",e.LocList=[],e.SubCode="",e}return(0,o.default)(i,[{key:"Querydn",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){var i,a,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log("dnNo",t),e.next=3,f.default.post(p.url.outbound.stoOutbound.dnQuery,{factoryCode:h.session.factoryCode,loginName:h.session.loginName,dnNo:t});case 3:return i=e.sent,a=i.data,n=[],a.forEach((function(e){var t={value:e.dnItem,lable:e.dnItem};n.push(t)})),e.abrupt("return",{dnNoList:a,DnLineList:n});case 8:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"BackSweep",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){var i,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,f.default.post(p.url.outbound.stoOutbound.stoDnProdScanDel,t);case 2:return i=e.sent,console.log("res>>>>>>>>>>>>>>>>>>>>>>>>.",i),a=i.code,e.abrupt("return",{code:a});case 6:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"stoDnProdScan",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,f.default.post(p.url.outbound.stoOutbound.stoDnProdScan,t);case 2:return i=e.sent,e.abrupt("return",{res:i});case 4:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"QueryLoc",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){var i,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,f.default.post(p.url.auth.query.queryByFactoryCodeAndWorkAreaCode,{factoryCode:h.session.factoryCode,loginName:h.session.loginName,workArea:h.session.workareaCode,sendSpot:t});case 2:return i=e.sent,a=[],i.forEach((function(e){var t={value:e.locationCode,lable:e.locationCode};a.push(t)})),e.abrupt("return",{LocList:a});case 6:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"SubmitList",value:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){var i,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,f.default.post(p.url.outbound.stoOutbound.stoDnOutPost,t);case 2:return i=e.sent,a=i.code,e.abrupt("return",{SubCode:a});case 5:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()}]),i}(u.VuexModule);t.ReceiptModule=v,(0,c.__decorate)([u.MutationAction],v.prototype,"Querydn",null),(0,c.__decorate)([u.MutationAction],v.prototype,"BackSweep",null),(0,c.__decorate)([u.MutationAction],v.prototype,"stoDnProdScan",null),(0,c.__decorate)([u.MutationAction],v.prototype,"QueryLoc",null),(0,c.__decorate)([u.MutationAction],v.prototype,"SubmitList",null),t.ReceiptModule=v=(0,c.__decorate)([(0,u.Module)({namespaced:!0,dynamic:!0,store:d.default,name:"product.STO.STO-Outbound.index"})],v);var b=(0,u.getModule)(v);t.default=b},"291d":function(e,t,i){var a=i("24fb");t=a(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import
|