(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-231cadad"],{"70ed":function(e,t,o){},ba5f:function(e,t,o){"use strict";o("70ed")},d6c5:function(e,t,o){"use strict";o.r(t);var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"ids-create-block-group"},[t("iDSCompHandleBlockGroup",{ref:"compHandelBlockGroup",attrs:{inputBlockGroupInfo:e.blockGroupInfo,callBackConfirm:e.onConfirm}})],1)},r=[],i=o("2f62"),c=o("4532"),a=o("7e35"),u=o("5b75");function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function s(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function f(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?s(Object(o),!0).forEach((function(t){p(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):s(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function p(e,t,o){return t=b(t),t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function b(e){var t=m(e,"string");return"symbol"===l(t)?t:String(t)}function m(e,t){if("object"!==l(e)||null===e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!==l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var v={name:"iDS-CreateBlockGroup",components:{iDSCompHandleBlockGroup:u["a"]},data:function(){return{blockGroupInfo:null}},computed:{},methods:f({onConfirm:function(e){var t=this;this.createBlockGroup({authorization:{Authorization:"Bearer "+c["a"].vm.getUserToken()},data:e,vm:c["a"].vm}).then((function(){a["a"].remove("activeBlockGroupInfo"),t.$router.back()}),(function(){}))},changeView:function(){c["a"].vm.setTitle("新建试块组"),c["a"].vm.setBackDisabled(!1),c["a"].vm.setBackIcon("arrow_back"),c["a"].vm.setBottomNavVisible(!1),c["a"].vm.setBottomBtnVisible(!1),c["a"].vm.setMsgInputVisible(!1),c["a"].vm.setMenuDisabled(!0),c["a"].vm.setContentHeight({value:"calc(".concat(window.innerHeight,"px - 48px")+")"})}},Object(i["b"])("block",["createBlockGroup"])),created:function(){console.log("调试代码"),null!=c["a"].vm.getUserToken()&&null!=c["a"].vm.getUserId()?this.changeView():window.location.href="/"},mounted:function(){this.$route.params.isScanPatrol&&this.$refs.compHandelBlockGroup.onScanWaybill()},beforeDestroy:function(){c["a"].vm.setMenuDisabled(!0),c["a"].vm.setMenuItems([]),c["a"].vm.setMenuIcon("")}},d=v,y=(o("ba5f"),o("2877")),k=Object(y["a"])(d,n,r,!1,null,null,null);t["default"]=k.exports}}]);