@bytenew/bn-applet-ui 1.1.13 → 1.1.15
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/dist/bn-applet-ui.umd.js
CHANGED
|
@@ -11,7 +11,31 @@
|
|
|
11
11
|
return /******/ (() => { // webpackBootstrap
|
|
12
12
|
/******/ var __webpack_modules__ = ({
|
|
13
13
|
|
|
14
|
-
/***/
|
|
14
|
+
/***/ 9650
|
|
15
|
+
(module, __webpack_exports__, __webpack_require__) {
|
|
16
|
+
|
|
17
|
+
"use strict";
|
|
18
|
+
__webpack_require__.r(__webpack_exports__);
|
|
19
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
21
|
+
/* harmony export */ });
|
|
22
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1601);
|
|
23
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
24
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6314);
|
|
25
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
26
|
+
// Imports
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
30
|
+
// Module
|
|
31
|
+
___CSS_LOADER_EXPORT___.push([module.id, `.bn-fi-tax-auto-complete-pop-container[data-v-6a5eae5b]{padding:6px 0;max-height:330px;overflow-y:auto}.bn-fi-tax-auto-complete-pop-container>ul>li[data-v-6a5eae5b]{padding:6px 16px;border-bottom:1px solid rgba(0,0,0,.15)}.bn-fi-tax-auto-complete-pop-container>ul>li[data-v-6a5eae5b]:hover{background:#f5f7fa}.bn-fi-tax-auto-complete-pop-container>ul>li .bn-fi-tax-auto-complete-list-tax[data-v-6a5eae5b],.bn-fi-tax-auto-complete-pop-container>ul>li .bn-fi-tax-auto-complete-list-title[data-v-6a5eae5b]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;word-break:break-all}.bn-fi-tax-auto-complete-pop-container>ul>li .bn-fi-tax-auto-complete-list-title[data-v-6a5eae5b]{color:#606266;font-weight:500}.bn-fi-tax-auto-complete-pop-container>ul>li .bn-fi-tax-auto-complete-list-tax[data-v-6a5eae5b]{color:#999;margin-top:3px}.bn-fi-tax-auto-complete-pop-container .bn-fi-tax-auto-complete-pop-no-data[data-v-6a5eae5b]{text-align:center;color:#999}.bn-fi-tax-auto-complete-behavior-input.valueMaxSize.el-input--suffix .el-input__inner[data-v-6a5eae5b]{padding-right:80px}.bn-fi-tax-auto-complete-behavior-input.valueMaxSize.el-input--suffix.express .el-input__inner[data-v-6a5eae5b]{padding-right:100px}.wicon.express[data-v-6a5eae5b]{cursor:pointer;font-size:14px}.wicon.express[data-v-6a5eae5b]:hover{color:#2783f2}.bn-fi-tax-auto-complete-orderItem[data-v-6a5eae5b]{display:inline-block;font-size:12px;margin-left:10px;min-width:100px}.bn-fi-tax-auto-complete-title[data-v-6a5eae5b]{line-height:24px!important;margin-bottom:8px;font-size:14px;color:#666}.bn-fi-tax-auto-complete-order[data-v-6a5eae5b]{font-size:12px;line-height:22px}.bn-fi-tax-auto-complete-tips[data-v-6a5eae5b]{line-height:32px;font-size:12px}.bn-fi-tax-auto-complete-select-list[data-v-6a5eae5b]{max-height:360px;overflow-y:auto}.bn-fi-tax-auto-complete-select-item[data-v-6a5eae5b]{padding:10px 15px;cursor:pointer}.bn-fi-tax-auto-complete-select-item[data-v-6a5eae5b]:hover{background:#eee}.bn-fi-tax-auto-complete-select-all[data-v-6a5eae5b]{padding:10px 15px;cursor:pointer}.bn-fi-tax-auto-complete-select-img[data-v-6a5eae5b]{position:relative;height:70px;width:70px;padding:5px}.bn-fi-tax-auto-complete-select-img img[data-v-6a5eae5b]{width:100%;height:100%}.bn-fi-tax-auto-complete-select-info[data-v-6a5eae5b]{position:relative;width:calc(100% - 120px);padding:5px;height:70px}.bn-fi-tax-auto-complete-select-info-title[data-v-6a5eae5b]{height:20px;line-height:16px;font-size:14px;color:#666}.bn-fi-tax-auto-complete-select-info-anther[data-v-6a5eae5b]{line-height:18px;font-size:12px}.bn-fi-tax-auto-complete-select-check[data-v-6a5eae5b]{width:40px;line-height:60px;text-align:center}`, ""]);
|
|
32
|
+
// Exports
|
|
33
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
/***/ },
|
|
37
|
+
|
|
38
|
+
/***/ 1248
|
|
15
39
|
(module, __webpack_exports__, __webpack_require__) {
|
|
16
40
|
|
|
17
41
|
"use strict";
|
|
@@ -182,7 +206,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, `*[data-v-a5f24f64]{box-sizing:border-b
|
|
|
182
206
|
|
|
183
207
|
/***/ },
|
|
184
208
|
|
|
185
|
-
/***/
|
|
209
|
+
/***/ 8573
|
|
186
210
|
(module, __webpack_exports__, __webpack_require__) {
|
|
187
211
|
|
|
188
212
|
"use strict";
|
|
@@ -199,14 +223,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
199
223
|
|
|
200
224
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
201
225
|
// Module
|
|
202
|
-
___CSS_LOADER_EXPORT___.push([module.id, `.minWidth[data-v-
|
|
226
|
+
___CSS_LOADER_EXPORT___.push([module.id, `.minWidth[data-v-1418970c]{min-width:92px}.bnFileView[data-v-1418970c]{width:100%;vertical-align:middle}.bnFileView-showDetail[data-v-1418970c]{width:100%;padding:5px 12px}.bnFileView-body[data-v-1418970c]{display:flex;flex-wrap:wrap;width:100%}.bnFileView-item[data-v-1418970c]{display:flex;position:relative;vertical-align:middle;border-radius:2px;font-size:0;text-align:center;border:1px solid #ebeef5;margin:2px 4px 2px 0;align-items:center;overflow:hidden}.bnFileView-item-img[data-v-1418970c]{display:inherit;position:relative;cursor:pointer}`, ""]);
|
|
203
227
|
// Exports
|
|
204
228
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
205
229
|
|
|
206
230
|
|
|
207
231
|
/***/ },
|
|
208
232
|
|
|
209
|
-
/***/
|
|
233
|
+
/***/ 7431
|
|
210
234
|
(module, __webpack_exports__, __webpack_require__) {
|
|
211
235
|
|
|
212
236
|
"use strict";
|
|
@@ -226,7 +250,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
226
250
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
227
251
|
___CSS_LOADER_EXPORT___.i(_node_modules_css_loader_dist_cjs_js_clonedRuleSet_64_use_1_node_modules_vue_vue_loader_v15_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_clonedRuleSet_64_use_2_node_modules_postcss_loader_dist_cjs_js_clonedRuleSet_64_use_3_font_iconfont_css__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A);
|
|
228
252
|
// Module
|
|
229
|
-
___CSS_LOADER_EXPORT___.push([module.id, `.fileDetail[data-v-
|
|
253
|
+
___CSS_LOADER_EXPORT___.push([module.id, `.fileDetail[data-v-7fcc19c2]{display:flex;width:100%;align-items:center;justify-content:space-between}.fileDetail-info[data-v-7fcc19c2]{flex-grow:1;max-width:calc(100% - 40px);padding-left:8px}.fileDetail-info-title[data-v-7fcc19c2]{width:100%;height:22px;line-height:22px;font-size:12px;text-align:left;cursor:pointer}.fileDetail-info-title.titleHover[data-v-7fcc19c2]:hover{color:#3ba3f8}.fileDetail-btn[data-v-7fcc19c2]{height:22px;line-height:22px;display:flex;flex-wrap:wrap}.fileDetail-btn-item[data-v-7fcc19c2]{display:inline-block;vertical-align:middle;text-align:center;border-radius:50%;cursor:pointer;color:#999;height:22px;line-height:22px}.fileDetail-btn-item[data-v-7fcc19c2]:last-child{margin-left:4px}.ellipsis[data-v-7fcc19c2]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}`, ""]);
|
|
230
254
|
// Exports
|
|
231
255
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
232
256
|
|
|
@@ -744,19 +768,35 @@ module.exports = function (i) {
|
|
|
744
768
|
|
|
745
769
|
/***/ },
|
|
746
770
|
|
|
747
|
-
/***/
|
|
771
|
+
/***/ 2171
|
|
772
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
773
|
+
|
|
774
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
775
|
+
|
|
776
|
+
// load the styles
|
|
777
|
+
var content = __webpack_require__(9650);
|
|
778
|
+
if(content.__esModule) content = content.default;
|
|
779
|
+
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
780
|
+
if(content.locals) module.exports = content.locals;
|
|
781
|
+
// add the styles to the DOM
|
|
782
|
+
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
783
|
+
var update = add("c4229194", content, true, {"sourceMap":false,"shadowMode":false});
|
|
784
|
+
|
|
785
|
+
/***/ },
|
|
786
|
+
|
|
787
|
+
/***/ 1525
|
|
748
788
|
(module, __unused_webpack_exports, __webpack_require__) {
|
|
749
789
|
|
|
750
790
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
751
791
|
|
|
752
792
|
// load the styles
|
|
753
|
-
var content = __webpack_require__(
|
|
793
|
+
var content = __webpack_require__(1248);
|
|
754
794
|
if(content.__esModule) content = content.default;
|
|
755
795
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
756
796
|
if(content.locals) module.exports = content.locals;
|
|
757
797
|
// add the styles to the DOM
|
|
758
798
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
759
|
-
var update = add("
|
|
799
|
+
var update = add("0732293d", content, true, {"sourceMap":false,"shadowMode":false});
|
|
760
800
|
|
|
761
801
|
/***/ },
|
|
762
802
|
|
|
@@ -856,35 +896,35 @@ var update = add("3698972a", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
856
896
|
|
|
857
897
|
/***/ },
|
|
858
898
|
|
|
859
|
-
/***/
|
|
899
|
+
/***/ 4473
|
|
860
900
|
(module, __unused_webpack_exports, __webpack_require__) {
|
|
861
901
|
|
|
862
902
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
863
903
|
|
|
864
904
|
// load the styles
|
|
865
|
-
var content = __webpack_require__(
|
|
905
|
+
var content = __webpack_require__(8573);
|
|
866
906
|
if(content.__esModule) content = content.default;
|
|
867
907
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
868
908
|
if(content.locals) module.exports = content.locals;
|
|
869
909
|
// add the styles to the DOM
|
|
870
910
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
871
|
-
var update = add("
|
|
911
|
+
var update = add("506858d7", content, true, {"sourceMap":false,"shadowMode":false});
|
|
872
912
|
|
|
873
913
|
/***/ },
|
|
874
914
|
|
|
875
|
-
/***/
|
|
915
|
+
/***/ 6419
|
|
876
916
|
(module, __unused_webpack_exports, __webpack_require__) {
|
|
877
917
|
|
|
878
918
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
879
919
|
|
|
880
920
|
// load the styles
|
|
881
|
-
var content = __webpack_require__(
|
|
921
|
+
var content = __webpack_require__(7431);
|
|
882
922
|
if(content.__esModule) content = content.default;
|
|
883
923
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
884
924
|
if(content.locals) module.exports = content.locals;
|
|
885
925
|
// add the styles to the DOM
|
|
886
926
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
887
|
-
var update = add("
|
|
927
|
+
var update = add("4edb6181", content, true, {"sourceMap":false,"shadowMode":false});
|
|
888
928
|
|
|
889
929
|
/***/ },
|
|
890
930
|
|
|
@@ -6914,6 +6954,36 @@ $({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
|
|
|
6914
6954
|
addToUnscopables(FIND_INDEX);
|
|
6915
6955
|
|
|
6916
6956
|
|
|
6957
|
+
/***/ },
|
|
6958
|
+
|
|
6959
|
+
/***/ 113
|
|
6960
|
+
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
6961
|
+
|
|
6962
|
+
"use strict";
|
|
6963
|
+
|
|
6964
|
+
var $ = __webpack_require__(6518);
|
|
6965
|
+
var $find = (__webpack_require__(9213).find);
|
|
6966
|
+
var addToUnscopables = __webpack_require__(6469);
|
|
6967
|
+
|
|
6968
|
+
var FIND = 'find';
|
|
6969
|
+
var SKIPS_HOLES = true;
|
|
6970
|
+
|
|
6971
|
+
// Shouldn't skip holes
|
|
6972
|
+
// eslint-disable-next-line es/no-array-prototype-find -- testing
|
|
6973
|
+
if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });
|
|
6974
|
+
|
|
6975
|
+
// `Array.prototype.find` method
|
|
6976
|
+
// https://tc39.es/ecma262/#sec-array.prototype.find
|
|
6977
|
+
$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
|
|
6978
|
+
find: function find(callbackfn /* , that = undefined */) {
|
|
6979
|
+
return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
6980
|
+
}
|
|
6981
|
+
});
|
|
6982
|
+
|
|
6983
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
6984
|
+
addToUnscopables(FIND);
|
|
6985
|
+
|
|
6986
|
+
|
|
6917
6987
|
/***/ },
|
|
6918
6988
|
|
|
6919
6989
|
/***/ 1629
|
|
@@ -7664,6 +7734,46 @@ $({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {
|
|
|
7664
7734
|
});
|
|
7665
7735
|
|
|
7666
7736
|
|
|
7737
|
+
/***/ },
|
|
7738
|
+
|
|
7739
|
+
/***/ 116
|
|
7740
|
+
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7741
|
+
|
|
7742
|
+
"use strict";
|
|
7743
|
+
|
|
7744
|
+
var $ = __webpack_require__(6518);
|
|
7745
|
+
var call = __webpack_require__(9565);
|
|
7746
|
+
var iterate = __webpack_require__(2652);
|
|
7747
|
+
var aCallable = __webpack_require__(9306);
|
|
7748
|
+
var anObject = __webpack_require__(8551);
|
|
7749
|
+
var getIteratorDirect = __webpack_require__(1767);
|
|
7750
|
+
var iteratorClose = __webpack_require__(9539);
|
|
7751
|
+
var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(4549);
|
|
7752
|
+
|
|
7753
|
+
var findWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('find', TypeError);
|
|
7754
|
+
|
|
7755
|
+
// `Iterator.prototype.find` method
|
|
7756
|
+
// https://tc39.es/ecma262/#sec-iterator.prototype.find
|
|
7757
|
+
$({ target: 'Iterator', proto: true, real: true, forced: findWithoutClosingOnEarlyError }, {
|
|
7758
|
+
find: function find(predicate) {
|
|
7759
|
+
anObject(this);
|
|
7760
|
+
try {
|
|
7761
|
+
aCallable(predicate);
|
|
7762
|
+
} catch (error) {
|
|
7763
|
+
iteratorClose(this, 'throw', error);
|
|
7764
|
+
}
|
|
7765
|
+
|
|
7766
|
+
if (findWithoutClosingOnEarlyError) return call(findWithoutClosingOnEarlyError, this, predicate);
|
|
7767
|
+
|
|
7768
|
+
var record = getIteratorDirect(this);
|
|
7769
|
+
var counter = 0;
|
|
7770
|
+
return iterate(record, function (value, stop) {
|
|
7771
|
+
if (predicate(value, counter++)) return stop(value);
|
|
7772
|
+
}, { IS_RECORD: true, INTERRUPTED: true }).result;
|
|
7773
|
+
}
|
|
7774
|
+
});
|
|
7775
|
+
|
|
7776
|
+
|
|
7667
7777
|
/***/ },
|
|
7668
7778
|
|
|
7669
7779
|
/***/ 7588
|
|
@@ -9815,6 +9925,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
9815
9925
|
BnDateRange: () => (/* reexport */ bnDateRange),
|
|
9816
9926
|
BnDialog: () => (/* reexport */ dialog),
|
|
9817
9927
|
BnDropdown: () => (/* reexport */ bnDropdown),
|
|
9928
|
+
BnFiTaxAutoComplete: () => (/* reexport */ BnFiTaxAutoComplete),
|
|
9818
9929
|
BnFileView: () => (/* reexport */ BnFileView),
|
|
9819
9930
|
BnFunText: () => (/* reexport */ bnFunText),
|
|
9820
9931
|
BnInpNum: () => (/* reexport */ BnInpNum),
|
|
@@ -10291,6 +10402,7 @@ var es_array_for_each = __webpack_require__(1629);
|
|
|
10291
10402
|
var es_array_push = __webpack_require__(4114);
|
|
10292
10403
|
// EXTERNAL MODULE: external "lodash"
|
|
10293
10404
|
var external_lodash_ = __webpack_require__(6773);
|
|
10405
|
+
var external_lodash_default = /*#__PURE__*/__webpack_require__.n(external_lodash_);
|
|
10294
10406
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnAddressParse/index.vue?vue&type=script&lang=js
|
|
10295
10407
|
|
|
10296
10408
|
|
|
@@ -12468,12 +12580,8 @@ var bnDropdown_component = normalizeComponent(
|
|
|
12468
12580
|
)
|
|
12469
12581
|
|
|
12470
12582
|
/* harmony default export */ const bnDropdown = (bnDropdown_component.exports);
|
|
12471
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/BnFileView.vue?vue&type=template&id=
|
|
12472
|
-
|
|
12473
|
-
|
|
12474
|
-
|
|
12475
|
-
|
|
12476
|
-
var BnFileViewvue_type_template_id_974a04e8_scoped_true_render = function render() {
|
|
12583
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/BnFileView.vue?vue&type=template&id=1418970c&scoped=true
|
|
12584
|
+
var BnFileViewvue_type_template_id_1418970c_scoped_true_render = function render() {
|
|
12477
12585
|
var _vm = this,
|
|
12478
12586
|
_c = _vm._self._c;
|
|
12479
12587
|
return _c('div', {
|
|
@@ -12522,7 +12630,7 @@ var BnFileViewvue_type_template_id_974a04e8_scoped_true_render = function render
|
|
|
12522
12630
|
"trigger": "hover",
|
|
12523
12631
|
"disabled": !_vm.isMini
|
|
12524
12632
|
}
|
|
12525
|
-
}, [_vm.pictureType
|
|
12633
|
+
}, [_vm.includesType(_vm.pictureType, file.type) && _vm.imagePreview ? _c('div', [_c('img', {
|
|
12526
12634
|
staticStyle: {
|
|
12527
12635
|
"width": "180px",
|
|
12528
12636
|
"height": "180px"
|
|
@@ -12537,7 +12645,9 @@ var BnFileViewvue_type_template_id_974a04e8_scoped_true_render = function render
|
|
|
12537
12645
|
"isDel": _vm.isDel,
|
|
12538
12646
|
"showSize": _vm.showSize,
|
|
12539
12647
|
"disabled": _vm.disabled,
|
|
12540
|
-
"downType": _vm.downType
|
|
12648
|
+
"downType": _vm.downType,
|
|
12649
|
+
"pictureType": _vm.pictureType,
|
|
12650
|
+
"videoType": _vm.videoType
|
|
12541
12651
|
},
|
|
12542
12652
|
on: {
|
|
12543
12653
|
"lookFile": _vm.lookFile,
|
|
@@ -12558,7 +12668,9 @@ var BnFileViewvue_type_template_id_974a04e8_scoped_true_render = function render
|
|
|
12558
12668
|
"isDel": _vm.isDel,
|
|
12559
12669
|
"showSize": _vm.showSize,
|
|
12560
12670
|
"disabled": _vm.disabled,
|
|
12561
|
-
"downType": _vm.downType
|
|
12671
|
+
"downType": _vm.downType,
|
|
12672
|
+
"pictureType": _vm.pictureType,
|
|
12673
|
+
"videoType": _vm.videoType
|
|
12562
12674
|
},
|
|
12563
12675
|
on: {
|
|
12564
12676
|
"lookFile": _vm.lookFile,
|
|
@@ -12567,9 +12679,7 @@ var BnFileViewvue_type_template_id_974a04e8_scoped_true_render = function render
|
|
|
12567
12679
|
}) : _vm._e()], 1);
|
|
12568
12680
|
}), 0)], 1);
|
|
12569
12681
|
};
|
|
12570
|
-
var
|
|
12571
|
-
|
|
12572
|
-
;// ./packages/BnFileView/BnFileView.vue?vue&type=template&id=974a04e8&scoped=true
|
|
12682
|
+
var BnFileViewvue_type_template_id_1418970c_scoped_true_staticRenderFns = [];
|
|
12573
12683
|
|
|
12574
12684
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.error.to-string.js
|
|
12575
12685
|
var es_error_to_string = __webpack_require__(6918);
|
|
@@ -12659,8 +12769,8 @@ var videoPreview_component = normalizeComponent(
|
|
|
12659
12769
|
)
|
|
12660
12770
|
|
|
12661
12771
|
/* harmony default export */ const videoPreview = (videoPreview_component.exports);
|
|
12662
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/FileDetail.vue?vue&type=template&id=
|
|
12663
|
-
var
|
|
12772
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/FileDetail.vue?vue&type=template&id=7fcc19c2&scoped=true
|
|
12773
|
+
var FileDetailvue_type_template_id_7fcc19c2_scoped_true_render = function render() {
|
|
12664
12774
|
var _vm = this,
|
|
12665
12775
|
_c = _vm._self._c;
|
|
12666
12776
|
return _c('div', {
|
|
@@ -12681,7 +12791,7 @@ var FileDetailvue_type_template_id_d4ef7f3c_scoped_true_render = function render
|
|
|
12681
12791
|
staticClass: "fileDetail-info-title w-text-over"
|
|
12682
12792
|
}, [_vm._v(" " + _vm._s(_vm.returnSizeText(_vm.file.size)) + " ")]) : _vm._e()]), _c('div', {
|
|
12683
12793
|
staticClass: "fileDetail-btn clearFix"
|
|
12684
|
-
}, [_c('div', {
|
|
12794
|
+
}, [_vm.canPreview ? _c('div', {
|
|
12685
12795
|
staticClass: "fileDetail-btn-item w-cursor-pointer w-margin-right4",
|
|
12686
12796
|
on: {
|
|
12687
12797
|
"click": function click($event) {
|
|
@@ -12690,7 +12800,7 @@ var FileDetailvue_type_template_id_d4ef7f3c_scoped_true_render = function render
|
|
|
12690
12800
|
}
|
|
12691
12801
|
}, [_c('span', {
|
|
12692
12802
|
staticClass: "bnUIcon bnUIcon-look w-color-blue w-font13"
|
|
12693
|
-
})]), _vm.file.id != -1 ? _c('div', {
|
|
12803
|
+
})]) : _vm._e(), _vm.file.id != -1 ? _c('div', {
|
|
12694
12804
|
staticClass: "fileDetail-btn-item"
|
|
12695
12805
|
}, [_c('a', {
|
|
12696
12806
|
staticClass: "w-color-blue w-cursor-pointer",
|
|
@@ -12711,7 +12821,7 @@ var FileDetailvue_type_template_id_d4ef7f3c_scoped_true_render = function render
|
|
|
12711
12821
|
staticClass: "bnUIcon bnUIcon-delete w-font-more"
|
|
12712
12822
|
})]) : _vm._e()])]);
|
|
12713
12823
|
};
|
|
12714
|
-
var
|
|
12824
|
+
var FileDetailvue_type_template_id_7fcc19c2_scoped_true_staticRenderFns = [];
|
|
12715
12825
|
|
|
12716
12826
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.to-fixed.js
|
|
12717
12827
|
var es_number_to_fixed = __webpack_require__(9868);
|
|
@@ -12724,6 +12834,7 @@ var es_parse_float = __webpack_require__(8459);
|
|
|
12724
12834
|
|
|
12725
12835
|
|
|
12726
12836
|
|
|
12837
|
+
|
|
12727
12838
|
/* harmony default export */ const FileDetailvue_type_script_lang_js = ({
|
|
12728
12839
|
name: "FileDetail",
|
|
12729
12840
|
props: {
|
|
@@ -12740,17 +12851,26 @@ var es_parse_float = __webpack_require__(8459);
|
|
|
12740
12851
|
downType: {
|
|
12741
12852
|
type: String,
|
|
12742
12853
|
"default": 'id'
|
|
12854
|
+
},
|
|
12855
|
+
pictureType: {
|
|
12856
|
+
type: Array,
|
|
12857
|
+
"default": function _default() {
|
|
12858
|
+
return [];
|
|
12859
|
+
}
|
|
12860
|
+
},
|
|
12861
|
+
videoType: {
|
|
12862
|
+
type: Array,
|
|
12863
|
+
"default": function _default() {
|
|
12864
|
+
return [];
|
|
12865
|
+
}
|
|
12743
12866
|
}
|
|
12744
12867
|
},
|
|
12745
|
-
|
|
12746
|
-
|
|
12747
|
-
|
|
12748
|
-
|
|
12749
|
-
|
|
12750
|
-
|
|
12751
|
-
videoType: [".mp4", ".webm", ".ogg", ".3gp"],
|
|
12752
|
-
pictureType: [".jpg", ".png", ".jpeg", ".img", ".gif", ".bmp", ".jfif"]
|
|
12753
|
-
};
|
|
12868
|
+
computed: {
|
|
12869
|
+
canPreview: function canPreview() {
|
|
12870
|
+
if (!this.file.type) return false;
|
|
12871
|
+
var lowerType = (0,external_lodash_.toLower)(this.file.type);
|
|
12872
|
+
return (0,external_lodash_.includes)((0,external_lodash_.map)(this.pictureType, external_lodash_.toLower), lowerType) || (0,external_lodash_.includes)((0,external_lodash_.map)(this.videoType, external_lodash_.toLower), lowerType);
|
|
12873
|
+
}
|
|
12754
12874
|
},
|
|
12755
12875
|
methods: {
|
|
12756
12876
|
/**
|
|
@@ -12778,9 +12898,9 @@ var es_parse_float = __webpack_require__(8459);
|
|
|
12778
12898
|
});
|
|
12779
12899
|
;// ./packages/BnFileView/FileDetail.vue?vue&type=script&lang=js
|
|
12780
12900
|
/* harmony default export */ const BnFileView_FileDetailvue_type_script_lang_js = (FileDetailvue_type_script_lang_js);
|
|
12781
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/FileDetail.vue?vue&type=style&index=0&id=
|
|
12782
|
-
var
|
|
12783
|
-
;// ./packages/BnFileView/FileDetail.vue?vue&type=style&index=0&id=
|
|
12901
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/FileDetail.vue?vue&type=style&index=0&id=7fcc19c2&prod&lang=scss&scoped=true
|
|
12902
|
+
var FileDetailvue_type_style_index_0_id_7fcc19c2_prod_lang_scss_scoped_true = __webpack_require__(6419);
|
|
12903
|
+
;// ./packages/BnFileView/FileDetail.vue?vue&type=style&index=0&id=7fcc19c2&prod&lang=scss&scoped=true
|
|
12784
12904
|
|
|
12785
12905
|
;// ./packages/BnFileView/FileDetail.vue
|
|
12786
12906
|
|
|
@@ -12793,11 +12913,11 @@ var FileDetailvue_type_style_index_0_id_d4ef7f3c_prod_lang_scss_scoped_true = __
|
|
|
12793
12913
|
|
|
12794
12914
|
var FileDetail_component = normalizeComponent(
|
|
12795
12915
|
BnFileView_FileDetailvue_type_script_lang_js,
|
|
12796
|
-
|
|
12797
|
-
|
|
12916
|
+
FileDetailvue_type_template_id_7fcc19c2_scoped_true_render,
|
|
12917
|
+
FileDetailvue_type_template_id_7fcc19c2_scoped_true_staticRenderFns,
|
|
12798
12918
|
false,
|
|
12799
12919
|
null,
|
|
12800
|
-
"
|
|
12920
|
+
"7fcc19c2",
|
|
12801
12921
|
null
|
|
12802
12922
|
|
|
12803
12923
|
)
|
|
@@ -12840,6 +12960,7 @@ var FileDetail_component = normalizeComponent(
|
|
|
12840
12960
|
|
|
12841
12961
|
|
|
12842
12962
|
|
|
12963
|
+
|
|
12843
12964
|
|
|
12844
12965
|
|
|
12845
12966
|
/* harmony default export */ const BnFileViewvue_type_script_lang_js = ({
|
|
@@ -12927,7 +13048,7 @@ var FileDetail_component = normalizeComponent(
|
|
|
12927
13048
|
var list = [];
|
|
12928
13049
|
if (this.fileList) {
|
|
12929
13050
|
this.fileList.forEach(function (i) {
|
|
12930
|
-
if (_this.pictureType
|
|
13051
|
+
if (_this.includesType(_this.pictureType, i.type)) {
|
|
12931
13052
|
list.push(i.url);
|
|
12932
13053
|
}
|
|
12933
13054
|
});
|
|
@@ -12943,17 +13064,24 @@ var FileDetail_component = normalizeComponent(
|
|
|
12943
13064
|
officeFileTypes: [".xls", ".xlsx", ".ppt", ".pptx", ".doc", ".docx", ".pdf"],
|
|
12944
13065
|
//office文件类型
|
|
12945
13066
|
videoType: [".mp4", ".webm", ".ogg", ".3gp", ".avi", ".mpeg", ".ogv", ".mpg", ".mov", ".rmvb", ".mkv"],
|
|
12946
|
-
pictureType: [".jpg", ".png", ".jpeg", ".img", ".gif", ".bmp", ".jfif", ".webp"]
|
|
13067
|
+
pictureType: [".jpg", ".png", ".jpeg", ".img", ".gif", ".bmp", ".jfif", ".webp", ".csv"]
|
|
12947
13068
|
};
|
|
12948
13069
|
},
|
|
12949
13070
|
methods: {
|
|
13071
|
+
/**
|
|
13072
|
+
* 忽略大小写判断文件类型
|
|
13073
|
+
* */
|
|
13074
|
+
includesType: function includesType(typeList, fileType) {
|
|
13075
|
+
if (!fileType) return false;
|
|
13076
|
+
return (0,external_lodash_.includes)((0,external_lodash_.map)(typeList, external_lodash_.toLower), (0,external_lodash_.toLower)(fileType));
|
|
13077
|
+
},
|
|
12950
13078
|
/**
|
|
12951
13079
|
* 打开文件预览,一般是除了图片、视频、音频这些无法预览的附件类型
|
|
12952
13080
|
* */
|
|
12953
13081
|
lookFile: function lookFile(file) {
|
|
12954
13082
|
var _this2 = this;
|
|
12955
13083
|
// 图片预览
|
|
12956
|
-
if (this.pictureType
|
|
13084
|
+
if (this.includesType(this.pictureType, file.type)) {
|
|
12957
13085
|
this.imgPreviewUrl = file.url;
|
|
12958
13086
|
this.imgPreviewIndex = this.imgPreviewUrlList.indexOf(file.url);
|
|
12959
13087
|
// Element UI 2.x 使用 clickHandler 触发预览
|
|
@@ -12962,7 +13090,7 @@ var FileDetail_component = normalizeComponent(
|
|
|
12962
13090
|
_this2.$refs.imageRef.clickHandler();
|
|
12963
13091
|
}
|
|
12964
13092
|
});
|
|
12965
|
-
} else if (this.videoType
|
|
13093
|
+
} else if (this.includesType(this.videoType, file.type)) {
|
|
12966
13094
|
// 视频播放
|
|
12967
13095
|
this.$refs.videoRef.open(file.url);
|
|
12968
13096
|
} else {
|
|
@@ -12981,7 +13109,7 @@ var FileDetail_component = normalizeComponent(
|
|
|
12981
13109
|
// 默认文件图片
|
|
12982
13110
|
var url = "https://banniu-work.oss-cn-zhangjiakou.aliyuncs.com/125_10030158_854889b020ef5023f3ec547dcb2a12c4.png";
|
|
12983
13111
|
// 图片格式附件直接展示url
|
|
12984
|
-
if (this.pictureType
|
|
13112
|
+
if (this.includesType(this.pictureType, file.type)) {
|
|
12985
13113
|
url = file.url;
|
|
12986
13114
|
// 处理缩略图
|
|
12987
13115
|
if (this.reduceNum) {
|
|
@@ -12997,22 +13125,23 @@ var FileDetail_component = normalizeComponent(
|
|
|
12997
13125
|
}
|
|
12998
13126
|
}
|
|
12999
13127
|
// office类型文件展示对应类型图片
|
|
13000
|
-
if (this.officeFileTypes
|
|
13001
|
-
|
|
13128
|
+
if (this.includesType(this.officeFileTypes, file.type)) {
|
|
13129
|
+
var lowerType = (0,external_lodash_.toLower)(file.type);
|
|
13130
|
+
if (lowerType.includes('xls')) {
|
|
13002
13131
|
url = "https://banniu-work.oss-cn-zhangjiakou.aliyuncs.com/125_10030158_d46630a679d1f3830947095edfd12f41.png";
|
|
13003
13132
|
}
|
|
13004
|
-
if (
|
|
13133
|
+
if (lowerType.includes('ppt')) {
|
|
13005
13134
|
url = "https://banniu-work.oss-cn-zhangjiakou.aliyuncs.com/125_10030158_c6352ba0d7ef5d1f7695347b7d9b0c7e.png";
|
|
13006
13135
|
}
|
|
13007
|
-
if (
|
|
13136
|
+
if (lowerType.includes('doc')) {
|
|
13008
13137
|
url = "https://banniu-work.oss-cn-zhangjiakou.aliyuncs.com/125_10030158_807fa63419a45ef7cf64bc7da8e83ec1.png";
|
|
13009
13138
|
}
|
|
13010
|
-
if (
|
|
13139
|
+
if (lowerType.includes('pdf')) {
|
|
13011
13140
|
url = "https://banniu-work.oss-cn-zhangjiakou.aliyuncs.com/125_10030158_ce5a58150d035a73a9fe14d9ac05e11a.png";
|
|
13012
13141
|
}
|
|
13013
13142
|
}
|
|
13014
13143
|
// 视频类型文件
|
|
13015
|
-
if (this.videoType
|
|
13144
|
+
if (this.includesType(this.videoType, file.type)) {
|
|
13016
13145
|
url = "https://banniu-work.oss-cn-zhangjiakou.aliyuncs.com/125_10030158_36c05615d07ec55449fb1ddda0274787.png";
|
|
13017
13146
|
}
|
|
13018
13147
|
return url;
|
|
@@ -13028,13 +13157,13 @@ var FileDetail_component = normalizeComponent(
|
|
|
13028
13157
|
});
|
|
13029
13158
|
;// ./packages/BnFileView/BnFileView.vue?vue&type=script&lang=js
|
|
13030
13159
|
/* harmony default export */ const BnFileView_BnFileViewvue_type_script_lang_js = (BnFileViewvue_type_script_lang_js);
|
|
13031
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/BnFileView.vue?vue&type=style&index=0&id=
|
|
13032
|
-
var
|
|
13033
|
-
;// ./packages/BnFileView/BnFileView.vue?vue&type=style&index=0&id=
|
|
13160
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/BnFileView.vue?vue&type=style&index=0&id=1418970c&prod&lang=css
|
|
13161
|
+
var BnFileViewvue_type_style_index_0_id_1418970c_prod_lang_css = __webpack_require__(1525);
|
|
13162
|
+
;// ./packages/BnFileView/BnFileView.vue?vue&type=style&index=0&id=1418970c&prod&lang=css
|
|
13034
13163
|
|
|
13035
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/BnFileView.vue?vue&type=style&index=1&id=
|
|
13036
|
-
var
|
|
13037
|
-
;// ./packages/BnFileView/BnFileView.vue?vue&type=style&index=1&id=
|
|
13164
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/BnFileView.vue?vue&type=style&index=1&id=1418970c&prod&lang=scss&scoped=true
|
|
13165
|
+
var BnFileViewvue_type_style_index_1_id_1418970c_prod_lang_scss_scoped_true = __webpack_require__(4473);
|
|
13166
|
+
;// ./packages/BnFileView/BnFileView.vue?vue&type=style&index=1&id=1418970c&prod&lang=scss&scoped=true
|
|
13038
13167
|
|
|
13039
13168
|
;// ./packages/BnFileView/BnFileView.vue
|
|
13040
13169
|
|
|
@@ -13048,11 +13177,11 @@ var BnFileViewvue_type_style_index_1_id_974a04e8_prod_lang_scss_scoped_true = __
|
|
|
13048
13177
|
|
|
13049
13178
|
var BnFileView_component = normalizeComponent(
|
|
13050
13179
|
BnFileView_BnFileViewvue_type_script_lang_js,
|
|
13051
|
-
|
|
13052
|
-
|
|
13180
|
+
BnFileViewvue_type_template_id_1418970c_scoped_true_render,
|
|
13181
|
+
BnFileViewvue_type_template_id_1418970c_scoped_true_staticRenderFns,
|
|
13053
13182
|
false,
|
|
13054
13183
|
null,
|
|
13055
|
-
"
|
|
13184
|
+
"1418970c",
|
|
13056
13185
|
null
|
|
13057
13186
|
|
|
13058
13187
|
)
|
|
@@ -18833,6 +18962,581 @@ var select_component = normalizeComponent(
|
|
|
18833
18962
|
)
|
|
18834
18963
|
|
|
18835
18964
|
/* harmony default export */ const BnSelect_select = (select_component.exports);
|
|
18965
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFiTaxAutoComplete/BnFiTaxAutoComplete.vue?vue&type=template&id=6a5eae5b&scoped=true
|
|
18966
|
+
|
|
18967
|
+
|
|
18968
|
+
var BnFiTaxAutoCompletevue_type_template_id_6a5eae5b_scoped_true_render = function render() {
|
|
18969
|
+
var _vm = this,
|
|
18970
|
+
_c = _vm._self._c;
|
|
18971
|
+
return _c('div', {
|
|
18972
|
+
staticClass: "w-default-wrap bn-fi-tax-auto-complete"
|
|
18973
|
+
}, [_c('div', {
|
|
18974
|
+
staticClass: "w-default-wrap bn-fi-tax-auto-complete-title clearFix",
|
|
18975
|
+
"class": {
|
|
18976
|
+
'w-color-red': _vm.sourceData.error
|
|
18977
|
+
}
|
|
18978
|
+
}, [_vm.batch ? _c('span', {
|
|
18979
|
+
staticClass: "w-float-right wicon icon-delete w-color-red w-cursor-pointer",
|
|
18980
|
+
on: {
|
|
18981
|
+
"click": function click($event) {
|
|
18982
|
+
return _vm.$emit('remove', _vm.sourceData.id);
|
|
18983
|
+
}
|
|
18984
|
+
}
|
|
18985
|
+
}) : _vm._e(), _c('span', {
|
|
18986
|
+
directives: [{
|
|
18987
|
+
name: "show",
|
|
18988
|
+
rawName: "v-show",
|
|
18989
|
+
value: _vm.sourceData.extraInfo && _vm.sourceData.extraInfo.valueEmptyCheck == '1',
|
|
18990
|
+
expression: "sourceData.extraInfo && sourceData.extraInfo.valueEmptyCheck == '1'"
|
|
18991
|
+
}],
|
|
18992
|
+
staticClass: "w-color-red w-font-more"
|
|
18993
|
+
}, [_vm._v("*")]), _vm._v(" " + _vm._s(_vm.sourceData.name) + " ")]), _c('el-popover', {
|
|
18994
|
+
attrs: {
|
|
18995
|
+
"placement": "bottom",
|
|
18996
|
+
"trigger": "manual",
|
|
18997
|
+
"width": _vm.inputWidth
|
|
18998
|
+
},
|
|
18999
|
+
model: {
|
|
19000
|
+
value: _vm.visible,
|
|
19001
|
+
callback: function callback($$v) {
|
|
19002
|
+
_vm.visible = $$v;
|
|
19003
|
+
},
|
|
19004
|
+
expression: "visible"
|
|
19005
|
+
}
|
|
19006
|
+
}, [_c('div', {
|
|
19007
|
+
staticClass: "bn-fi-tax-auto-complete-pop-container"
|
|
19008
|
+
}, [_c('ul', {
|
|
19009
|
+
directives: [{
|
|
19010
|
+
name: "show",
|
|
19011
|
+
rawName: "v-show",
|
|
19012
|
+
value: _vm.options.length > 0,
|
|
19013
|
+
expression: "options.length > 0"
|
|
19014
|
+
}]
|
|
19015
|
+
}, _vm._l(_vm.options, function (item, index) {
|
|
19016
|
+
return _c('li', {
|
|
19017
|
+
key: item.etax_company_name + index,
|
|
19018
|
+
on: {
|
|
19019
|
+
"click": function click($event) {
|
|
19020
|
+
return _vm.selectItem(item);
|
|
19021
|
+
}
|
|
19022
|
+
}
|
|
19023
|
+
}, [_c('p', {
|
|
19024
|
+
staticClass: "bn-fi-tax-auto-complete-list-title"
|
|
19025
|
+
}, [_vm._v(_vm._s(item === null || item === void 0 ? void 0 : item.etax_company_name))]), _c('p', {
|
|
19026
|
+
staticClass: "bn-fi-tax-auto-complete-list-tax"
|
|
19027
|
+
}, [_vm._v("税号:" + _vm._s(item === null || item === void 0 ? void 0 : item.etax_company_shuihao))])]);
|
|
19028
|
+
}), 0), _c('div', {
|
|
19029
|
+
directives: [{
|
|
19030
|
+
name: "show",
|
|
19031
|
+
rawName: "v-show",
|
|
19032
|
+
value: _vm.options.length === 0,
|
|
19033
|
+
expression: "options.length === 0"
|
|
19034
|
+
}],
|
|
19035
|
+
staticClass: "bn-fi-tax-auto-complete-pop-no-data"
|
|
19036
|
+
}, [_c('p', [_vm._v("无匹配数据")])])]), _c('el-input', {
|
|
19037
|
+
ref: _vm.scopeRef,
|
|
19038
|
+
staticClass: "bn-fi-tax-auto-complete-behavior-input",
|
|
19039
|
+
attrs: {
|
|
19040
|
+
"slot": "reference",
|
|
19041
|
+
"placeholder": _vm.sourceData.extraInfo.placeholder
|
|
19042
|
+
},
|
|
19043
|
+
on: {
|
|
19044
|
+
"focus": _vm.handleFocus,
|
|
19045
|
+
"blur": _vm.handleBlurs,
|
|
19046
|
+
"input": _vm.handleInput
|
|
19047
|
+
},
|
|
19048
|
+
slot: "reference",
|
|
19049
|
+
model: {
|
|
19050
|
+
value: _vm.sourceData.value,
|
|
19051
|
+
callback: function callback($$v) {
|
|
19052
|
+
_vm.$set(_vm.sourceData, "value", $$v);
|
|
19053
|
+
},
|
|
19054
|
+
expression: "sourceData.value"
|
|
19055
|
+
}
|
|
19056
|
+
})], 1)], 1);
|
|
19057
|
+
};
|
|
19058
|
+
var BnFiTaxAutoCompletevue_type_template_id_6a5eae5b_scoped_true_staticRenderFns = [];
|
|
19059
|
+
|
|
19060
|
+
;// ./packages/BnFiTaxAutoComplete/BnFiTaxAutoComplete.vue?vue&type=template&id=6a5eae5b&scoped=true
|
|
19061
|
+
|
|
19062
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.find.js
|
|
19063
|
+
var es_array_find = __webpack_require__(113);
|
|
19064
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.find.js
|
|
19065
|
+
var es_iterator_find = __webpack_require__(116);
|
|
19066
|
+
;// ./node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js
|
|
19067
|
+
function _regeneratorDefine(e, r, n, t) {
|
|
19068
|
+
var i = Object.defineProperty;
|
|
19069
|
+
try {
|
|
19070
|
+
i({}, "", {});
|
|
19071
|
+
} catch (e) {
|
|
19072
|
+
i = 0;
|
|
19073
|
+
}
|
|
19074
|
+
_regeneratorDefine = function regeneratorDefine(e, r, n, t) {
|
|
19075
|
+
function o(r, n) {
|
|
19076
|
+
_regeneratorDefine(e, r, function (e) {
|
|
19077
|
+
return this._invoke(r, n, e);
|
|
19078
|
+
});
|
|
19079
|
+
}
|
|
19080
|
+
r ? i ? i(e, r, {
|
|
19081
|
+
value: n,
|
|
19082
|
+
enumerable: !t,
|
|
19083
|
+
configurable: !t,
|
|
19084
|
+
writable: !t
|
|
19085
|
+
}) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2));
|
|
19086
|
+
}, _regeneratorDefine(e, r, n, t);
|
|
19087
|
+
}
|
|
19088
|
+
|
|
19089
|
+
;// ./node_modules/@babel/runtime/helpers/esm/regenerator.js
|
|
19090
|
+
|
|
19091
|
+
function _regenerator() {
|
|
19092
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
19093
|
+
var e,
|
|
19094
|
+
t,
|
|
19095
|
+
r = "function" == typeof Symbol ? Symbol : {},
|
|
19096
|
+
n = r.iterator || "@@iterator",
|
|
19097
|
+
o = r.toStringTag || "@@toStringTag";
|
|
19098
|
+
function i(r, n, o, i) {
|
|
19099
|
+
var c = n && n.prototype instanceof Generator ? n : Generator,
|
|
19100
|
+
u = Object.create(c.prototype);
|
|
19101
|
+
return _regeneratorDefine(u, "_invoke", function (r, n, o) {
|
|
19102
|
+
var i,
|
|
19103
|
+
c,
|
|
19104
|
+
u,
|
|
19105
|
+
f = 0,
|
|
19106
|
+
p = o || [],
|
|
19107
|
+
y = !1,
|
|
19108
|
+
G = {
|
|
19109
|
+
p: 0,
|
|
19110
|
+
n: 0,
|
|
19111
|
+
v: e,
|
|
19112
|
+
a: d,
|
|
19113
|
+
f: d.bind(e, 4),
|
|
19114
|
+
d: function d(t, r) {
|
|
19115
|
+
return i = t, c = 0, u = e, G.n = r, a;
|
|
19116
|
+
}
|
|
19117
|
+
};
|
|
19118
|
+
function d(r, n) {
|
|
19119
|
+
for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) {
|
|
19120
|
+
var o,
|
|
19121
|
+
i = p[t],
|
|
19122
|
+
d = G.p,
|
|
19123
|
+
l = i[2];
|
|
19124
|
+
r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0));
|
|
19125
|
+
}
|
|
19126
|
+
if (o || r > 1) return a;
|
|
19127
|
+
throw y = !0, n;
|
|
19128
|
+
}
|
|
19129
|
+
return function (o, p, l) {
|
|
19130
|
+
if (f > 1) throw TypeError("Generator is already running");
|
|
19131
|
+
for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) {
|
|
19132
|
+
i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u);
|
|
19133
|
+
try {
|
|
19134
|
+
if (f = 2, i) {
|
|
19135
|
+
if (c || (o = "next"), t = i[o]) {
|
|
19136
|
+
if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object");
|
|
19137
|
+
if (!t.done) return t;
|
|
19138
|
+
u = t.value, c < 2 && (c = 0);
|
|
19139
|
+
} else 1 === c && (t = i["return"]) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1);
|
|
19140
|
+
i = e;
|
|
19141
|
+
} else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break;
|
|
19142
|
+
} catch (t) {
|
|
19143
|
+
i = e, c = 1, u = t;
|
|
19144
|
+
} finally {
|
|
19145
|
+
f = 1;
|
|
19146
|
+
}
|
|
19147
|
+
}
|
|
19148
|
+
return {
|
|
19149
|
+
value: t,
|
|
19150
|
+
done: y
|
|
19151
|
+
};
|
|
19152
|
+
};
|
|
19153
|
+
}(r, o, i), !0), u;
|
|
19154
|
+
}
|
|
19155
|
+
var a = {};
|
|
19156
|
+
function Generator() {}
|
|
19157
|
+
function GeneratorFunction() {}
|
|
19158
|
+
function GeneratorFunctionPrototype() {}
|
|
19159
|
+
t = Object.getPrototypeOf;
|
|
19160
|
+
var c = [][n] ? t(t([][n]())) : (_regeneratorDefine(t = {}, n, function () {
|
|
19161
|
+
return this;
|
|
19162
|
+
}), t),
|
|
19163
|
+
u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c);
|
|
19164
|
+
function f(e) {
|
|
19165
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e;
|
|
19166
|
+
}
|
|
19167
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine(u), _regeneratorDefine(u, o, "Generator"), _regeneratorDefine(u, n, function () {
|
|
19168
|
+
return this;
|
|
19169
|
+
}), _regeneratorDefine(u, "toString", function () {
|
|
19170
|
+
return "[object Generator]";
|
|
19171
|
+
}), (_regenerator = function _regenerator() {
|
|
19172
|
+
return {
|
|
19173
|
+
w: i,
|
|
19174
|
+
m: f
|
|
19175
|
+
};
|
|
19176
|
+
})();
|
|
19177
|
+
}
|
|
19178
|
+
|
|
19179
|
+
;// ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
|
19180
|
+
function asyncGeneratorStep(n, t, e, r, o, a, c) {
|
|
19181
|
+
try {
|
|
19182
|
+
var i = n[a](c),
|
|
19183
|
+
u = i.value;
|
|
19184
|
+
} catch (n) {
|
|
19185
|
+
return void e(n);
|
|
19186
|
+
}
|
|
19187
|
+
i.done ? t(u) : Promise.resolve(u).then(r, o);
|
|
19188
|
+
}
|
|
19189
|
+
function _asyncToGenerator(n) {
|
|
19190
|
+
return function () {
|
|
19191
|
+
var t = this,
|
|
19192
|
+
e = arguments;
|
|
19193
|
+
return new Promise(function (r, o) {
|
|
19194
|
+
var a = n.apply(t, e);
|
|
19195
|
+
function _next(n) {
|
|
19196
|
+
asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
|
|
19197
|
+
}
|
|
19198
|
+
function _throw(n) {
|
|
19199
|
+
asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
|
|
19200
|
+
}
|
|
19201
|
+
_next(void 0);
|
|
19202
|
+
});
|
|
19203
|
+
};
|
|
19204
|
+
}
|
|
19205
|
+
|
|
19206
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFiTaxAutoComplete/BnFiTaxAutoComplete.vue?vue&type=script&lang=js
|
|
19207
|
+
|
|
19208
|
+
|
|
19209
|
+
|
|
19210
|
+
|
|
19211
|
+
|
|
19212
|
+
|
|
19213
|
+
|
|
19214
|
+
|
|
19215
|
+
|
|
19216
|
+
|
|
19217
|
+
|
|
19218
|
+
|
|
19219
|
+
|
|
19220
|
+
|
|
19221
|
+
|
|
19222
|
+
|
|
19223
|
+
|
|
19224
|
+
|
|
19225
|
+
|
|
19226
|
+
|
|
19227
|
+
|
|
19228
|
+
|
|
19229
|
+
|
|
19230
|
+
|
|
19231
|
+
|
|
19232
|
+
|
|
19233
|
+
|
|
19234
|
+
|
|
19235
|
+
|
|
19236
|
+
|
|
19237
|
+
|
|
19238
|
+
|
|
19239
|
+
|
|
19240
|
+
/* harmony default export */ const BnFiTaxAutoCompletevue_type_script_lang_js = ({
|
|
19241
|
+
name: "bn-fi-tax-auto-complete",
|
|
19242
|
+
props: {
|
|
19243
|
+
// 请求实例,由业务方传入
|
|
19244
|
+
axios: {
|
|
19245
|
+
type: Function,
|
|
19246
|
+
required: true
|
|
19247
|
+
},
|
|
19248
|
+
//组件data值
|
|
19249
|
+
sourceData: {
|
|
19250
|
+
type: Object
|
|
19251
|
+
},
|
|
19252
|
+
//任务id,当新建时该值为""
|
|
19253
|
+
taskId: {},
|
|
19254
|
+
//Boolean值,是否是在批量操作当中
|
|
19255
|
+
batch: {},
|
|
19256
|
+
//工作表组件列表
|
|
19257
|
+
columnList: {
|
|
19258
|
+
type: Array,
|
|
19259
|
+
"default": function _default() {
|
|
19260
|
+
return [];
|
|
19261
|
+
}
|
|
19262
|
+
},
|
|
19263
|
+
parentLoading: {
|
|
19264
|
+
"default": false
|
|
19265
|
+
},
|
|
19266
|
+
companyId: {
|
|
19267
|
+
type: [Number, String]
|
|
19268
|
+
}
|
|
19269
|
+
},
|
|
19270
|
+
data: function data() {
|
|
19271
|
+
return {
|
|
19272
|
+
visible: false,
|
|
19273
|
+
debouncedValue: "",
|
|
19274
|
+
options: [],
|
|
19275
|
+
loading: false,
|
|
19276
|
+
inputWidth: 200,
|
|
19277
|
+
// 专票旧key
|
|
19278
|
+
specialTaxKeys: []
|
|
19279
|
+
};
|
|
19280
|
+
},
|
|
19281
|
+
mounted: function mounted() {
|
|
19282
|
+
var inputInstance = this.$refs[this.scopeRef];
|
|
19283
|
+
// 检查实例是否存在并且 $el 属性是否存在
|
|
19284
|
+
if (inputInstance && inputInstance.$el) {
|
|
19285
|
+
// 获取 el-input 元素的宽度
|
|
19286
|
+
this.inputWidth = inputInstance.$el.offsetWidth;
|
|
19287
|
+
}
|
|
19288
|
+
},
|
|
19289
|
+
methods: {
|
|
19290
|
+
// 防抖函数
|
|
19291
|
+
handleInput: external_lodash_default().debounce(function () {
|
|
19292
|
+
this.debouncedValue = this.sourceData.value;
|
|
19293
|
+
this.getOptions(this.debouncedValue);
|
|
19294
|
+
}, 200),
|
|
19295
|
+
// 获取下拉列表
|
|
19296
|
+
getOptions: function getOptions(value) {
|
|
19297
|
+
var _this = this;
|
|
19298
|
+
if (!this.axios) return;
|
|
19299
|
+
console.log("column:", JSON.parse(JSON.stringify(this.columnList)));
|
|
19300
|
+
this.loading = true;
|
|
19301
|
+
this.axios({
|
|
19302
|
+
method: "post",
|
|
19303
|
+
url: "".concat(this.adminUrl, "/gateway/paas/rest/etax"),
|
|
19304
|
+
data: {
|
|
19305
|
+
name: value,
|
|
19306
|
+
system: "fi-work"
|
|
19307
|
+
}
|
|
19308
|
+
}).then(function (res) {
|
|
19309
|
+
_this.loading = false;
|
|
19310
|
+
var response = res.data;
|
|
19311
|
+
var _response$data = response.data,
|
|
19312
|
+
data = _response$data === void 0 ? [] : _response$data,
|
|
19313
|
+
code = response.code;
|
|
19314
|
+
if (code === 200) {
|
|
19315
|
+
_this.options = data;
|
|
19316
|
+
} else {
|
|
19317
|
+
_this.options = [];
|
|
19318
|
+
}
|
|
19319
|
+
})["catch"](function () {
|
|
19320
|
+
_this.options = [];
|
|
19321
|
+
_this.loading = false;
|
|
19322
|
+
});
|
|
19323
|
+
},
|
|
19324
|
+
// 抬头信息,地址开户行查询
|
|
19325
|
+
getTaitou: function getTaitou(item) {
|
|
19326
|
+
var _this2 = this;
|
|
19327
|
+
if (!this.axios) return;
|
|
19328
|
+
this.loading = true;
|
|
19329
|
+
this.$emit("update:parentLoading", true);
|
|
19330
|
+
var scopeCompanyName = item.etax_company_name;
|
|
19331
|
+
this.axios({
|
|
19332
|
+
method: "post",
|
|
19333
|
+
url: "".concat(this.adminUrl, "/gateway/paas/rest/taitou"),
|
|
19334
|
+
data: {
|
|
19335
|
+
name: scopeCompanyName,
|
|
19336
|
+
system: "fi-work"
|
|
19337
|
+
}
|
|
19338
|
+
}).then(function (res) {
|
|
19339
|
+
_this2.loading = false;
|
|
19340
|
+
_this2.$emit("update:parentLoading", false);
|
|
19341
|
+
var response = res.data;
|
|
19342
|
+
var _response$data2 = response.data,
|
|
19343
|
+
data = _response$data2 === void 0 ? [] : _response$data2,
|
|
19344
|
+
code = response.code;
|
|
19345
|
+
if (code === 200) {
|
|
19346
|
+
var find = data.find(function (el) {
|
|
19347
|
+
return el.etax_company_name === scopeCompanyName;
|
|
19348
|
+
});
|
|
19349
|
+
var record = find || item;
|
|
19350
|
+
console.log("record:", record);
|
|
19351
|
+
_this2.handleColumnList(record);
|
|
19352
|
+
} else {
|
|
19353
|
+
_this2.handleColumnList(item);
|
|
19354
|
+
}
|
|
19355
|
+
})["catch"](function () {
|
|
19356
|
+
_this2.$emit("update:parentLoading", false);
|
|
19357
|
+
_this2.loading = false;
|
|
19358
|
+
_this2.handleColumnList(item);
|
|
19359
|
+
});
|
|
19360
|
+
},
|
|
19361
|
+
// 输入框获取焦点时
|
|
19362
|
+
handleFocus: function handleFocus(e) {
|
|
19363
|
+
var _e$target;
|
|
19364
|
+
var value = ((_e$target = e.target) === null || _e$target === void 0 ? void 0 : _e$target.value) || "";
|
|
19365
|
+
this.visible = true;
|
|
19366
|
+
if (value && this.options.length === 0) {
|
|
19367
|
+
this.getOptions(value);
|
|
19368
|
+
}
|
|
19369
|
+
},
|
|
19370
|
+
// 失去焦点
|
|
19371
|
+
handleBlurs: function handleBlurs() {
|
|
19372
|
+
this.visible = false;
|
|
19373
|
+
},
|
|
19374
|
+
/**
|
|
19375
|
+
* @name 选择change
|
|
19376
|
+
* @description 当表单中发票类型含有专用发票类型时,手动查询公司抬头
|
|
19377
|
+
* @param {*} record
|
|
19378
|
+
*/
|
|
19379
|
+
selectItem: function selectItem(record) {
|
|
19380
|
+
if (this.isSpecialTax) {
|
|
19381
|
+
this.getTaitou(record);
|
|
19382
|
+
} else {
|
|
19383
|
+
this.handleColumnList(record);
|
|
19384
|
+
}
|
|
19385
|
+
this.getTaxType(record);
|
|
19386
|
+
},
|
|
19387
|
+
// 选择change处理columnList数据
|
|
19388
|
+
handleColumnList: function handleColumnList() {
|
|
19389
|
+
var _this3 = this;
|
|
19390
|
+
var record = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
19391
|
+
var keys = Object.keys(record);
|
|
19392
|
+
this.columnList.forEach(function (item) {
|
|
19393
|
+
var _this3$specialTaxKeys;
|
|
19394
|
+
if ((_this3$specialTaxKeys = _this3.specialTaxKeys) !== null && _this3$specialTaxKeys !== void 0 && _this3$specialTaxKeys.includes(item.key)) {
|
|
19395
|
+
item.value = null;
|
|
19396
|
+
}
|
|
19397
|
+
if (keys.includes(item.key)) {
|
|
19398
|
+
item.value = record[item.key];
|
|
19399
|
+
}
|
|
19400
|
+
});
|
|
19401
|
+
this.specialTaxKeys = keys;
|
|
19402
|
+
},
|
|
19403
|
+
// 宝洁环境,查询纳税人类型
|
|
19404
|
+
getTaxType: function getTaxType(record) {
|
|
19405
|
+
var _this4 = this;
|
|
19406
|
+
return _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
|
|
19407
|
+
var response, _response$data3, responseData, code, _t;
|
|
19408
|
+
return _regenerator().w(function (_context) {
|
|
19409
|
+
while (1) switch (_context.p = _context.n) {
|
|
19410
|
+
case 0:
|
|
19411
|
+
if (_this4.axios) {
|
|
19412
|
+
_context.n = 1;
|
|
19413
|
+
break;
|
|
19414
|
+
}
|
|
19415
|
+
return _context.a(2, false);
|
|
19416
|
+
case 1:
|
|
19417
|
+
if ([262213577572, 125].includes(_this4.companyId)) {
|
|
19418
|
+
_context.n = 2;
|
|
19419
|
+
break;
|
|
19420
|
+
}
|
|
19421
|
+
return _context.a(2, false);
|
|
19422
|
+
case 2:
|
|
19423
|
+
_context.p = 2;
|
|
19424
|
+
_context.n = 3;
|
|
19425
|
+
return _this4.axios({
|
|
19426
|
+
method: "post",
|
|
19427
|
+
url: "".concat(_this4.adminUrl, "/gateway/paas/rest/open/inv/taxpayerType/query"),
|
|
19428
|
+
data: {
|
|
19429
|
+
company_title: record["etax_company_name"],
|
|
19430
|
+
method: "taxpayer_type",
|
|
19431
|
+
system: "fi-work"
|
|
19432
|
+
}
|
|
19433
|
+
});
|
|
19434
|
+
case 3:
|
|
19435
|
+
response = _context.v;
|
|
19436
|
+
_response$data3 = response.data, responseData = _response$data3.data, code = _response$data3.code;
|
|
19437
|
+
if (code === 200) {
|
|
19438
|
+
_this4.columnList.forEach(function (item) {
|
|
19439
|
+
var tit = responseData === "general" ? "一般纳税人" : "小规模纳税人";
|
|
19440
|
+
if (item.name === "纳税人类型") {
|
|
19441
|
+
item.value = item.moduleDefinition.find(function (el) {
|
|
19442
|
+
return el.title === tit;
|
|
19443
|
+
}) || null;
|
|
19444
|
+
}
|
|
19445
|
+
});
|
|
19446
|
+
}
|
|
19447
|
+
_context.n = 5;
|
|
19448
|
+
break;
|
|
19449
|
+
case 4:
|
|
19450
|
+
_context.p = 4;
|
|
19451
|
+
_t = _context.v;
|
|
19452
|
+
console.error("获取纳税人类型失败:", _t);
|
|
19453
|
+
_this4.handleColumnList(record);
|
|
19454
|
+
case 5:
|
|
19455
|
+
return _context.a(2);
|
|
19456
|
+
}
|
|
19457
|
+
}, _callee, null, [[2, 4]]);
|
|
19458
|
+
}))();
|
|
19459
|
+
}
|
|
19460
|
+
},
|
|
19461
|
+
computed: {
|
|
19462
|
+
scopeRef: function scopeRef() {
|
|
19463
|
+
var _this$sourceData;
|
|
19464
|
+
return "myTextContent" + ((_this$sourceData = this.sourceData) === null || _this$sourceData === void 0 ? void 0 : _this$sourceData.id);
|
|
19465
|
+
},
|
|
19466
|
+
adminUrl: function adminUrl() {
|
|
19467
|
+
var path = window.location.host;
|
|
19468
|
+
var url = "https://fi.bytenew.com";
|
|
19469
|
+
if (path.includes("work.")) {
|
|
19470
|
+
// 正式环境
|
|
19471
|
+
url = "https://fi.bytenew.com";
|
|
19472
|
+
} else if (path.includes("newbeta.")) {
|
|
19473
|
+
// 预发环境
|
|
19474
|
+
url = "https://fi-pre.bytenew.com";
|
|
19475
|
+
} else if (path.includes("devbeta.")) {
|
|
19476
|
+
// 开发环境
|
|
19477
|
+
url = "https://fi-dev.bytenew.com";
|
|
19478
|
+
} else if (path.includes("loreal.")) {
|
|
19479
|
+
// 欧莱雅环境
|
|
19480
|
+
url = "https://fi-oly.bytenew.com";
|
|
19481
|
+
} else if (path.includes("pg.")) {
|
|
19482
|
+
// 宝洁
|
|
19483
|
+
url = "https://fi-pg.bytenew.com";
|
|
19484
|
+
}
|
|
19485
|
+
return url;
|
|
19486
|
+
},
|
|
19487
|
+
// 判断当前表单中发票类型是否为专用发票
|
|
19488
|
+
isSpecialTax: function isSpecialTax() {
|
|
19489
|
+
var _bill$value;
|
|
19490
|
+
var bill = this.columnList.find(function (el) {
|
|
19491
|
+
return el.key === "bill_kindradio";
|
|
19492
|
+
});
|
|
19493
|
+
var scopeTitle = bill === null || bill === void 0 || (_bill$value = bill.value) === null || _bill$value === void 0 ? void 0 : _bill$value.title;
|
|
19494
|
+
return scopeTitle === null || scopeTitle === void 0 ? void 0 : scopeTitle.includes("专");
|
|
19495
|
+
}
|
|
19496
|
+
},
|
|
19497
|
+
watch: {
|
|
19498
|
+
isSpecialTax: function isSpecialTax(n, o) {
|
|
19499
|
+
if (n !== o) {
|
|
19500
|
+
if (n && this.sourceData.value) {
|
|
19501
|
+
var find = this.columnList.find(function (el) {
|
|
19502
|
+
return el.key === "etax_company_shuihao";
|
|
19503
|
+
});
|
|
19504
|
+
this.getTaitou({
|
|
19505
|
+
etax_company_name: this.sourceData.value,
|
|
19506
|
+
etax_company_shuihao: find && find.value
|
|
19507
|
+
});
|
|
19508
|
+
}
|
|
19509
|
+
}
|
|
19510
|
+
}
|
|
19511
|
+
}
|
|
19512
|
+
});
|
|
19513
|
+
;// ./packages/BnFiTaxAutoComplete/BnFiTaxAutoComplete.vue?vue&type=script&lang=js
|
|
19514
|
+
/* harmony default export */ const BnFiTaxAutoComplete_BnFiTaxAutoCompletevue_type_script_lang_js = (BnFiTaxAutoCompletevue_type_script_lang_js);
|
|
19515
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFiTaxAutoComplete/BnFiTaxAutoComplete.vue?vue&type=style&index=0&id=6a5eae5b&prod&lang=css&scoped=true
|
|
19516
|
+
var BnFiTaxAutoCompletevue_type_style_index_0_id_6a5eae5b_prod_lang_css_scoped_true = __webpack_require__(2171);
|
|
19517
|
+
;// ./packages/BnFiTaxAutoComplete/BnFiTaxAutoComplete.vue?vue&type=style&index=0&id=6a5eae5b&prod&lang=css&scoped=true
|
|
19518
|
+
|
|
19519
|
+
;// ./packages/BnFiTaxAutoComplete/BnFiTaxAutoComplete.vue
|
|
19520
|
+
|
|
19521
|
+
|
|
19522
|
+
|
|
19523
|
+
;
|
|
19524
|
+
|
|
19525
|
+
|
|
19526
|
+
/* normalize component */
|
|
19527
|
+
|
|
19528
|
+
var BnFiTaxAutoComplete_component = normalizeComponent(
|
|
19529
|
+
BnFiTaxAutoComplete_BnFiTaxAutoCompletevue_type_script_lang_js,
|
|
19530
|
+
BnFiTaxAutoCompletevue_type_template_id_6a5eae5b_scoped_true_render,
|
|
19531
|
+
BnFiTaxAutoCompletevue_type_template_id_6a5eae5b_scoped_true_staticRenderFns,
|
|
19532
|
+
false,
|
|
19533
|
+
null,
|
|
19534
|
+
"6a5eae5b",
|
|
19535
|
+
null
|
|
19536
|
+
|
|
19537
|
+
)
|
|
19538
|
+
|
|
19539
|
+
/* harmony default export */ const BnFiTaxAutoComplete = (BnFiTaxAutoComplete_component.exports);
|
|
18836
19540
|
;// ./install.js
|
|
18837
19541
|
// install.js - BnAppletUi 组件库入口
|
|
18838
19542
|
|
|
@@ -18848,6 +19552,7 @@ var select_component = normalizeComponent(
|
|
|
18848
19552
|
|
|
18849
19553
|
|
|
18850
19554
|
|
|
19555
|
+
|
|
18851
19556
|
const BnAppletUi = {
|
|
18852
19557
|
install: (Vue) => {
|
|
18853
19558
|
Vue.component("BnAddress", BnAddress);
|
|
@@ -18862,6 +19567,7 @@ const BnAppletUi = {
|
|
|
18862
19567
|
Vue.component("BnInputNum", BnInputNum);
|
|
18863
19568
|
Vue.component("BnRuleCondition", bnRuleCondition);
|
|
18864
19569
|
Vue.component("BnSelect", BnSelect_select);
|
|
19570
|
+
Vue.component("BnFiTaxAutoComplete", BnFiTaxAutoComplete);
|
|
18865
19571
|
}
|
|
18866
19572
|
};
|
|
18867
19573
|
|