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
26 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-SemiProduct-outbound-index"],{"02be":function(e,t,n){"use strict";var a=n("4ea4");n("d81d"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PickingModule=void 0,n("96cf");var r=a(n("1da1")),o=a(n("bee2")),i=a(n("262e")),s=a(n("2caf")),l=a(n("d4ec")),u=n("9ab4"),c=n("6fc5"),d=a(n("0613")),f=a(n("b32d")),p=n("110c"),h=n("54a3"),b=function e(){(0,l.default)(this,e)},m=function(e){(0,i.default)(n,e);var t=(0,s.default)(n);function n(){var e;return(0,l.default)(this,n),e=t.apply(this,arguments),e.returningTypeList=[],e.materielList=[],e.orderInInfo=new b,e.code="",e.data={},e}return(0,o.default)(n,[{key:"queryReturningTypeList",value:function(){var e=(0,r.default)(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,f.default.get(p.url.inbound.semiFinishProductOfflineRefrigerator.kuwei,{params:{factoryCode:h.session.factoryCode,loginName:h.session.loginName,warehouseCode:h.session.warehouseCode}});case 2:return t=e.sent,console.log("data",t.data),n=t.data.map((function(e){return{label:e.locationCode,value:e.locationCode}})),e.abrupt("return",{returningTypeList:n});case 6:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}()},{key:"queryOrderInInfo",value:function(){var e=(0,r.default)(regeneratorRuntime.mark((function e(t){var n,a,r,o,i,s,l,u;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t,e.next=3,f.default.post(p.url.inbound.semiFinishProductOfflineRefrigerator.materialCode,{productCode:n,loginName:h.session.loginName});case 3:return a=e.sent,r=a.data,o=a.code,i=a.msg,"1"==o?uni.showToast({icon:"success",title:i}):uni.showToast({icon:"none",title:i}),s=[],s.push(r),l=s,u=r||{},e.abrupt("return",{materielList:l,orderInInfo:u});case 13:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"confirm",value:function(){var e=(0,r.default)(regeneratorRuntime.mark((function e(t){var n,a,r,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,f.default.post(p.url.inbound.semiFinishProductOfflineRefrigerator.confirm3,t);case 2:return n=e.sent,a=n.code,r=n.data,o=n.msg,"1"==a?uni.showToast({icon:"success",title:o}):uni.showToast({icon:"none",title:o}),e.abrupt("return",{code:a,data:r});case 8:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()}]),n}(c.VuexModule);t.PickingModule=m,(0,u.__decorate)([c.MutationAction],m.prototype,"queryReturningTypeList",null),(0,u.__decorate)([c.MutationAction],m.prototype,"queryOrderInInfo",null),(0,u.__decorate)([c.MutationAction],m.prototype,"confirm",null),t.PickingModule=m=(0,u.__decorate)([(0,c.Module)({namespaced:!0,dynamic:!0,store:d.default,name:"SemiProduct.outbound"})],m);var v=(0,c.getModule)(m);t.default=v},"0407":function(e,t,n){"use strict";var a=n("4ea4");n("4160"),n("a434"),n("159b"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n("5530"));n("96cf");var o=a(n("1da1")),i=a(n("d4ec")),s=a(n("bee2")),l=a(n("262e")),u=a(n("2caf")),c=n("9ab4"),d=n("60a3"),f=n("22da"),p=a(n("02be")),h=n("bcf9"),b=n("54a3"),m=a(n("34b3")),v=function(e){(0,l.default)(n,e);var t=(0,u.default)(n);function n(){var e;return(0,i.default)(this,n),e=t.apply(this,arguments),e.returningTypeSelect=!1,e.model=p.default,e.isFormChange=!1,e.headers=h.headers,e.form={orderNo:null,dockCode:null,dockName:null,Location:"",barCode:"",qty:"",turnoverCarCode:"",aimWl:{}},e.materielList=[],e.selectMaterielList=[],e.selectMaterielList2=[],e.rules={barCode:[{required:!0,message:e.$t("message.po_PleaseScanMATcode")}],turnoverCarCode:[{required:!0,message:e.$t("message.po_PleaseInputcar")}]},e}return(0,s.default)(n,[{key:"onPersonChanged",value:function(){this.isFormChange=!0}},{key:"onReady",value:function(){this.$form.setRules(this.rules)}},{key:"onCheck",value:function(e){var t=this;this.selectMaterielList=[],console.log(e.data)