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
3.4 KiB
JavaScript
1 line
3.4 KiB
JavaScript
4 weeks ago
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/outBound/pickUpGoods"],{1740:function(e,n,t){"use strict";(function(e){var o=t("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var u=o(t("2eee")),r=o(t("c973")),a=o(t("79eb")),c=o(t("3f96")),i=t("77cf"),s={onShow:function(){(0,i.initScan)(this.scanSuccess),(0,i.startScan)()},onHide:function(){(0,i.stopScan)()},data:function(){return{ruleForm:{warehouseId:a.default.state.userInfo.branchId,orderNo:"",orderNos:[],workType:"5",location:"",number:"",userId:""},rules:{orderNo:{required:!0,message:"请输入订单号",trigger:["blur","change"]}},typeData:""}},methods:{scanSuccess:function(e){var n=this;return(0,r.default)(u.default.mark((function t(){return u.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:n.ruleForm.orderNo=e.trim(),n.queryData();case 2:case"end":return t.stop()}}),t)})))()},getSearchData:function(){this.queryData()},getScanData:function(){var n=this;e.scanCode({success:function(e){e.result&&(n.ruleForm.orderNo=e.result.trim(),n.queryData())},fail:function(e){},complete:function(){}})},submitData:function(){this.queryData()},queryData:function(){var n=this;this.$refs.ruleFormRef.validate().then((function(t){c.default.storge.find(n.ruleForm).then((function(t){n.$refs.uToast.show({type:"success",message:"提交找货成功"}),Array.isArray(null===t||void 0===t?void 0:t.data)&&(n.typeData=t.data.toString("、")),e.showModal({title:"订单号/库位/类型/数量:".concat(n.typeData),content:"是否确认跳转到叉车备货",success:function(n){n.confirm&&e.navigateTo({url:"/pages/outBound/forkliftPrepareGoods"})}})}))}))}}};n.default=s}).call(this,t("543d")["default"])},"31e1":function(e,n,t){"use strict";t.r(n);var o=t("1740"),u=t.n(o);for(var r in o)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(r);n["default"]=u.a},"32cd":function(e,n,t){"use strict";t.d(n,"b",(function(){return u})),t.d(n,"c",(function(){return r})),t.d(n,"a",(function(){return o}));var o={uNavbar:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-navbar/u-navbar")]).then(t.bind(null,"84d1"))},uForm:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-form/u-form")]).then(t.bind(null,"f0ab"))},uFormItem:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-form-item/u-form-item")]).then(t.bind(null,"baa1"))},uSearch:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-search/u-search")]).then(t.bind(null,"b477"))},uToast:function(){return t.e("node-modules/uview-ui/components/u-toast/u-toast").then(t.bind(null,"b7df"))}},u=function(){var e=this.$createElement;this._self._c},r=[]},"33d5":function(e,n,t){"use strict";t.r(n);var o=t("32cd"),u=t("31e1");for(var r in u)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return u[e]}))}(r);t("ffc9");var a=t("f0c5"),c=Object(a["a"])(u["default"],o["b"],o["c"],!1,null,"611fd8cd",null,!1,o["a"],void 0);n["default"]=c.exports},"895a":function(e,n,t){},fbad:function(e,n,t){"use strict";(function(e,n){var o=t("4ea4");t("260f");o(t("66fd"));var u=o(t("33d5"));e.__webpack_require_UNI_MP_PLUGIN__=t,n(u.default)}).call(this,t("bc2e")["default"],t("543d")["createPage"])},ffc9:function(e,n,t){"use strict";var o=t("895a"),u=t.n(o);u.a}},[["fbad","common/runtime","common/vendor"]]]);
|