| 12345678910 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesStorehouse/components/CommodityStock"],{"0cba":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=e("7602"),o=function(){Promise.all([e.e("common/vendor"),e.e("components/app-img")]).then(function(){return resolve(e("cb3c"))}.bind(null,e)).catch(e.oe)},c={name:"Commodity",components:{AppImg:o},props:{type:{type:String,default:i.STOCK_TYPE.WARN},isPrice:{type:Boolean,default:!0},isEdit:{type:Boolean,default:!0},info:{required:!0},modifyStock:{type:Object}},data:function(){return{isImg:!1,currentStock:null,hidden:0}},mounted:function(){var t=this;setTimeout((function(){t.isImg=!0}),100)},watch:{modifyStock:{handler:function(){if(this.modifyStock.id==this.info.id&&this.modifyStock.stock!=this.info.stock){this.currentStock=this.modifyStock.stock;var t=this;setTimeout((function(){t.hidden=t.modifyStock.hidden}),800)}},deep:!0}},methods:{goItem:function(t,n){this.type==i.STOCK_TYPE.WARN?this.$util.pageTo({url:"/admin/item/detail?id="+t}):this.$util.pageTo({url:"/pagesStorehouse/stockWarn/detailed?id="+n})},customNum:function(){this.$emit("customNum")},addEvent:function(){this.$emit("add")},subtractEvent:function(){this.$emit("subtract")},delEvent:function(){this.$emit("del")}}};n.default=c},"108f":function(t,n,e){"use strict";e.r(n);var i=e("0cba"),o=e.n(i);for(var c in i)["default"].indexOf(c)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(c);n["default"]=o.a},"470a":function(t,n,e){},"7acd":function(t,n,e){"use strict";e.r(n);var i=e("bdd8"),o=e("108f");for(var c in o)["default"].indexOf(c)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(c);e("cd11");var u,d=e("0095"),a=Object(d["a"])(o["default"],i["b"],i["c"],!1,null,"e7ba2304",null,!1,i["a"],u);n["default"]=a.exports},bdd8:function(t,n,e){"use strict";var i;e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return c})),e.d(n,"a",(function(){return i}));var o=function(){var t=this,n=t.$createElement;t._self._c},c=[]},cd11:function(t,n,e){"use strict";var i=e("470a"),o=e.n(i);o.a}}]);
- ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
- 'pagesStorehouse/components/CommodityStock-create-component',
- {
- 'pagesStorehouse/components/CommodityStock-create-component':(function(module, exports, __webpack_require__){
- __webpack_require__('f3be')['createComponent'](__webpack_require__("7acd"))
- })
- },
- [['pagesStorehouse/components/CommodityStock-create-component']]
- ]);
|