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.1 KiB
JavaScript

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/outBound/forkliftPrepareGoods"],{"51a7":function(e,n,t){"use strict";t.d(n,"b",(function(){return o})),t.d(n,"c",(function(){return r})),t.d(n,"a",(function(){return u}));var u={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"))}},o=function(){var e=this.$createElement;this._self._c},r=[]},5406:function(e,n,t){},5520:function(e,n,t){"use strict";t.r(n);var u=t("cb3a"),o=t.n(u);for(var r in u)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return u[e]}))}(r);n["default"]=o.a},"6aa9":function(e,n,t){"use strict";var u=t("5406"),o=t.n(u);o.a},b9ca:function(e,n,t){"use strict";(function(e,n){var u=t("4ea4");t("260f");u(t("66fd"));var o=u(t("e85c"));e.__webpack_require_UNI_MP_PLUGIN__=t,n(o.default)}).call(this,t("bc2e")["default"],t("543d")["createPage"])},cb3a:function(e,n,t){"use strict";(function(e){var u=t("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=u(t("2eee")),r=u(t("c973")),a=u(t("79eb")),c=u(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:"7",location:"",number:"",userId:""},rules:{orderNo:{required:!0,message:"请输入订单号",trigger:["blur","change"]}}}},methods:{scanSuccess:function(e){var n=this;return(0,r.default)(o.default.mark((function t(){return o.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.forkliftOut(n.ruleForm).then((function(t){n.ruleForm.orderNo="",e.navigateTo({url:"/pages/outBound/attachBill?name=forkliftPrepareGoods"})}))}))}}};n.default=s}).call(this,t("543d")["default"])},e85c:function(e,n,t){"use strict";t.r(n);var u=t("51a7"),o=t("5520");for(var r in o)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(r);t("6aa9");var a=t("f0c5"),c=Object(a["a"])(o["default"],u["b"],u["c"],!1,null,"243f0c31",null,!1,u["a"],void 0);n["default"]=c.exports}},[["b9ca","common/runtime","common/vendor"]]]);