nubomed-ui 2.0.218 → 2.0.220
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/nb-ui/index.css +1 -1
- package/nubomed-ui.common.js +38 -16
- package/nubomed-ui.umd.js +38 -16
- package/nubomed-ui.umd.min.js +2 -2
- package/package.json +1 -1
package/nubomed-ui.common.js
CHANGED
@@ -1777,7 +1777,7 @@ src.install = function (Vue) {
|
|
1777
1777
|
|
1778
1778
|
/***/ }),
|
1779
1779
|
|
1780
|
-
/***/
|
1780
|
+
/***/ 4875:
|
1781
1781
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
1782
1782
|
|
1783
1783
|
"use strict";
|
@@ -1789,8 +1789,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
1789
1789
|
"default": function() { return /* binding */ NBBarcodeReviewDialog; }
|
1790
1790
|
});
|
1791
1791
|
|
1792
|
-
;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./packages/components/NBBarcodeReviewDialog/src/index.vue?vue&type=template&id=
|
1793
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('nb-dialog',{attrs:{"show-close":true,"custom-class":"nb-barcode-review-dialog","title":_vm.title || _vm.t('nb.traceDetail'),"show-cancel-button":false,"show-confirm-button":false,"center":false},on:{"closed":_vm.onClosed},model:{value:(_vm.dialogVisible),callback:function ($$v) {_vm.dialogVisible=$$v},expression:"dialogVisible"}},[_c('div',{staticClass:"br-top"},[_c('div',{staticClass:"br__name"},[_c('nb-reagent-type',{attrs:{"value":_vm.info.reagentType}}),(_vm.info.iTempDisable === 0)?_c('nb-tag',{attrs:{"type":"warning","fill":""}},[_vm._v(_vm._s(_vm.t('nb.state.temporaryStop')))]):_vm._e(),(_vm.info.isDisable === 0)?_c('nb-tag',{attrs:{"type":"danger","fill":""}},[_vm._v(_vm._s(_vm.t('nb.state.disabled')))]):_vm._e(),_c('span',[_vm._v(_vm._s(_vm.info.sDrugName || '- -'))]),_c('span',{staticClass:"br__copy",on:{"click":function($event){$event.stopPropagation();return _vm.handleCopy(_vm.info.sDrugName)}}},[_c('nb-icon',{attrs:{"icon":"copy"}}),_vm._v(_vm._s(_vm.t('nb.button.copy')))],1)],1),_c('div',{staticClass:"br__barcode"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.barcode'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sBarcode || '- -'))]),_c('span',{staticClass:"br__copy",on:{"click":function($event){$event.stopPropagation();return _vm.handleCopy(_vm.info.sBarcode)}}},[_c('nb-icon',{attrs:{"icon":"copy"}}),_vm._v(_vm._s(_vm.t('nb.button.copy')))],1)]),_c('div',{staticClass:"br__row"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.spec'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sSpecs || '- -'))])]),_c('div',{staticClass:"br__row"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.model'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sModel || '- -'))])]),_c('div',{staticClass:"br__row flex-row"},[_c('div',[_c('i',[_vm._v(_vm._s(_vm.t('nb.batch'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sBatch || '- -'))])]),_c('div',[_c('i',[_vm._v(_vm._s(_vm.t('nb.expiry'))+":")]),_c('span',[_vm._v(_vm._s(_vm.formatDateTime(_vm.info.dExpiry) || '- -'))])]),_c('div',[_c('i',[_vm._v(_vm._s(_vm.t('nb.price'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.fPrice || '- -'))])])]),_c('div',{staticClass:"br__row"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.brand'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sBrand || '- -'))])]),_c('div',{staticClass:"br__row"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.manufacturer'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sManufacturerName || '- -'))])]),_c('div',{staticClass:"br__row"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.supplier'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sSupplierName || '- -'))])])]),_c('ul',{staticClass:"br-bottom"},_vm._l((_vm.info.details),function(item,index){return _c('li',{key:index,staticClass:"br__item"},[_c('div',{staticClass:"br__item__date",domProps:{"innerHTML":_vm._s(_vm.formartInputTime(item.dInputTime))}}),_c('div',{staticClass:"br__item__dot"}),_c('div',{staticClass:"br__item__card"},[_c('p',{staticClass:"br__item__card__type"},[_vm._v(_vm._s(item.sBillTypeName || '- -'))]),_c('div',{staticClass:"br__item__card__bottom"},[_c('div',[_c('i',[_vm._v(_vm._s(_vm.t('nb.operator'))+":")]),_c('span',[_vm._v(_vm._s(item.sInputUserName || '- -'))])]),_c('div',[_c('i',[_vm._v(_vm._s(_vm.t('nb.position'))+":")]),_c('span',[_vm._v(_vm._s(item.sTerDesc || '- -'))])])])])])}),0)])}
|
1792
|
+
;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./packages/components/NBBarcodeReviewDialog/src/index.vue?vue&type=template&id=43ddfafb&scoped=true
|
1793
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('nb-dialog',{attrs:{"show-close":true,"custom-class":"nb-barcode-review-dialog","title":_vm.title || _vm.t('nb.traceDetail'),"show-cancel-button":false,"show-confirm-button":false,"center":false},on:{"closed":_vm.onClosed},model:{value:(_vm.dialogVisible),callback:function ($$v) {_vm.dialogVisible=$$v},expression:"dialogVisible"}},[_c('div',{staticClass:"br-top"},[_c('div',{staticClass:"br__name"},[_c('nb-reagent-type',{attrs:{"value":_vm.info.reagentType}}),(_vm.info.iTempDisable === 0)?_c('nb-tag',{attrs:{"type":"warning","fill":""}},[_vm._v(_vm._s(_vm.t('nb.state.temporaryStop')))]):_vm._e(),(_vm.info.isDisable === 0)?_c('nb-tag',{attrs:{"type":"danger","fill":""}},[_vm._v(_vm._s(_vm.t('nb.state.disabled')))]):_vm._e(),_c('span',[_vm._v(_vm._s(_vm.info.sDrugName || '- -'))]),_c('span',{staticClass:"br__copy",on:{"click":function($event){$event.stopPropagation();return _vm.handleCopy(_vm.info.sDrugName)}}},[_c('nb-icon',{attrs:{"icon":"copy"}}),_vm._v(_vm._s(_vm.t('nb.button.copy')))],1)],1),_c('div',{staticClass:"br__barcode"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.barcode'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sBarcode || '- -'))]),_c('span',{staticClass:"br__copy",on:{"click":function($event){$event.stopPropagation();return _vm.handleCopy(_vm.info.sBarcode)}}},[_c('nb-icon',{attrs:{"icon":"copy"}}),_vm._v(_vm._s(_vm.t('nb.button.copy')))],1)]),_c('div',{staticClass:"br__row"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.spec'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sSpecs || '- -'))])]),_c('div',{staticClass:"br__row"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.model'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sModel || '- -'))])]),_c('div',{staticClass:"br__row flex-row"},[_c('div',[_c('i',[_vm._v(_vm._s(_vm.t('nb.batch'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sBatch || '- -'))])]),_c('div',[_c('i',[_vm._v(_vm._s(_vm.t('nb.expiry'))+":")]),_c('span',[_vm._v(_vm._s(_vm.formatDateTime(_vm.info.dExpiry) || '- -'))])]),_c('div',[_c('i',[_vm._v(_vm._s(_vm.t('nb.price'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.fPrice || '- -'))])])]),(_vm.showBrand)?_c('div',{staticClass:"br__row"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.brand'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sBrand || '- -'))])]):_vm._e(),_c('div',{staticClass:"br__row"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.manufacturer'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sManufacturerName || '- -'))])]),_c('div',{staticClass:"br__row"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.supplier'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sSupplierName || '- -'))])])]),_c('ul',{staticClass:"br-bottom"},_vm._l((_vm.info.details),function(item,index){return _c('li',{key:index,staticClass:"br__item"},[_c('div',{staticClass:"br__item__date",domProps:{"innerHTML":_vm._s(_vm.formartInputTime(item.dInputTime))}}),_c('div',{staticClass:"br__item__dot"}),_c('div',{staticClass:"br__item__card"},[_c('p',{staticClass:"br__item__card__type"},[_vm._v(_vm._s(item.sBillTypeName || '- -'))]),_c('div',{staticClass:"br__item__card__bottom"},[_c('div',[_c('i',[_vm._v(_vm._s(_vm.t('nb.operator'))+":")]),_c('span',[_vm._v(_vm._s(item.sInputUserName || '- -'))])]),_c('div',[_c('i',[_vm._v(_vm._s(_vm.t('nb.position'))+":")]),_c('span',[_vm._v(_vm._s(item.sTerDesc || '- -'))])])])])])}),0)])}
|
1794
1794
|
var staticRenderFns = []
|
1795
1795
|
|
1796
1796
|
|
@@ -1924,6 +1924,11 @@ var date_util = __webpack_require__(2035);
|
|
1924
1924
|
dateFormat: {
|
1925
1925
|
type: String,
|
1926
1926
|
default: ''
|
1927
|
+
},
|
1928
|
+
// 是否显示品牌
|
1929
|
+
showBrand: {
|
1930
|
+
type: Boolean,
|
1931
|
+
default: true
|
1927
1932
|
}
|
1928
1933
|
},
|
1929
1934
|
data() {
|
@@ -1981,7 +1986,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
1981
1986
|
staticRenderFns,
|
1982
1987
|
false,
|
1983
1988
|
null,
|
1984
|
-
"
|
1989
|
+
"43ddfafb",
|
1985
1990
|
null
|
1986
1991
|
|
1987
1992
|
)
|
@@ -19979,7 +19984,7 @@ src.install = function (Vue) {
|
|
19979
19984
|
|
19980
19985
|
/***/ }),
|
19981
19986
|
|
19982
|
-
/***/
|
19987
|
+
/***/ 4858:
|
19983
19988
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
19984
19989
|
|
19985
19990
|
"use strict";
|
@@ -19991,17 +19996,23 @@ __webpack_require__.d(__webpack_exports__, {
|
|
19991
19996
|
"default": function() { return /* binding */ NBNameToggleCard; }
|
19992
19997
|
});
|
19993
19998
|
|
19994
|
-
;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./packages/components/NBNameToggleCard/src/index.vue?vue&type=template&id=
|
19995
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"refNBNameToggleCard",staticClass:"nb-name-toggle-card",class:_vm.getCardClassList},[_c('span',{staticClass:"cate__toggle"},[(_vm.item.details.length && _vm.showToggle)?_c('nb-icon',{attrs:{"icon":_vm.toggle ? 'caret-down' : 'caret-right'},on:{"click":function($event){return _vm.handleToggle(_vm.item)}}}):_vm._e()],1),_c('div',{staticClass:"nb-name-toggle-card__right"},[_c('div',{staticClass:"card__name--row",on:{"click":function($event){$event.stopPropagation();return _vm.handleToggle(_vm.item)}}},[(_vm.showCheckbox)?_c('el-checkbox',{staticClass:"card__checkbox",attrs:{"indeterminate":_vm.item.indeterminate},on:{"change":function($event){return _vm.handleChangeCheckbox($event, _vm.item)}},model:{value:(_vm.item.checked),callback:function ($$v) {_vm.$set(_vm.item, "checked", $$v)},expression:"item.checked"}}):_vm._e(),_c('strong',{staticClass:"card__name"},[_vm._v(_vm._s(_vm.item.sDrugName || '- -'))]),_c('nb-reagent-type',{attrs:{"value":_vm.item.reagentType}}),(_vm.showExpiry)?_c('nb-expiry-icon',{attrs:{"value":_vm.item.expiryState}}):_vm._e(),(_vm.item.iTempDisable === 0)?_c('nb-tag',{attrs:{"type":"warning","fill":""}},[_vm._v(_vm._s(_vm.t('nb.state.temporaryStop')))]):_vm._e(),(_vm.item.isDisable === 0)?_c('nb-tag',{attrs:{"type":"danger"}},[_vm._v(_vm._s(_vm.t('nb.state.disabled')))]):_vm._e(),_vm._t("name-append",null,{"item":_vm.item})],2),_c('div',{staticClass:"card__spec--row",on:{"click":function($event){$event.stopPropagation();return _vm.handleToggle(_vm.item)}}},[_c('div',{staticClass:"card__row-left"},[_c('div',{staticClass:"card__attr card__attr--spec"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.spec_model'))+":")]),_c('span',[_vm._v(_vm._s(_vm.item.sSpecs || '- -')+"/"+_vm._s(_vm.item.sModel || '- -'))])]),(_vm.showBrand)?_c('div',{staticClass:"card__attr card__attr--brand"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.brand'))+":")]),_c('span',[_vm._v(_vm._s(_vm.item.sBrand || '- -'))])]):_vm._e(),(_vm.showPosition)?[(_vm.item.lastTerDesc)?_c('div',{staticClass:"card__attr card__attr--position-move"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.position'))+":")]),_c('span',[_vm._v(_vm._s(_vm.item.lastTerDesc || '--'))]),_c('nb-icon',{attrs:{"icon":"caps-filled"}}),_c('span',[_vm._v(_vm._s(_vm.item.sTerDesc || '--'))])],1):_c('div',{staticClass:"card__attr card__attr--position"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.position'))+":")]),_c('span',[_vm._v(_vm._s(_vm.item.sTerDesc || '--'))])])]:_vm._e(),(_vm.showCoefficient)?_c('div',{staticClass:"card__attr card__attr--num"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.coefficient'))+":")]),_c('span',[_vm._v(_vm._s(_vm.item.iCount || '- -'))])]):_vm._e(),_vm._t("spec-append")],2),_c('div',{staticClass:"card__attr card__attr--count"},[_vm._t("default")],2)]),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.toggle && _vm.showToggle),expression:"toggle && showToggle"}],staticClass:"card__details"},[_vm._t("detail",[_c('el-table',{staticClass:"nb-card-table",attrs:{"auto-right":"","data":_vm.item.details,"row-class-name":_vm.tableRowClassName}},[(_vm.showExpiry)?_c('el-table-column',{attrs:{"class-name":"is-tag","align":"right","width":"240"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('nb-expiry-icon',{attrs:{"value":scope.row.expiryState}})]}}],null,false,3613358482)}):_vm._e(),_vm._t("detail-left"),_c('el-table-column',{attrs:{"prop":"sBarcode","label":_vm.t('nb.barcode'),"width":"420"}}),_c('el-table-column',{attrs:{"prop":"sBatch","label":_vm.t('nb.batch'),"width":"270"}}),_c('el-table-column',{attrs:{"prop":"dExpiry","label":_vm.t('nb.expiry'),"width":"192"}}),_vm._t("detail-right")],2)],{"item":_vm.item})],2)])])}
|
19999
|
+
;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./packages/components/NBNameToggleCard/src/index.vue?vue&type=template&id=0cbc05e1&scoped=true
|
20000
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"refNBNameToggleCard",staticClass:"nb-name-toggle-card",class:_vm.getCardClassList},[_c('span',{staticClass:"cate__toggle"},[(_vm.item.details.length && _vm.showToggle)?_c('nb-icon',{attrs:{"icon":_vm.toggle ? 'caret-down' : 'caret-right'},on:{"click":function($event){return _vm.handleToggle(_vm.item)}}}):_vm._e()],1),_c('div',{staticClass:"nb-name-toggle-card__right"},[_c('div',{staticClass:"card__name--row",on:{"click":function($event){$event.stopPropagation();return _vm.handleToggle(_vm.item)}}},[(_vm.showCheckbox)?_c('el-checkbox',{staticClass:"card__checkbox",attrs:{"indeterminate":_vm.item.indeterminate},on:{"change":function($event){return _vm.handleChangeCheckbox($event, _vm.item)}},model:{value:(_vm.item.checked),callback:function ($$v) {_vm.$set(_vm.item, "checked", $$v)},expression:"item.checked"}}):_vm._e(),_c('strong',{staticClass:"card__name"},[_vm._v(_vm._s(_vm.item.sDrugName || '- -'))]),_c('nb-reagent-type',{attrs:{"value":_vm.item.reagentType}}),(_vm.showExpiry)?_c('nb-expiry-icon',{attrs:{"value":_vm.item.expiryState}}):_vm._e(),(_vm.item.iTempDisable === 0)?_c('nb-tag',{attrs:{"type":"warning","fill":""}},[_vm._v(_vm._s(_vm.t('nb.state.temporaryStop')))]):_vm._e(),(_vm.item.isDisable === 0)?_c('nb-tag',{attrs:{"type":"danger"}},[_vm._v(_vm._s(_vm.t('nb.state.disabled')))]):_vm._e(),_vm._t("name-append",null,{"item":_vm.item})],2),_c('div',{staticClass:"card__spec--row",on:{"click":function($event){$event.stopPropagation();return _vm.handleToggle(_vm.item)}}},[_c('div',{staticClass:"card__row-left",class:_vm.specRowClass},[_c('div',{staticClass:"card__attr card__attr--spec"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.spec_model'))+":")]),_c('span',[_vm._v(_vm._s(_vm.item.sSpecs || '- -')+"/"+_vm._s(_vm.item.sModel || '- -'))])]),(_vm.showBrand)?_c('div',{staticClass:"card__attr card__attr--brand"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.brand'))+":")]),_c('span',[_vm._v(_vm._s(_vm.item.sBrand || '- -'))])]):_vm._e(),(_vm.showPosition)?[(_vm.item.lastTerDesc)?_c('div',{staticClass:"card__attr card__attr--position-move"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.position'))+":")]),_c('span',[_vm._v(_vm._s(_vm.item.lastTerDesc || '--'))]),_c('nb-icon',{attrs:{"icon":"caps-filled"}}),_c('span',[_vm._v(_vm._s(_vm.item.sTerDesc || '--'))])],1):_c('div',{staticClass:"card__attr card__attr--position"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.position'))+":")]),_c('span',[_vm._v(_vm._s(_vm.item.sTerDesc || '--'))])])]:_vm._e(),(_vm.showCoefficient)?_c('div',{staticClass:"card__attr card__attr--num"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.coefficient'))+":")]),_c('span',[_vm._v(_vm._s(_vm.item.iCount || '- -'))])]):_vm._e(),_vm._t("spec-append")],2),_c('div',{staticClass:"card__attr card__attr--count"},[_vm._t("default")],2)]),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.toggle && _vm.showToggle),expression:"toggle && showToggle"}],staticClass:"card__details"},[_vm._t("detail",[_c('el-table',{staticClass:"nb-card-table",attrs:{"auto-right":"","data":_vm.item.details,"row-class-name":_vm.tableRowClassName}},[(_vm.showExpiry)?_c('el-table-column',{attrs:{"class-name":"is-tag","align":"right","width":"240"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('nb-expiry-icon',{attrs:{"value":scope.row.expiryState}})]}}],null,false,3613358482)}):_vm._e(),_vm._t("detail-left"),_c('el-table-column',{attrs:{"prop":"sBarcode","label":_vm.t('nb.barcode'),"width":"420"}}),_c('el-table-column',{attrs:{"prop":"sBatch","label":_vm.t('nb.batch'),"width":"270"}}),_c('el-table-column',{attrs:{"prop":"dExpiry","label":_vm.t('nb.expiry'),"width":"192"}}),_vm._t("detail-right")],2)],{"item":_vm.item})],2)])])}
|
19996
20001
|
var staticRenderFns = []
|
19997
20002
|
|
19998
20003
|
|
19999
20004
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
20000
20005
|
var es_array_push = __webpack_require__(4114);
|
20006
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.constructor.js
|
20007
|
+
var esnext_iterator_constructor = __webpack_require__(8992);
|
20008
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.filter.js
|
20009
|
+
var esnext_iterator_filter = __webpack_require__(4520);
|
20001
20010
|
// EXTERNAL MODULE: ./packages/mixins/index.js
|
20002
20011
|
var mixins = __webpack_require__(5289);
|
20003
20012
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./packages/components/NBNameToggleCard/src/index.vue?vue&type=script&lang=js
|
20004
20013
|
|
20014
|
+
|
20015
|
+
|
20005
20016
|
//
|
20006
20017
|
//
|
20007
20018
|
//
|
@@ -20193,6 +20204,15 @@ var mixins = __webpack_require__(5289);
|
|
20193
20204
|
cls.push('nb-name-toggle-card--has-position');
|
20194
20205
|
}
|
20195
20206
|
return cls;
|
20207
|
+
},
|
20208
|
+
// 规格行样式
|
20209
|
+
specRowClass() {
|
20210
|
+
let cls = [];
|
20211
|
+
|
20212
|
+
// 只显示了一个,如位置、品牌、系数
|
20213
|
+
const hasAttrCount = [Number(this.showPosition), Number(this.showBrand), Number(this.showCoefficient)].filter(v => v === 1).length;
|
20214
|
+
cls.push('card__spec--row--' + (hasAttrCount + 1));
|
20215
|
+
return cls;
|
20196
20216
|
}
|
20197
20217
|
},
|
20198
20218
|
methods: {
|
@@ -20243,7 +20263,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
20243
20263
|
staticRenderFns,
|
20244
20264
|
false,
|
20245
20265
|
null,
|
20246
|
-
"
|
20266
|
+
"0cbc05e1",
|
20247
20267
|
null
|
20248
20268
|
|
20249
20269
|
)
|
@@ -21953,7 +21973,7 @@ src.install = function (Vue) {
|
|
21953
21973
|
|
21954
21974
|
/***/ }),
|
21955
21975
|
|
21956
|
-
/***/
|
21976
|
+
/***/ 5351:
|
21957
21977
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
21958
21978
|
|
21959
21979
|
"use strict";
|
@@ -21965,8 +21985,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
21965
21985
|
"default": function() { return /* binding */ NBSidebarNav; }
|
21966
21986
|
});
|
21967
21987
|
|
21968
|
-
;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./packages/components/NBSidebarNav/src/index.vue?vue&type=template&id=
|
21969
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"refNBSidebarNav",staticClass:"nb-sidebar-nav",class:_vm.getNavClass},_vm._l((_vm.options),function(item,index){return _c('div',{key:index,staticClass:"nav-item",class:_vm.getItemClass(item),on:{"click":function($event){$event.stopPropagation();return _vm.handleChange(item, index)}}},[_vm._t("default",[(_vm.optionProps.icon && item[_vm.optionProps.icon])?_c('nb-icon',{staticClass:"nav-item__icon",attrs:{"icon":item[_vm.optionProps.icon]}}):_vm._e(),(_vm.optionProps.svgIcon && item[_vm.optionProps.svgIcon])?_c('SvgIcon',{staticClass:"nav-item__icon",attrs:{"icon-class":item[_vm.optionProps.svgIcon]}}):_vm._e(),_c('div',{staticClass:"nav-item__text"},[_vm._v(_vm._s(item[_vm.optionProps.label]))]),(item[_vm.optionProps.num] !== null || item[_vm.optionProps.num] !== undefined)?_c('span',{staticClass:"nav-item__num"},[_vm._v(_vm._s(item[_vm.optionProps.num]))]):_vm._e(),(item[_vm.optionProps.badge])?_c('span',{staticClass:"nav-item__badge"},[_vm._v(_vm._s(_vm.getBadge(item)))]):_vm._e()],{"row":item}),(_vm.showArrow)?_c('nb-icon',{staticClass:"nav-item__arrow",attrs:{"icon":"arrow-right"}}):_vm._e()],2)}),0)}
|
21988
|
+
;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./packages/components/NBSidebarNav/src/index.vue?vue&type=template&id=48ba5c6c&scoped=true
|
21989
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"refNBSidebarNav",staticClass:"nb-sidebar-nav",class:_vm.getNavClass},_vm._l((_vm.options),function(item,index){return _c('div',{key:index,staticClass:"nav-item",class:_vm.getItemClass(item),on:{"click":function($event){$event.stopPropagation();return _vm.handleChange(item, index)}}},[_vm._t("default",[(_vm.optionProps.icon && item[_vm.optionProps.icon])?_c('nb-icon',{staticClass:"nav-item__icon",attrs:{"icon":item[_vm.optionProps.icon]}}):_vm._e(),(_vm.optionProps.svgIcon && item[_vm.optionProps.svgIcon])?_c('SvgIcon',{staticClass:"nav-item__icon",attrs:{"icon-class":item[_vm.optionProps.svgIcon]}}):_vm._e(),_c('div',{staticClass:"nav-item__text"},[_vm._v(" "+_vm._s(item[_vm.optionProps.label])),_vm._l((item.tags || []),function(t,i){return _c('nb-tag',{key:i,attrs:{"type":t.type}},[_vm._v(_vm._s(t.label))])})],2),(item[_vm.optionProps.num] !== null || item[_vm.optionProps.num] !== undefined)?_c('span',{staticClass:"nav-item__num"},[_vm._v(_vm._s(item[_vm.optionProps.num]))]):_vm._e(),(item[_vm.optionProps.badge])?_c('span',{staticClass:"nav-item__badge"},[_vm._v(_vm._s(_vm.getBadge(item)))]):_vm._e()],{"row":item}),(_vm.showArrow)?_c('nb-icon',{staticClass:"nav-item__arrow",attrs:{"icon":"arrow-right"}}):_vm._e()],2)}),0)}
|
21970
21990
|
var staticRenderFns = []
|
21971
21991
|
|
21972
21992
|
|
@@ -22001,6 +22021,8 @@ var dom = __webpack_require__(2644);
|
|
22001
22021
|
//
|
22002
22022
|
//
|
22003
22023
|
//
|
22024
|
+
//
|
22025
|
+
//
|
22004
22026
|
|
22005
22027
|
|
22006
22028
|
|
@@ -22130,7 +22152,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
22130
22152
|
staticRenderFns,
|
22131
22153
|
false,
|
22132
22154
|
null,
|
22133
|
-
"
|
22155
|
+
"48ba5c6c",
|
22134
22156
|
null
|
22135
22157
|
|
22136
22158
|
)
|
@@ -26216,7 +26238,7 @@ webpackContext.id = 1603;
|
|
26216
26238
|
var map = {
|
26217
26239
|
"./NBBadge/index.js": 5191,
|
26218
26240
|
"./NBBarcodeCard/index.js": 626,
|
26219
|
-
"./NBBarcodeReviewDialog/index.js":
|
26241
|
+
"./NBBarcodeReviewDialog/index.js": 4875,
|
26220
26242
|
"./NBBattery/index.js": 7301,
|
26221
26243
|
"./NBCabinetBall/index.js": 7871,
|
26222
26244
|
"./NBCabinetInventoryCarousel/index.js": 3213,
|
@@ -26253,7 +26275,7 @@ var map = {
|
|
26253
26275
|
"./NBMenusGrid/index.js": 9727,
|
26254
26276
|
"./NBMessageDialog/index.js": 8372,
|
26255
26277
|
"./NBNameSpecCard/index.js": 803,
|
26256
|
-
"./NBNameToggleCard/index.js":
|
26278
|
+
"./NBNameToggleCard/index.js": 4858,
|
26257
26279
|
"./NBNoticeMarquee/index.js": 174,
|
26258
26280
|
"./NBOutFooterDialog/index.js": 5704,
|
26259
26281
|
"./NBPagination/index.js": 2372,
|
@@ -26265,7 +26287,7 @@ var map = {
|
|
26265
26287
|
"./NBReagentType/index.js": 8,
|
26266
26288
|
"./NBSearchKeyboard/index.js": 9075,
|
26267
26289
|
"./NBSelect/index.js": 5088,
|
26268
|
-
"./NBSidebarNav/index.js":
|
26290
|
+
"./NBSidebarNav/index.js": 5351,
|
26269
26291
|
"./NBSidebarNavGroup/index.js": 5069,
|
26270
26292
|
"./NBStatusBar/index.js": 220,
|
26271
26293
|
"./NBSubHeader/index.js": 3506,
|
@@ -29282,7 +29304,7 @@ var esnext_iterator_constructor = __webpack_require__(8992);
|
|
29282
29304
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.for-each.js
|
29283
29305
|
var esnext_iterator_for_each = __webpack_require__(3949);
|
29284
29306
|
;// ./package.json
|
29285
|
-
var package_namespaceObject = {"rE":"2.0.
|
29307
|
+
var package_namespaceObject = {"rE":"2.0.220"};
|
29286
29308
|
;// ./packages/utils/convert.js
|
29287
29309
|
/**
|
29288
29310
|
* 将大驼峰(camelCase)字符串转换为小写且带有空格分隔的形式(kebab-case)
|
package/nubomed-ui.umd.js
CHANGED
@@ -1787,7 +1787,7 @@ src.install = function (Vue) {
|
|
1787
1787
|
|
1788
1788
|
/***/ }),
|
1789
1789
|
|
1790
|
-
/***/
|
1790
|
+
/***/ 3069:
|
1791
1791
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
1792
1792
|
|
1793
1793
|
"use strict";
|
@@ -1799,8 +1799,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
1799
1799
|
"default": function() { return /* binding */ NBBarcodeReviewDialog; }
|
1800
1800
|
});
|
1801
1801
|
|
1802
|
-
;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./packages/components/NBBarcodeReviewDialog/src/index.vue?vue&type=template&id=
|
1803
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('nb-dialog',{attrs:{"show-close":true,"custom-class":"nb-barcode-review-dialog","title":_vm.title || _vm.t('nb.traceDetail'),"show-cancel-button":false,"show-confirm-button":false,"center":false},on:{"closed":_vm.onClosed},model:{value:(_vm.dialogVisible),callback:function ($$v) {_vm.dialogVisible=$$v},expression:"dialogVisible"}},[_c('div',{staticClass:"br-top"},[_c('div',{staticClass:"br__name"},[_c('nb-reagent-type',{attrs:{"value":_vm.info.reagentType}}),(_vm.info.iTempDisable === 0)?_c('nb-tag',{attrs:{"type":"warning","fill":""}},[_vm._v(_vm._s(_vm.t('nb.state.temporaryStop')))]):_vm._e(),(_vm.info.isDisable === 0)?_c('nb-tag',{attrs:{"type":"danger","fill":""}},[_vm._v(_vm._s(_vm.t('nb.state.disabled')))]):_vm._e(),_c('span',[_vm._v(_vm._s(_vm.info.sDrugName || '- -'))]),_c('span',{staticClass:"br__copy",on:{"click":function($event){$event.stopPropagation();return _vm.handleCopy(_vm.info.sDrugName)}}},[_c('nb-icon',{attrs:{"icon":"copy"}}),_vm._v(_vm._s(_vm.t('nb.button.copy')))],1)],1),_c('div',{staticClass:"br__barcode"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.barcode'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sBarcode || '- -'))]),_c('span',{staticClass:"br__copy",on:{"click":function($event){$event.stopPropagation();return _vm.handleCopy(_vm.info.sBarcode)}}},[_c('nb-icon',{attrs:{"icon":"copy"}}),_vm._v(_vm._s(_vm.t('nb.button.copy')))],1)]),_c('div',{staticClass:"br__row"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.spec'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sSpecs || '- -'))])]),_c('div',{staticClass:"br__row"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.model'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sModel || '- -'))])]),_c('div',{staticClass:"br__row flex-row"},[_c('div',[_c('i',[_vm._v(_vm._s(_vm.t('nb.batch'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sBatch || '- -'))])]),_c('div',[_c('i',[_vm._v(_vm._s(_vm.t('nb.expiry'))+":")]),_c('span',[_vm._v(_vm._s(_vm.formatDateTime(_vm.info.dExpiry) || '- -'))])]),_c('div',[_c('i',[_vm._v(_vm._s(_vm.t('nb.price'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.fPrice || '- -'))])])]),_c('div',{staticClass:"br__row"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.brand'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sBrand || '- -'))])]),_c('div',{staticClass:"br__row"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.manufacturer'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sManufacturerName || '- -'))])]),_c('div',{staticClass:"br__row"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.supplier'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sSupplierName || '- -'))])])]),_c('ul',{staticClass:"br-bottom"},_vm._l((_vm.info.details),function(item,index){return _c('li',{key:index,staticClass:"br__item"},[_c('div',{staticClass:"br__item__date",domProps:{"innerHTML":_vm._s(_vm.formartInputTime(item.dInputTime))}}),_c('div',{staticClass:"br__item__dot"}),_c('div',{staticClass:"br__item__card"},[_c('p',{staticClass:"br__item__card__type"},[_vm._v(_vm._s(item.sBillTypeName || '- -'))]),_c('div',{staticClass:"br__item__card__bottom"},[_c('div',[_c('i',[_vm._v(_vm._s(_vm.t('nb.operator'))+":")]),_c('span',[_vm._v(_vm._s(item.sInputUserName || '- -'))])]),_c('div',[_c('i',[_vm._v(_vm._s(_vm.t('nb.position'))+":")]),_c('span',[_vm._v(_vm._s(item.sTerDesc || '- -'))])])])])])}),0)])}
|
1802
|
+
;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./packages/components/NBBarcodeReviewDialog/src/index.vue?vue&type=template&id=43ddfafb&scoped=true
|
1803
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('nb-dialog',{attrs:{"show-close":true,"custom-class":"nb-barcode-review-dialog","title":_vm.title || _vm.t('nb.traceDetail'),"show-cancel-button":false,"show-confirm-button":false,"center":false},on:{"closed":_vm.onClosed},model:{value:(_vm.dialogVisible),callback:function ($$v) {_vm.dialogVisible=$$v},expression:"dialogVisible"}},[_c('div',{staticClass:"br-top"},[_c('div',{staticClass:"br__name"},[_c('nb-reagent-type',{attrs:{"value":_vm.info.reagentType}}),(_vm.info.iTempDisable === 0)?_c('nb-tag',{attrs:{"type":"warning","fill":""}},[_vm._v(_vm._s(_vm.t('nb.state.temporaryStop')))]):_vm._e(),(_vm.info.isDisable === 0)?_c('nb-tag',{attrs:{"type":"danger","fill":""}},[_vm._v(_vm._s(_vm.t('nb.state.disabled')))]):_vm._e(),_c('span',[_vm._v(_vm._s(_vm.info.sDrugName || '- -'))]),_c('span',{staticClass:"br__copy",on:{"click":function($event){$event.stopPropagation();return _vm.handleCopy(_vm.info.sDrugName)}}},[_c('nb-icon',{attrs:{"icon":"copy"}}),_vm._v(_vm._s(_vm.t('nb.button.copy')))],1)],1),_c('div',{staticClass:"br__barcode"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.barcode'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sBarcode || '- -'))]),_c('span',{staticClass:"br__copy",on:{"click":function($event){$event.stopPropagation();return _vm.handleCopy(_vm.info.sBarcode)}}},[_c('nb-icon',{attrs:{"icon":"copy"}}),_vm._v(_vm._s(_vm.t('nb.button.copy')))],1)]),_c('div',{staticClass:"br__row"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.spec'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sSpecs || '- -'))])]),_c('div',{staticClass:"br__row"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.model'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sModel || '- -'))])]),_c('div',{staticClass:"br__row flex-row"},[_c('div',[_c('i',[_vm._v(_vm._s(_vm.t('nb.batch'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sBatch || '- -'))])]),_c('div',[_c('i',[_vm._v(_vm._s(_vm.t('nb.expiry'))+":")]),_c('span',[_vm._v(_vm._s(_vm.formatDateTime(_vm.info.dExpiry) || '- -'))])]),_c('div',[_c('i',[_vm._v(_vm._s(_vm.t('nb.price'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.fPrice || '- -'))])])]),(_vm.showBrand)?_c('div',{staticClass:"br__row"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.brand'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sBrand || '- -'))])]):_vm._e(),_c('div',{staticClass:"br__row"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.manufacturer'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sManufacturerName || '- -'))])]),_c('div',{staticClass:"br__row"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.supplier'))+":")]),_c('span',[_vm._v(_vm._s(_vm.info.sSupplierName || '- -'))])])]),_c('ul',{staticClass:"br-bottom"},_vm._l((_vm.info.details),function(item,index){return _c('li',{key:index,staticClass:"br__item"},[_c('div',{staticClass:"br__item__date",domProps:{"innerHTML":_vm._s(_vm.formartInputTime(item.dInputTime))}}),_c('div',{staticClass:"br__item__dot"}),_c('div',{staticClass:"br__item__card"},[_c('p',{staticClass:"br__item__card__type"},[_vm._v(_vm._s(item.sBillTypeName || '- -'))]),_c('div',{staticClass:"br__item__card__bottom"},[_c('div',[_c('i',[_vm._v(_vm._s(_vm.t('nb.operator'))+":")]),_c('span',[_vm._v(_vm._s(item.sInputUserName || '- -'))])]),_c('div',[_c('i',[_vm._v(_vm._s(_vm.t('nb.position'))+":")]),_c('span',[_vm._v(_vm._s(item.sTerDesc || '- -'))])])])])])}),0)])}
|
1804
1804
|
var staticRenderFns = []
|
1805
1805
|
|
1806
1806
|
|
@@ -1934,6 +1934,11 @@ var date_util = __webpack_require__(2127);
|
|
1934
1934
|
dateFormat: {
|
1935
1935
|
type: String,
|
1936
1936
|
default: ''
|
1937
|
+
},
|
1938
|
+
// 是否显示品牌
|
1939
|
+
showBrand: {
|
1940
|
+
type: Boolean,
|
1941
|
+
default: true
|
1937
1942
|
}
|
1938
1943
|
},
|
1939
1944
|
data() {
|
@@ -1991,7 +1996,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
1991
1996
|
staticRenderFns,
|
1992
1997
|
false,
|
1993
1998
|
null,
|
1994
|
-
"
|
1999
|
+
"43ddfafb",
|
1995
2000
|
null
|
1996
2001
|
|
1997
2002
|
)
|
@@ -19989,7 +19994,7 @@ src.install = function (Vue) {
|
|
19989
19994
|
|
19990
19995
|
/***/ }),
|
19991
19996
|
|
19992
|
-
/***/
|
19997
|
+
/***/ 7567:
|
19993
19998
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
19994
19999
|
|
19995
20000
|
"use strict";
|
@@ -20001,17 +20006,23 @@ __webpack_require__.d(__webpack_exports__, {
|
|
20001
20006
|
"default": function() { return /* binding */ NBNameToggleCard; }
|
20002
20007
|
});
|
20003
20008
|
|
20004
|
-
;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./packages/components/NBNameToggleCard/src/index.vue?vue&type=template&id=
|
20005
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"refNBNameToggleCard",staticClass:"nb-name-toggle-card",class:_vm.getCardClassList},[_c('span',{staticClass:"cate__toggle"},[(_vm.item.details.length && _vm.showToggle)?_c('nb-icon',{attrs:{"icon":_vm.toggle ? 'caret-down' : 'caret-right'},on:{"click":function($event){return _vm.handleToggle(_vm.item)}}}):_vm._e()],1),_c('div',{staticClass:"nb-name-toggle-card__right"},[_c('div',{staticClass:"card__name--row",on:{"click":function($event){$event.stopPropagation();return _vm.handleToggle(_vm.item)}}},[(_vm.showCheckbox)?_c('el-checkbox',{staticClass:"card__checkbox",attrs:{"indeterminate":_vm.item.indeterminate},on:{"change":function($event){return _vm.handleChangeCheckbox($event, _vm.item)}},model:{value:(_vm.item.checked),callback:function ($$v) {_vm.$set(_vm.item, "checked", $$v)},expression:"item.checked"}}):_vm._e(),_c('strong',{staticClass:"card__name"},[_vm._v(_vm._s(_vm.item.sDrugName || '- -'))]),_c('nb-reagent-type',{attrs:{"value":_vm.item.reagentType}}),(_vm.showExpiry)?_c('nb-expiry-icon',{attrs:{"value":_vm.item.expiryState}}):_vm._e(),(_vm.item.iTempDisable === 0)?_c('nb-tag',{attrs:{"type":"warning","fill":""}},[_vm._v(_vm._s(_vm.t('nb.state.temporaryStop')))]):_vm._e(),(_vm.item.isDisable === 0)?_c('nb-tag',{attrs:{"type":"danger"}},[_vm._v(_vm._s(_vm.t('nb.state.disabled')))]):_vm._e(),_vm._t("name-append",null,{"item":_vm.item})],2),_c('div',{staticClass:"card__spec--row",on:{"click":function($event){$event.stopPropagation();return _vm.handleToggle(_vm.item)}}},[_c('div',{staticClass:"card__row-left"},[_c('div',{staticClass:"card__attr card__attr--spec"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.spec_model'))+":")]),_c('span',[_vm._v(_vm._s(_vm.item.sSpecs || '- -')+"/"+_vm._s(_vm.item.sModel || '- -'))])]),(_vm.showBrand)?_c('div',{staticClass:"card__attr card__attr--brand"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.brand'))+":")]),_c('span',[_vm._v(_vm._s(_vm.item.sBrand || '- -'))])]):_vm._e(),(_vm.showPosition)?[(_vm.item.lastTerDesc)?_c('div',{staticClass:"card__attr card__attr--position-move"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.position'))+":")]),_c('span',[_vm._v(_vm._s(_vm.item.lastTerDesc || '--'))]),_c('nb-icon',{attrs:{"icon":"caps-filled"}}),_c('span',[_vm._v(_vm._s(_vm.item.sTerDesc || '--'))])],1):_c('div',{staticClass:"card__attr card__attr--position"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.position'))+":")]),_c('span',[_vm._v(_vm._s(_vm.item.sTerDesc || '--'))])])]:_vm._e(),(_vm.showCoefficient)?_c('div',{staticClass:"card__attr card__attr--num"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.coefficient'))+":")]),_c('span',[_vm._v(_vm._s(_vm.item.iCount || '- -'))])]):_vm._e(),_vm._t("spec-append")],2),_c('div',{staticClass:"card__attr card__attr--count"},[_vm._t("default")],2)]),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.toggle && _vm.showToggle),expression:"toggle && showToggle"}],staticClass:"card__details"},[_vm._t("detail",[_c('el-table',{staticClass:"nb-card-table",attrs:{"auto-right":"","data":_vm.item.details,"row-class-name":_vm.tableRowClassName}},[(_vm.showExpiry)?_c('el-table-column',{attrs:{"class-name":"is-tag","align":"right","width":"240"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('nb-expiry-icon',{attrs:{"value":scope.row.expiryState}})]}}],null,false,3613358482)}):_vm._e(),_vm._t("detail-left"),_c('el-table-column',{attrs:{"prop":"sBarcode","label":_vm.t('nb.barcode'),"width":"420"}}),_c('el-table-column',{attrs:{"prop":"sBatch","label":_vm.t('nb.batch'),"width":"270"}}),_c('el-table-column',{attrs:{"prop":"dExpiry","label":_vm.t('nb.expiry'),"width":"192"}}),_vm._t("detail-right")],2)],{"item":_vm.item})],2)])])}
|
20009
|
+
;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./packages/components/NBNameToggleCard/src/index.vue?vue&type=template&id=0cbc05e1&scoped=true
|
20010
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"refNBNameToggleCard",staticClass:"nb-name-toggle-card",class:_vm.getCardClassList},[_c('span',{staticClass:"cate__toggle"},[(_vm.item.details.length && _vm.showToggle)?_c('nb-icon',{attrs:{"icon":_vm.toggle ? 'caret-down' : 'caret-right'},on:{"click":function($event){return _vm.handleToggle(_vm.item)}}}):_vm._e()],1),_c('div',{staticClass:"nb-name-toggle-card__right"},[_c('div',{staticClass:"card__name--row",on:{"click":function($event){$event.stopPropagation();return _vm.handleToggle(_vm.item)}}},[(_vm.showCheckbox)?_c('el-checkbox',{staticClass:"card__checkbox",attrs:{"indeterminate":_vm.item.indeterminate},on:{"change":function($event){return _vm.handleChangeCheckbox($event, _vm.item)}},model:{value:(_vm.item.checked),callback:function ($$v) {_vm.$set(_vm.item, "checked", $$v)},expression:"item.checked"}}):_vm._e(),_c('strong',{staticClass:"card__name"},[_vm._v(_vm._s(_vm.item.sDrugName || '- -'))]),_c('nb-reagent-type',{attrs:{"value":_vm.item.reagentType}}),(_vm.showExpiry)?_c('nb-expiry-icon',{attrs:{"value":_vm.item.expiryState}}):_vm._e(),(_vm.item.iTempDisable === 0)?_c('nb-tag',{attrs:{"type":"warning","fill":""}},[_vm._v(_vm._s(_vm.t('nb.state.temporaryStop')))]):_vm._e(),(_vm.item.isDisable === 0)?_c('nb-tag',{attrs:{"type":"danger"}},[_vm._v(_vm._s(_vm.t('nb.state.disabled')))]):_vm._e(),_vm._t("name-append",null,{"item":_vm.item})],2),_c('div',{staticClass:"card__spec--row",on:{"click":function($event){$event.stopPropagation();return _vm.handleToggle(_vm.item)}}},[_c('div',{staticClass:"card__row-left",class:_vm.specRowClass},[_c('div',{staticClass:"card__attr card__attr--spec"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.spec_model'))+":")]),_c('span',[_vm._v(_vm._s(_vm.item.sSpecs || '- -')+"/"+_vm._s(_vm.item.sModel || '- -'))])]),(_vm.showBrand)?_c('div',{staticClass:"card__attr card__attr--brand"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.brand'))+":")]),_c('span',[_vm._v(_vm._s(_vm.item.sBrand || '- -'))])]):_vm._e(),(_vm.showPosition)?[(_vm.item.lastTerDesc)?_c('div',{staticClass:"card__attr card__attr--position-move"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.position'))+":")]),_c('span',[_vm._v(_vm._s(_vm.item.lastTerDesc || '--'))]),_c('nb-icon',{attrs:{"icon":"caps-filled"}}),_c('span',[_vm._v(_vm._s(_vm.item.sTerDesc || '--'))])],1):_c('div',{staticClass:"card__attr card__attr--position"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.position'))+":")]),_c('span',[_vm._v(_vm._s(_vm.item.sTerDesc || '--'))])])]:_vm._e(),(_vm.showCoefficient)?_c('div',{staticClass:"card__attr card__attr--num"},[_c('i',[_vm._v(_vm._s(_vm.t('nb.coefficient'))+":")]),_c('span',[_vm._v(_vm._s(_vm.item.iCount || '- -'))])]):_vm._e(),_vm._t("spec-append")],2),_c('div',{staticClass:"card__attr card__attr--count"},[_vm._t("default")],2)]),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.toggle && _vm.showToggle),expression:"toggle && showToggle"}],staticClass:"card__details"},[_vm._t("detail",[_c('el-table',{staticClass:"nb-card-table",attrs:{"auto-right":"","data":_vm.item.details,"row-class-name":_vm.tableRowClassName}},[(_vm.showExpiry)?_c('el-table-column',{attrs:{"class-name":"is-tag","align":"right","width":"240"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('nb-expiry-icon',{attrs:{"value":scope.row.expiryState}})]}}],null,false,3613358482)}):_vm._e(),_vm._t("detail-left"),_c('el-table-column',{attrs:{"prop":"sBarcode","label":_vm.t('nb.barcode'),"width":"420"}}),_c('el-table-column',{attrs:{"prop":"sBatch","label":_vm.t('nb.batch'),"width":"270"}}),_c('el-table-column',{attrs:{"prop":"dExpiry","label":_vm.t('nb.expiry'),"width":"192"}}),_vm._t("detail-right")],2)],{"item":_vm.item})],2)])])}
|
20006
20011
|
var staticRenderFns = []
|
20007
20012
|
|
20008
20013
|
|
20009
20014
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
20010
20015
|
var es_array_push = __webpack_require__(4114);
|
20016
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.constructor.js
|
20017
|
+
var esnext_iterator_constructor = __webpack_require__(8992);
|
20018
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.filter.js
|
20019
|
+
var esnext_iterator_filter = __webpack_require__(4520);
|
20011
20020
|
// EXTERNAL MODULE: ./packages/mixins/index.js
|
20012
20021
|
var mixins = __webpack_require__(869);
|
20013
20022
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-80.use[1]!./node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./packages/components/NBNameToggleCard/src/index.vue?vue&type=script&lang=js
|
20014
20023
|
|
20024
|
+
|
20025
|
+
|
20015
20026
|
//
|
20016
20027
|
//
|
20017
20028
|
//
|
@@ -20203,6 +20214,15 @@ var mixins = __webpack_require__(869);
|
|
20203
20214
|
cls.push('nb-name-toggle-card--has-position');
|
20204
20215
|
}
|
20205
20216
|
return cls;
|
20217
|
+
},
|
20218
|
+
// 规格行样式
|
20219
|
+
specRowClass() {
|
20220
|
+
let cls = [];
|
20221
|
+
|
20222
|
+
// 只显示了一个,如位置、品牌、系数
|
20223
|
+
const hasAttrCount = [Number(this.showPosition), Number(this.showBrand), Number(this.showCoefficient)].filter(v => v === 1).length;
|
20224
|
+
cls.push('card__spec--row--' + (hasAttrCount + 1));
|
20225
|
+
return cls;
|
20206
20226
|
}
|
20207
20227
|
},
|
20208
20228
|
methods: {
|
@@ -20253,7 +20273,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
20253
20273
|
staticRenderFns,
|
20254
20274
|
false,
|
20255
20275
|
null,
|
20256
|
-
"
|
20276
|
+
"0cbc05e1",
|
20257
20277
|
null
|
20258
20278
|
|
20259
20279
|
)
|
@@ -21963,7 +21983,7 @@ src.install = function (Vue) {
|
|
21963
21983
|
|
21964
21984
|
/***/ }),
|
21965
21985
|
|
21966
|
-
/***/
|
21986
|
+
/***/ 5450:
|
21967
21987
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
21968
21988
|
|
21969
21989
|
"use strict";
|
@@ -21975,8 +21995,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
21975
21995
|
"default": function() { return /* binding */ NBSidebarNav; }
|
21976
21996
|
});
|
21977
21997
|
|
21978
|
-
;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./packages/components/NBSidebarNav/src/index.vue?vue&type=template&id=
|
21979
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"refNBSidebarNav",staticClass:"nb-sidebar-nav",class:_vm.getNavClass},_vm._l((_vm.options),function(item,index){return _c('div',{key:index,staticClass:"nav-item",class:_vm.getItemClass(item),on:{"click":function($event){$event.stopPropagation();return _vm.handleChange(item, index)}}},[_vm._t("default",[(_vm.optionProps.icon && item[_vm.optionProps.icon])?_c('nb-icon',{staticClass:"nav-item__icon",attrs:{"icon":item[_vm.optionProps.icon]}}):_vm._e(),(_vm.optionProps.svgIcon && item[_vm.optionProps.svgIcon])?_c('SvgIcon',{staticClass:"nav-item__icon",attrs:{"icon-class":item[_vm.optionProps.svgIcon]}}):_vm._e(),_c('div',{staticClass:"nav-item__text"},[_vm._v(_vm._s(item[_vm.optionProps.label]))]),(item[_vm.optionProps.num] !== null || item[_vm.optionProps.num] !== undefined)?_c('span',{staticClass:"nav-item__num"},[_vm._v(_vm._s(item[_vm.optionProps.num]))]):_vm._e(),(item[_vm.optionProps.badge])?_c('span',{staticClass:"nav-item__badge"},[_vm._v(_vm._s(_vm.getBadge(item)))]):_vm._e()],{"row":item}),(_vm.showArrow)?_c('nb-icon',{staticClass:"nav-item__arrow",attrs:{"icon":"arrow-right"}}):_vm._e()],2)}),0)}
|
21998
|
+
;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./packages/components/NBSidebarNav/src/index.vue?vue&type=template&id=48ba5c6c&scoped=true
|
21999
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"refNBSidebarNav",staticClass:"nb-sidebar-nav",class:_vm.getNavClass},_vm._l((_vm.options),function(item,index){return _c('div',{key:index,staticClass:"nav-item",class:_vm.getItemClass(item),on:{"click":function($event){$event.stopPropagation();return _vm.handleChange(item, index)}}},[_vm._t("default",[(_vm.optionProps.icon && item[_vm.optionProps.icon])?_c('nb-icon',{staticClass:"nav-item__icon",attrs:{"icon":item[_vm.optionProps.icon]}}):_vm._e(),(_vm.optionProps.svgIcon && item[_vm.optionProps.svgIcon])?_c('SvgIcon',{staticClass:"nav-item__icon",attrs:{"icon-class":item[_vm.optionProps.svgIcon]}}):_vm._e(),_c('div',{staticClass:"nav-item__text"},[_vm._v(" "+_vm._s(item[_vm.optionProps.label])),_vm._l((item.tags || []),function(t,i){return _c('nb-tag',{key:i,attrs:{"type":t.type}},[_vm._v(_vm._s(t.label))])})],2),(item[_vm.optionProps.num] !== null || item[_vm.optionProps.num] !== undefined)?_c('span',{staticClass:"nav-item__num"},[_vm._v(_vm._s(item[_vm.optionProps.num]))]):_vm._e(),(item[_vm.optionProps.badge])?_c('span',{staticClass:"nav-item__badge"},[_vm._v(_vm._s(_vm.getBadge(item)))]):_vm._e()],{"row":item}),(_vm.showArrow)?_c('nb-icon',{staticClass:"nav-item__arrow",attrs:{"icon":"arrow-right"}}):_vm._e()],2)}),0)}
|
21980
22000
|
var staticRenderFns = []
|
21981
22001
|
|
21982
22002
|
|
@@ -22011,6 +22031,8 @@ var dom = __webpack_require__(4832);
|
|
22011
22031
|
//
|
22012
22032
|
//
|
22013
22033
|
//
|
22034
|
+
//
|
22035
|
+
//
|
22014
22036
|
|
22015
22037
|
|
22016
22038
|
|
@@ -22140,7 +22162,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
22140
22162
|
staticRenderFns,
|
22141
22163
|
false,
|
22142
22164
|
null,
|
22143
|
-
"
|
22165
|
+
"48ba5c6c",
|
22144
22166
|
null
|
22145
22167
|
|
22146
22168
|
)
|
@@ -26226,7 +26248,7 @@ webpackContext.id = 1603;
|
|
26226
26248
|
var map = {
|
26227
26249
|
"./NBBadge/index.js": 7345,
|
26228
26250
|
"./NBBarcodeCard/index.js": 5892,
|
26229
|
-
"./NBBarcodeReviewDialog/index.js":
|
26251
|
+
"./NBBarcodeReviewDialog/index.js": 3069,
|
26230
26252
|
"./NBBattery/index.js": 3108,
|
26231
26253
|
"./NBCabinetBall/index.js": 1736,
|
26232
26254
|
"./NBCabinetInventoryCarousel/index.js": 1875,
|
@@ -26263,7 +26285,7 @@ var map = {
|
|
26263
26285
|
"./NBMenusGrid/index.js": 2171,
|
26264
26286
|
"./NBMessageDialog/index.js": 2133,
|
26265
26287
|
"./NBNameSpecCard/index.js": 7114,
|
26266
|
-
"./NBNameToggleCard/index.js":
|
26288
|
+
"./NBNameToggleCard/index.js": 7567,
|
26267
26289
|
"./NBNoticeMarquee/index.js": 7108,
|
26268
26290
|
"./NBOutFooterDialog/index.js": 7056,
|
26269
26291
|
"./NBPagination/index.js": 8863,
|
@@ -26275,7 +26297,7 @@ var map = {
|
|
26275
26297
|
"./NBReagentType/index.js": 9960,
|
26276
26298
|
"./NBSearchKeyboard/index.js": 933,
|
26277
26299
|
"./NBSelect/index.js": 5856,
|
26278
|
-
"./NBSidebarNav/index.js":
|
26300
|
+
"./NBSidebarNav/index.js": 5450,
|
26279
26301
|
"./NBSidebarNavGroup/index.js": 415,
|
26280
26302
|
"./NBStatusBar/index.js": 7861,
|
26281
26303
|
"./NBSubHeader/index.js": 9277,
|
@@ -29292,7 +29314,7 @@ var esnext_iterator_constructor = __webpack_require__(8992);
|
|
29292
29314
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.for-each.js
|
29293
29315
|
var esnext_iterator_for_each = __webpack_require__(3949);
|
29294
29316
|
;// ./package.json
|
29295
|
-
var package_namespaceObject = {"rE":"2.0.
|
29317
|
+
var package_namespaceObject = {"rE":"2.0.220"};
|
29296
29318
|
;// ./packages/utils/convert.js
|
29297
29319
|
/**
|
29298
29320
|
* 将大驼峰(camelCase)字符串转换为小写且带有空格分隔的形式(kebab-case)
|