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
5.1 KiB
JavaScript
1 line
5.1 KiB
JavaScript
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/wMSSystem/index"],{"038e":function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return o}));var o={uForm:function(){return Promise.all([n.e("common/vendor"),n.e("node-modules/uview-ui/components/u-form/u-form")]).then(n.bind(null,"f0ab"))},uFormItem:function(){return Promise.all([n.e("common/vendor"),n.e("node-modules/uview-ui/components/u-form-item/u-form-item")]).then(n.bind(null,"baa1"))},uSearch:function(){return Promise.all([n.e("common/vendor"),n.e("node-modules/uview-ui/components/u-search/u-search")]).then(n.bind(null,"b477"))},uDivider:function(){return Promise.all([n.e("common/vendor"),n.e("node-modules/uview-ui/components/u-divider/u-divider")]).then(n.bind(null,"559a"))},uActionSheet:function(){return Promise.all([n.e("common/vendor"),n.e("node-modules/uview-ui/components/u-action-sheet/u-action-sheet")]).then(n.bind(null,"e8ed"))},uToast:function(){return n.e("node-modules/uview-ui/components/u-toast/u-toast").then(n.bind(null,"b7df"))}},a=function(){var e=this.$createElement,t=(this._self._c,this.infoList.length);this.$mp.data=Object.assign({},{$root:{g0:t}})},r=[]},"2a4a":function(e,t,n){"use strict";(function(e,t){var o=n("4ea4");n("260f");o(n("66fd"));var a=o(n("e1af"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(a.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},"33b5":function(e,t,n){"use strict";n.r(t);var o=n("d520"),a=n.n(o);for(var r in o)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(r);t["default"]=a.a},8625:function(e,t,n){},d520:function(e,t,n){"use strict";(function(e){var o=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n("2eee")),r=o(n("c973")),i=(o(n("3f96")),o(n("79eb"))),u=n("77cf"),s={onShow:function(){(0,u.initScan)(this.scanSuccess),(0,u.startScan)()},onHide:function(){(0,u.stopScan)()},data:function(){return{ruleForm:{orderNo:""},rules:{},imgList:[{url:"../../static/images/common/warehouse.png",title:"入库",type:1},{url:"../../static/images/common/departure.png",title:"出库",type:2},{url:"../../static/images/common/inventory.png",title:"盘点",type:3},{url:"../../static/images/common/workOrder.png",title:"工单",type:4}],infoList:[{url:"../../static/images/common/workOrderINfo.png",title:"工单信息"},{url:"../../static/images/common/warehouseInfo.png",title:"入仓信息"},{url:"../../static/images/common/departureInfo.png",title:"出库信息"},{url:"../../static/images/common/stockInfo.png",title:"库存信息"}],list:[],show:!1,userName:i.default.state.userInfo.userName}},computed:{},components:{},created:function(){},methods:{getInfoList:function(){e.showToast({title:"功能尚在开发中",icon:"none"})},scanSuccess:function(t){var n=this;return(0,r.default)(a.default.mark((function o(){return a.default.wrap((function(o){while(1)switch(o.prev=o.next){case 0:n.ruleForm.orderNo=t,e.navigateTo({url:"/pages/order/orderDetail?orderNo=".concat(t.trim())});case 2:case"end":return o.stop()}}),o)})))()},getOperation:function(t){switch(t){case 1:this.list=[{name:"卸货",type:1},{name:"录入材积",type:3},{name:"打板",type:2},{name:"叉车入库",type:4}],this.show=!0;break;case 2:this.list=[{name:"找货",type:5},{name:"叉车备货",type:7},{name:"贴单",type:6},{name:"监装",type:8}],this.show=!0;break;case 3:e.navigateTo({url:"/pages/initiateInventoryCount/index"});break;case 4:e.navigateTo({url:"/pages/workOrder/workOrderAdd"});break;default:}},getselectClick:function(t){switch(t){case 1:e.navigateTo({url:"/pages/outStock/discharge"});break;case 2:e.navigateTo({url:"/pages/outStock/palletizing"});break;case 3:e.navigateTo({url:"/pages/outStock/recordingVolume"});break;case 4:e.navigateTo({url:"/pages/outStock/forkliftWarehousing"});break;case 5:e.navigateTo({url:"/pages/outBound/pickUpGoods"});break;case 6:e.navigateTo({url:"/pages/outBound/attachBill"});break;case 7:e.navigateTo({url:"/pages/outBound/forkliftPrepareGoods"});break;case 8:e.navigateTo({url:"/pages/outBound/superviseLoading"});break;default:}},closeClick:function(){this.show=!1},getSearchData:function(){e.navigateTo({url:"/pages/order/orderDetail?orderNo=".concat(this.ruleForm.orderNo)})},getScanData:function(){var t=this;e.scanCode({success:function(n){n.result&&(t.ruleForm.orderNo=n.result,e.navigateTo({url:"/pages/order/orderDetail?orderNo=".concat(n.result.trim())}))},fail:function(e){},complete:function(){}})},signOut:function(){var t=this;e.showModal({title:"提示",content:"确定要退出吗?",success:function(n){n.confirm&&(t.$store.commit("GET_TOKEN",""),t.$store.commit("GET_USER_INFO",{}),e.clearStorage(),e.reLaunch({url:"/pages/login/index"}))}})}}};t.default=s}).call(this,n("543d")["default"])},e02b:function(e,t,n){"use strict";var o=n("8625"),a=n.n(o);a.a},e1af:function(e,t,n){"use strict";n.r(t);var o=n("038e"),a=n("33b5");for(var r in a)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(r);n("e02b");var i=n("f0c5"),u=Object(i["a"])(a["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);t["default"]=u.exports}},[["2a4a","common/runtime","common/vendor"]]]); |