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

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/outBound/attachBill"],{"0eb7":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=[]},"4f71":function(e,n,t){"use strict";(function(e,n){var u=t("4ea4");t("260f");u(t("66fd"));var o=u(t("decd"));e.__webpack_require_UNI_MP_PLUGIN__=t,n(o.default)}).call(this,t("bc2e")["default"],t("543d")["createPage"])},"662a":function(e,n,t){"use strict";t.r(n);var u=t("fdd4"),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},a95e:function(e,n,t){},abdb:function(e,n,t){"use strict";var u=t("a95e"),o=t.n(u);o.a},decd:function(e,n,t){"use strict";t.r(n);var u=t("0eb7"),o=t("662a");for(var r in o)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(r);t("abdb");var a=t("f0c5"),i=Object(a["a"])(o["default"],u["b"],u["c"],!1,null,"3cd49aa8",null,!1,u["a"],void 0);n["default"]=i.exports},fdd4: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")),i=u(t("3f96")),c=t("77cf"),s={onLoad:function(e){var n=this;e.name&&this.$nextTick((function(){n.$refs.uToast.show({type:"success",message:"叉车备货成功"})}))},onShow:function(){(0,c.initScan)(this.scanSuccess),(0,c.startScan)()},onHide:function(){(0,c.stopScan)()},data:function(){return{ruleForm:{warehouseId:a.default.state.userInfo.branchId,orderNo:"",orderNos:[],workType:"6",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){i.default.storge.label(n.ruleForm).then((function(t){n.ruleForm.orderNo="",e.navigateTo({url:"/pages/outBound/superviseLoading?name=attachBill"})}))}))}}};n.default=s}).call(this,t("543d")["default"])}},[["4f71","common/runtime","common/vendor"]]]);