nubomed-ui 2.0.53 → 2.0.55
Sign up to get free protection for your applications and to get access to all the features.
- package/css/element-ui/index.css +1 -1
- package/css/element-variables.css +1 -1
- package/css/nb-ui/index.css +1 -1
- package/lang/en-US.js +73 -0
- package/lang/zh-CN.js +85 -0
- package/nubomed-ui.common.js +14 -5
- package/nubomed-ui.common.js.map +1 -1
- package/nubomed-ui.umd.js +14 -5
- package/nubomed-ui.umd.js.map +1 -1
- package/nubomed-ui.umd.min.js +1 -1
- package/nubomed-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
package/nubomed-ui.umd.js
CHANGED
@@ -529,7 +529,7 @@ src.install = function (Vue) {
|
|
529
529
|
|
530
530
|
/***/ }),
|
531
531
|
|
532
|
-
/***/
|
532
|
+
/***/ 9178:
|
533
533
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
534
534
|
|
535
535
|
"use strict";
|
@@ -541,8 +541,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
541
541
|
"default": function() { return /* binding */ NBCabinetInventoryCarousel; }
|
542
542
|
});
|
543
543
|
|
544
|
-
;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBCabinetInventoryCarousel/src/index.vue?vue&type=template&id=
|
545
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nb-cabinet-inventory-carousel",class:[("nb-cabinet-inventory-carousel--" + _vm.locale)]},[(_vm.totalPage > 1)?_c('span',{staticClass:"cabinet__arrow",class:_vm.disableLeft ? 'is-disable' : '',on:{"click":function($event){$event.stopPropagation();return _vm.handleClickArrow('prev')}}},[_c('nb-icon',{staticClass:"cabinet__arrow--left",attrs:{"icon":"arrow-left"}})],1):_vm._e(),_c('el-carousel',{ref:"refCarousel",attrs:{"interval":0,"arrow":"never","trigger":"click","autoplay":false,"indicator-position":"none"},on:{"change":_vm.handleChange}},_vm._l((_vm.showList),function(page){return _c('el-carousel-item',{key:page.page},[_c('ul',{staticClass:"cabinet-list",class:("cabinet-list--" + (page.list.length))},_vm._l((page.list),function(item,index){return _c('li',{key:index,staticClass:"cabinet-item",on:{"click":function($event){$event.stopPropagation();return _vm.handleGoDetail(item)}}},[_c('div',{staticClass:"cabinet__img"},[_c('img',{attrs:{"src":("" + (item.terModelPic))}})]),_vm._t("default",
|
544
|
+
;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBCabinetInventoryCarousel/src/index.vue?vue&type=template&id=ed854d94&scoped=true
|
545
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nb-cabinet-inventory-carousel",class:[("nb-cabinet-inventory-carousel--" + _vm.locale)]},[(_vm.totalPage > 1)?_c('span',{staticClass:"cabinet__arrow",class:_vm.disableLeft ? 'is-disable' : '',on:{"click":function($event){$event.stopPropagation();return _vm.handleClickArrow('prev')}}},[_c('nb-icon',{staticClass:"cabinet__arrow--left",attrs:{"icon":"arrow-left"}})],1):_vm._e(),_c('el-carousel',{ref:"refCarousel",attrs:{"interval":0,"arrow":"never","trigger":"click","autoplay":false,"indicator-position":"none"},on:{"change":_vm.handleChange}},_vm._l((_vm.showList),function(page){return _c('el-carousel-item',{key:page.page},[_c('ul',{staticClass:"cabinet-list",class:("cabinet-list--" + (page.list.length))},_vm._l((page.list),function(item,index){return _c('li',{key:index,staticClass:"cabinet-item",on:{"click":function($event){$event.stopPropagation();return _vm.handleGoDetail(item)}}},[_c('div',{staticClass:"cabinet__img"},[_c('img',{attrs:{"src":("" + (item.terModelPic))}})]),(_vm.$slots.default)?_vm._t("default",null,{"row":item}):[_c('div',{staticClass:"cabinet__right"},[_c('div',{staticClass:"cabinet__right__top"},[_c('div',{staticClass:"cabinet__name"},[_vm._v(_vm._s(item.sTerDesc))]),(item.dInvenTime)?_c('div',{staticClass:"cabinet__date"},[_vm._v(_vm._s(item.dInvenTime)+" 盘点")]):_vm._e()]),_c('div',{staticClass:"cabinet__loss"},[_c('span',[_c('i',[_vm._v("盘盈")]),_c('span',{staticClass:"color-inv-surplus"},[_vm._v(_vm._s(_vm._f("filterCount")(item.profit)))])]),_c('span',[_c('i',[_vm._v("盘亏")]),_c('span',{staticClass:"color-inv-loss"},[_vm._v(_vm._s(_vm._f("filterCount")(item.loss)))])])]),_c('div',{staticClass:"cabinet__account"},[_c('span',[_c('i',[_vm._v("账盘")]),_c('strong',[_vm._v(_vm._s(_vm._f("filterCount")(item.iAccount)))])]),_c('span',[_c('i',[_vm._v("机盘")]),_c('strong',[_vm._v(_vm._s(_vm._f("filterCount")(item.iActual)))])])])]),_c('el-button',{attrs:{"size":"mini","type":"primary","plain":""},on:{"click":function($event){$event.stopPropagation();return _vm.handleClickInventory(item)}}},[_vm._v("盘点")]),(item.state === 1)?_c('div',{staticClass:"cabinet__loading"},[_vm._v("盘点中...")]):_vm._e()]],2)}),0)])}),1),(_vm.totalPage > 1)?_c('span',{staticClass:"cabinet__arrow",class:_vm.disableRight ? 'is-disable' : '',on:{"click":function($event){$event.stopPropagation();return _vm.handleClickArrow('next')}}},[_c('nb-icon',{staticClass:"cabinet__arrow--right",attrs:{"icon":"arrow-right"}})],1):_vm._e()],1)}
|
546
546
|
var staticRenderFns = []
|
547
547
|
|
548
548
|
|
@@ -610,6 +610,7 @@ var es_array_push = __webpack_require__(4114);
|
|
610
610
|
//
|
611
611
|
//
|
612
612
|
//
|
613
|
+
//
|
613
614
|
|
614
615
|
/* harmony default export */ var srcvue_type_script_lang_js = ({
|
615
616
|
name: 'NBCabinetInventoryCarousel',
|
@@ -658,6 +659,14 @@ var es_array_push = __webpack_require__(4114);
|
|
658
659
|
return this.index === this.totalPage - 1 || this.totalPage === 1;
|
659
660
|
}
|
660
661
|
},
|
662
|
+
filters: {
|
663
|
+
filterCount(val) {
|
664
|
+
if (typeof val === 'undefined' || val === null) {
|
665
|
+
return '- -';
|
666
|
+
}
|
667
|
+
return val;
|
668
|
+
}
|
669
|
+
},
|
661
670
|
methods: {
|
662
671
|
// 点击箭头
|
663
672
|
handleClickArrow(type) {
|
@@ -704,7 +713,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
704
713
|
staticRenderFns,
|
705
714
|
false,
|
706
715
|
null,
|
707
|
-
"
|
716
|
+
"ed854d94",
|
708
717
|
null
|
709
718
|
|
710
719
|
)
|
@@ -3601,7 +3610,7 @@ webpackContext.id = 1603;
|
|
3601
3610
|
|
3602
3611
|
var map = {
|
3603
3612
|
"./NBBadge/index.js": 3134,
|
3604
|
-
"./NBCabinetInventoryCarousel/index.js":
|
3613
|
+
"./NBCabinetInventoryCarousel/index.js": 9178,
|
3605
3614
|
"./NBCheckboxGroup/index.js": 2129,
|
3606
3615
|
"./NBDialog/index.js": 4066,
|
3607
3616
|
"./NBEmpty/index.js": 2846,
|