@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.
|
@@ -1,7 +1,31 @@
|
|
|
1
1
|
/******/ (() => { // webpackBootstrap
|
|
2
2
|
/******/ var __webpack_modules__ = ({
|
|
3
3
|
|
|
4
|
-
/***/
|
|
4
|
+
/***/ 9476
|
|
5
|
+
(module, __webpack_exports__, __webpack_require__) {
|
|
6
|
+
|
|
7
|
+
"use strict";
|
|
8
|
+
__webpack_require__.r(__webpack_exports__);
|
|
9
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
11
|
+
/* harmony export */ });
|
|
12
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1601);
|
|
13
|
+
/* 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__);
|
|
14
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6314);
|
|
15
|
+
/* 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__);
|
|
16
|
+
// Imports
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
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()));
|
|
20
|
+
// Module
|
|
21
|
+
___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}`, ""]);
|
|
22
|
+
// Exports
|
|
23
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
/***/ },
|
|
27
|
+
|
|
28
|
+
/***/ 9118
|
|
5
29
|
(module, __webpack_exports__, __webpack_require__) {
|
|
6
30
|
|
|
7
31
|
"use strict";
|
|
@@ -172,7 +196,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, `*[data-v-a5f24f64]{box-sizing:border-b
|
|
|
172
196
|
|
|
173
197
|
/***/ },
|
|
174
198
|
|
|
175
|
-
/***/
|
|
199
|
+
/***/ 5469
|
|
176
200
|
(module, __webpack_exports__, __webpack_require__) {
|
|
177
201
|
|
|
178
202
|
"use strict";
|
|
@@ -189,14 +213,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
189
213
|
|
|
190
214
|
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()));
|
|
191
215
|
// Module
|
|
192
|
-
___CSS_LOADER_EXPORT___.push([module.id, `.minWidth[data-v-
|
|
216
|
+
___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}`, ""]);
|
|
193
217
|
// Exports
|
|
194
218
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
195
219
|
|
|
196
220
|
|
|
197
221
|
/***/ },
|
|
198
222
|
|
|
199
|
-
/***/
|
|
223
|
+
/***/ 4327
|
|
200
224
|
(module, __webpack_exports__, __webpack_require__) {
|
|
201
225
|
|
|
202
226
|
"use strict";
|
|
@@ -216,7 +240,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
216
240
|
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()));
|
|
217
241
|
___CSS_LOADER_EXPORT___.i(_node_modules_css_loader_dist_cjs_js_clonedRuleSet_22_use_1_node_modules_vue_vue_loader_v15_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_clonedRuleSet_22_use_2_node_modules_postcss_loader_dist_cjs_js_clonedRuleSet_22_use_3_font_iconfont_css__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A);
|
|
218
242
|
// Module
|
|
219
|
-
___CSS_LOADER_EXPORT___.push([module.id, `.fileDetail[data-v-
|
|
243
|
+
___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}`, ""]);
|
|
220
244
|
// Exports
|
|
221
245
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
222
246
|
|
|
@@ -734,19 +758,35 @@ module.exports = function (i) {
|
|
|
734
758
|
|
|
735
759
|
/***/ },
|
|
736
760
|
|
|
737
|
-
/***/
|
|
761
|
+
/***/ 8859
|
|
762
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
763
|
+
|
|
764
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
765
|
+
|
|
766
|
+
// load the styles
|
|
767
|
+
var content = __webpack_require__(9476);
|
|
768
|
+
if(content.__esModule) content = content.default;
|
|
769
|
+
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
770
|
+
if(content.locals) module.exports = content.locals;
|
|
771
|
+
// add the styles to the DOM
|
|
772
|
+
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
773
|
+
var update = add("607e0334", content, true, {"sourceMap":false,"shadowMode":false});
|
|
774
|
+
|
|
775
|
+
/***/ },
|
|
776
|
+
|
|
777
|
+
/***/ 133
|
|
738
778
|
(module, __unused_webpack_exports, __webpack_require__) {
|
|
739
779
|
|
|
740
780
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
741
781
|
|
|
742
782
|
// load the styles
|
|
743
|
-
var content = __webpack_require__(
|
|
783
|
+
var content = __webpack_require__(9118);
|
|
744
784
|
if(content.__esModule) content = content.default;
|
|
745
785
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
746
786
|
if(content.locals) module.exports = content.locals;
|
|
747
787
|
// add the styles to the DOM
|
|
748
788
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
749
|
-
var update = add("
|
|
789
|
+
var update = add("26667202", content, true, {"sourceMap":false,"shadowMode":false});
|
|
750
790
|
|
|
751
791
|
/***/ },
|
|
752
792
|
|
|
@@ -846,35 +886,35 @@ var update = add("3ff3fb27", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
846
886
|
|
|
847
887
|
/***/ },
|
|
848
888
|
|
|
849
|
-
/***/
|
|
889
|
+
/***/ 5859
|
|
850
890
|
(module, __unused_webpack_exports, __webpack_require__) {
|
|
851
891
|
|
|
852
892
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
853
893
|
|
|
854
894
|
// load the styles
|
|
855
|
-
var content = __webpack_require__(
|
|
895
|
+
var content = __webpack_require__(5469);
|
|
856
896
|
if(content.__esModule) content = content.default;
|
|
857
897
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
858
898
|
if(content.locals) module.exports = content.locals;
|
|
859
899
|
// add the styles to the DOM
|
|
860
900
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
861
|
-
var update = add("
|
|
901
|
+
var update = add("1f223cda", content, true, {"sourceMap":false,"shadowMode":false});
|
|
862
902
|
|
|
863
903
|
/***/ },
|
|
864
904
|
|
|
865
|
-
/***/
|
|
905
|
+
/***/ 6981
|
|
866
906
|
(module, __unused_webpack_exports, __webpack_require__) {
|
|
867
907
|
|
|
868
908
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
869
909
|
|
|
870
910
|
// load the styles
|
|
871
|
-
var content = __webpack_require__(
|
|
911
|
+
var content = __webpack_require__(4327);
|
|
872
912
|
if(content.__esModule) content = content.default;
|
|
873
913
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
874
914
|
if(content.locals) module.exports = content.locals;
|
|
875
915
|
// add the styles to the DOM
|
|
876
916
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
877
|
-
var update = add("
|
|
917
|
+
var update = add("223c2b86", content, true, {"sourceMap":false,"shadowMode":false});
|
|
878
918
|
|
|
879
919
|
/***/ },
|
|
880
920
|
|
|
@@ -6896,6 +6936,36 @@ $({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
|
|
|
6896
6936
|
addToUnscopables(FIND_INDEX);
|
|
6897
6937
|
|
|
6898
6938
|
|
|
6939
|
+
/***/ },
|
|
6940
|
+
|
|
6941
|
+
/***/ 113
|
|
6942
|
+
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
6943
|
+
|
|
6944
|
+
"use strict";
|
|
6945
|
+
|
|
6946
|
+
var $ = __webpack_require__(6518);
|
|
6947
|
+
var $find = (__webpack_require__(9213).find);
|
|
6948
|
+
var addToUnscopables = __webpack_require__(6469);
|
|
6949
|
+
|
|
6950
|
+
var FIND = 'find';
|
|
6951
|
+
var SKIPS_HOLES = true;
|
|
6952
|
+
|
|
6953
|
+
// Shouldn't skip holes
|
|
6954
|
+
// eslint-disable-next-line es/no-array-prototype-find -- testing
|
|
6955
|
+
if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });
|
|
6956
|
+
|
|
6957
|
+
// `Array.prototype.find` method
|
|
6958
|
+
// https://tc39.es/ecma262/#sec-array.prototype.find
|
|
6959
|
+
$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
|
|
6960
|
+
find: function find(callbackfn /* , that = undefined */) {
|
|
6961
|
+
return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
6962
|
+
}
|
|
6963
|
+
});
|
|
6964
|
+
|
|
6965
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
6966
|
+
addToUnscopables(FIND);
|
|
6967
|
+
|
|
6968
|
+
|
|
6899
6969
|
/***/ },
|
|
6900
6970
|
|
|
6901
6971
|
/***/ 1629
|
|
@@ -7646,6 +7716,46 @@ $({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {
|
|
|
7646
7716
|
});
|
|
7647
7717
|
|
|
7648
7718
|
|
|
7719
|
+
/***/ },
|
|
7720
|
+
|
|
7721
|
+
/***/ 116
|
|
7722
|
+
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7723
|
+
|
|
7724
|
+
"use strict";
|
|
7725
|
+
|
|
7726
|
+
var $ = __webpack_require__(6518);
|
|
7727
|
+
var call = __webpack_require__(9565);
|
|
7728
|
+
var iterate = __webpack_require__(2652);
|
|
7729
|
+
var aCallable = __webpack_require__(9306);
|
|
7730
|
+
var anObject = __webpack_require__(8551);
|
|
7731
|
+
var getIteratorDirect = __webpack_require__(1767);
|
|
7732
|
+
var iteratorClose = __webpack_require__(9539);
|
|
7733
|
+
var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(4549);
|
|
7734
|
+
|
|
7735
|
+
var findWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('find', TypeError);
|
|
7736
|
+
|
|
7737
|
+
// `Iterator.prototype.find` method
|
|
7738
|
+
// https://tc39.es/ecma262/#sec-iterator.prototype.find
|
|
7739
|
+
$({ target: 'Iterator', proto: true, real: true, forced: findWithoutClosingOnEarlyError }, {
|
|
7740
|
+
find: function find(predicate) {
|
|
7741
|
+
anObject(this);
|
|
7742
|
+
try {
|
|
7743
|
+
aCallable(predicate);
|
|
7744
|
+
} catch (error) {
|
|
7745
|
+
iteratorClose(this, 'throw', error);
|
|
7746
|
+
}
|
|
7747
|
+
|
|
7748
|
+
if (findWithoutClosingOnEarlyError) return call(findWithoutClosingOnEarlyError, this, predicate);
|
|
7749
|
+
|
|
7750
|
+
var record = getIteratorDirect(this);
|
|
7751
|
+
var counter = 0;
|
|
7752
|
+
return iterate(record, function (value, stop) {
|
|
7753
|
+
if (predicate(value, counter++)) return stop(value);
|
|
7754
|
+
}, { IS_RECORD: true, INTERRUPTED: true }).result;
|
|
7755
|
+
}
|
|
7756
|
+
});
|
|
7757
|
+
|
|
7758
|
+
|
|
7649
7759
|
/***/ },
|
|
7650
7760
|
|
|
7651
7761
|
/***/ 7588
|
|
@@ -9797,6 +9907,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
9797
9907
|
BnDateRange: () => (/* reexport */ bnDateRange),
|
|
9798
9908
|
BnDialog: () => (/* reexport */ dialog),
|
|
9799
9909
|
BnDropdown: () => (/* reexport */ bnDropdown),
|
|
9910
|
+
BnFiTaxAutoComplete: () => (/* reexport */ BnFiTaxAutoComplete),
|
|
9800
9911
|
BnFileView: () => (/* reexport */ BnFileView),
|
|
9801
9912
|
BnFunText: () => (/* reexport */ bnFunText),
|
|
9802
9913
|
BnInpNum: () => (/* reexport */ BnInpNum),
|
|
@@ -10273,6 +10384,7 @@ var es_array_for_each = __webpack_require__(1629);
|
|
|
10273
10384
|
var es_array_push = __webpack_require__(4114);
|
|
10274
10385
|
;// external "lodash"
|
|
10275
10386
|
const external_lodash_namespaceObject = require("lodash");
|
|
10387
|
+
var external_lodash_default = /*#__PURE__*/__webpack_require__.n(external_lodash_namespaceObject);
|
|
10276
10388
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
|
10277
10389
|
|
|
10278
10390
|
|
|
@@ -12450,12 +12562,8 @@ var bnDropdown_component = normalizeComponent(
|
|
|
12450
12562
|
)
|
|
12451
12563
|
|
|
12452
12564
|
/* harmony default export */ const bnDropdown = (bnDropdown_component.exports);
|
|
12453
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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=
|
|
12454
|
-
|
|
12455
|
-
|
|
12456
|
-
|
|
12457
|
-
|
|
12458
|
-
var BnFileViewvue_type_template_id_974a04e8_scoped_true_render = function render() {
|
|
12565
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
|
12566
|
+
var BnFileViewvue_type_template_id_1418970c_scoped_true_render = function render() {
|
|
12459
12567
|
var _vm = this,
|
|
12460
12568
|
_c = _vm._self._c;
|
|
12461
12569
|
return _c('div', {
|
|
@@ -12504,7 +12612,7 @@ var BnFileViewvue_type_template_id_974a04e8_scoped_true_render = function render
|
|
|
12504
12612
|
"trigger": "hover",
|
|
12505
12613
|
"disabled": !_vm.isMini
|
|
12506
12614
|
}
|
|
12507
|
-
}, [_vm.pictureType
|
|
12615
|
+
}, [_vm.includesType(_vm.pictureType, file.type) && _vm.imagePreview ? _c('div', [_c('img', {
|
|
12508
12616
|
staticStyle: {
|
|
12509
12617
|
"width": "180px",
|
|
12510
12618
|
"height": "180px"
|
|
@@ -12519,7 +12627,9 @@ var BnFileViewvue_type_template_id_974a04e8_scoped_true_render = function render
|
|
|
12519
12627
|
"isDel": _vm.isDel,
|
|
12520
12628
|
"showSize": _vm.showSize,
|
|
12521
12629
|
"disabled": _vm.disabled,
|
|
12522
|
-
"downType": _vm.downType
|
|
12630
|
+
"downType": _vm.downType,
|
|
12631
|
+
"pictureType": _vm.pictureType,
|
|
12632
|
+
"videoType": _vm.videoType
|
|
12523
12633
|
},
|
|
12524
12634
|
on: {
|
|
12525
12635
|
"lookFile": _vm.lookFile,
|
|
@@ -12540,7 +12650,9 @@ var BnFileViewvue_type_template_id_974a04e8_scoped_true_render = function render
|
|
|
12540
12650
|
"isDel": _vm.isDel,
|
|
12541
12651
|
"showSize": _vm.showSize,
|
|
12542
12652
|
"disabled": _vm.disabled,
|
|
12543
|
-
"downType": _vm.downType
|
|
12653
|
+
"downType": _vm.downType,
|
|
12654
|
+
"pictureType": _vm.pictureType,
|
|
12655
|
+
"videoType": _vm.videoType
|
|
12544
12656
|
},
|
|
12545
12657
|
on: {
|
|
12546
12658
|
"lookFile": _vm.lookFile,
|
|
@@ -12549,9 +12661,7 @@ var BnFileViewvue_type_template_id_974a04e8_scoped_true_render = function render
|
|
|
12549
12661
|
}) : _vm._e()], 1);
|
|
12550
12662
|
}), 0)], 1);
|
|
12551
12663
|
};
|
|
12552
|
-
var
|
|
12553
|
-
|
|
12554
|
-
;// ./packages/BnFileView/BnFileView.vue?vue&type=template&id=974a04e8&scoped=true
|
|
12664
|
+
var BnFileViewvue_type_template_id_1418970c_scoped_true_staticRenderFns = [];
|
|
12555
12665
|
|
|
12556
12666
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.error.to-string.js
|
|
12557
12667
|
var es_error_to_string = __webpack_require__(6918);
|
|
@@ -12641,8 +12751,8 @@ var videoPreview_component = normalizeComponent(
|
|
|
12641
12751
|
)
|
|
12642
12752
|
|
|
12643
12753
|
/* harmony default export */ const videoPreview = (videoPreview_component.exports);
|
|
12644
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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=
|
|
12645
|
-
var
|
|
12754
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
|
12755
|
+
var FileDetailvue_type_template_id_7fcc19c2_scoped_true_render = function render() {
|
|
12646
12756
|
var _vm = this,
|
|
12647
12757
|
_c = _vm._self._c;
|
|
12648
12758
|
return _c('div', {
|
|
@@ -12663,7 +12773,7 @@ var FileDetailvue_type_template_id_d4ef7f3c_scoped_true_render = function render
|
|
|
12663
12773
|
staticClass: "fileDetail-info-title w-text-over"
|
|
12664
12774
|
}, [_vm._v(" " + _vm._s(_vm.returnSizeText(_vm.file.size)) + " ")]) : _vm._e()]), _c('div', {
|
|
12665
12775
|
staticClass: "fileDetail-btn clearFix"
|
|
12666
|
-
}, [_c('div', {
|
|
12776
|
+
}, [_vm.canPreview ? _c('div', {
|
|
12667
12777
|
staticClass: "fileDetail-btn-item w-cursor-pointer w-margin-right4",
|
|
12668
12778
|
on: {
|
|
12669
12779
|
"click": function click($event) {
|
|
@@ -12672,7 +12782,7 @@ var FileDetailvue_type_template_id_d4ef7f3c_scoped_true_render = function render
|
|
|
12672
12782
|
}
|
|
12673
12783
|
}, [_c('span', {
|
|
12674
12784
|
staticClass: "bnUIcon bnUIcon-look w-color-blue w-font13"
|
|
12675
|
-
})]), _vm.file.id != -1 ? _c('div', {
|
|
12785
|
+
})]) : _vm._e(), _vm.file.id != -1 ? _c('div', {
|
|
12676
12786
|
staticClass: "fileDetail-btn-item"
|
|
12677
12787
|
}, [_c('a', {
|
|
12678
12788
|
staticClass: "w-color-blue w-cursor-pointer",
|
|
@@ -12693,7 +12803,7 @@ var FileDetailvue_type_template_id_d4ef7f3c_scoped_true_render = function render
|
|
|
12693
12803
|
staticClass: "bnUIcon bnUIcon-delete w-font-more"
|
|
12694
12804
|
})]) : _vm._e()])]);
|
|
12695
12805
|
};
|
|
12696
|
-
var
|
|
12806
|
+
var FileDetailvue_type_template_id_7fcc19c2_scoped_true_staticRenderFns = [];
|
|
12697
12807
|
|
|
12698
12808
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.to-fixed.js
|
|
12699
12809
|
var es_number_to_fixed = __webpack_require__(9868);
|
|
@@ -12706,6 +12816,7 @@ var es_parse_float = __webpack_require__(8459);
|
|
|
12706
12816
|
|
|
12707
12817
|
|
|
12708
12818
|
|
|
12819
|
+
|
|
12709
12820
|
/* harmony default export */ const FileDetailvue_type_script_lang_js = ({
|
|
12710
12821
|
name: "FileDetail",
|
|
12711
12822
|
props: {
|
|
@@ -12722,17 +12833,26 @@ var es_parse_float = __webpack_require__(8459);
|
|
|
12722
12833
|
downType: {
|
|
12723
12834
|
type: String,
|
|
12724
12835
|
"default": 'id'
|
|
12836
|
+
},
|
|
12837
|
+
pictureType: {
|
|
12838
|
+
type: Array,
|
|
12839
|
+
"default": function _default() {
|
|
12840
|
+
return [];
|
|
12841
|
+
}
|
|
12842
|
+
},
|
|
12843
|
+
videoType: {
|
|
12844
|
+
type: Array,
|
|
12845
|
+
"default": function _default() {
|
|
12846
|
+
return [];
|
|
12847
|
+
}
|
|
12725
12848
|
}
|
|
12726
12849
|
},
|
|
12727
|
-
|
|
12728
|
-
|
|
12729
|
-
|
|
12730
|
-
|
|
12731
|
-
|
|
12732
|
-
|
|
12733
|
-
videoType: [".mp4", ".webm", ".ogg", ".3gp"],
|
|
12734
|
-
pictureType: [".jpg", ".png", ".jpeg", ".img", ".gif", ".bmp", ".jfif"]
|
|
12735
|
-
};
|
|
12850
|
+
computed: {
|
|
12851
|
+
canPreview: function canPreview() {
|
|
12852
|
+
if (!this.file.type) return false;
|
|
12853
|
+
var lowerType = (0,external_lodash_namespaceObject.toLower)(this.file.type);
|
|
12854
|
+
return (0,external_lodash_namespaceObject.includes)((0,external_lodash_namespaceObject.map)(this.pictureType, external_lodash_namespaceObject.toLower), lowerType) || (0,external_lodash_namespaceObject.includes)((0,external_lodash_namespaceObject.map)(this.videoType, external_lodash_namespaceObject.toLower), lowerType);
|
|
12855
|
+
}
|
|
12736
12856
|
},
|
|
12737
12857
|
methods: {
|
|
12738
12858
|
/**
|
|
@@ -12760,9 +12880,9 @@ var es_parse_float = __webpack_require__(8459);
|
|
|
12760
12880
|
});
|
|
12761
12881
|
;// ./packages/BnFileView/FileDetail.vue?vue&type=script&lang=js
|
|
12762
12882
|
/* harmony default export */ const BnFileView_FileDetailvue_type_script_lang_js = (FileDetailvue_type_script_lang_js);
|
|
12763
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/FileDetail.vue?vue&type=style&index=0&id=
|
|
12764
|
-
var
|
|
12765
|
-
;// ./packages/BnFileView/FileDetail.vue?vue&type=style&index=0&id=
|
|
12883
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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
|
|
12884
|
+
var FileDetailvue_type_style_index_0_id_7fcc19c2_prod_lang_scss_scoped_true = __webpack_require__(6981);
|
|
12885
|
+
;// ./packages/BnFileView/FileDetail.vue?vue&type=style&index=0&id=7fcc19c2&prod&lang=scss&scoped=true
|
|
12766
12886
|
|
|
12767
12887
|
;// ./packages/BnFileView/FileDetail.vue
|
|
12768
12888
|
|
|
@@ -12775,11 +12895,11 @@ var FileDetailvue_type_style_index_0_id_d4ef7f3c_prod_lang_scss_scoped_true = __
|
|
|
12775
12895
|
|
|
12776
12896
|
var FileDetail_component = normalizeComponent(
|
|
12777
12897
|
BnFileView_FileDetailvue_type_script_lang_js,
|
|
12778
|
-
|
|
12779
|
-
|
|
12898
|
+
FileDetailvue_type_template_id_7fcc19c2_scoped_true_render,
|
|
12899
|
+
FileDetailvue_type_template_id_7fcc19c2_scoped_true_staticRenderFns,
|
|
12780
12900
|
false,
|
|
12781
12901
|
null,
|
|
12782
|
-
"
|
|
12902
|
+
"7fcc19c2",
|
|
12783
12903
|
null
|
|
12784
12904
|
|
|
12785
12905
|
)
|
|
@@ -12822,6 +12942,7 @@ var FileDetail_component = normalizeComponent(
|
|
|
12822
12942
|
|
|
12823
12943
|
|
|
12824
12944
|
|
|
12945
|
+
|
|
12825
12946
|
|
|
12826
12947
|
|
|
12827
12948
|
/* harmony default export */ const BnFileViewvue_type_script_lang_js = ({
|
|
@@ -12909,7 +13030,7 @@ var FileDetail_component = normalizeComponent(
|
|
|
12909
13030
|
var list = [];
|
|
12910
13031
|
if (this.fileList) {
|
|
12911
13032
|
this.fileList.forEach(function (i) {
|
|
12912
|
-
if (_this.pictureType
|
|
13033
|
+
if (_this.includesType(_this.pictureType, i.type)) {
|
|
12913
13034
|
list.push(i.url);
|
|
12914
13035
|
}
|
|
12915
13036
|
});
|
|
@@ -12925,17 +13046,24 @@ var FileDetail_component = normalizeComponent(
|
|
|
12925
13046
|
officeFileTypes: [".xls", ".xlsx", ".ppt", ".pptx", ".doc", ".docx", ".pdf"],
|
|
12926
13047
|
//office文件类型
|
|
12927
13048
|
videoType: [".mp4", ".webm", ".ogg", ".3gp", ".avi", ".mpeg", ".ogv", ".mpg", ".mov", ".rmvb", ".mkv"],
|
|
12928
|
-
pictureType: [".jpg", ".png", ".jpeg", ".img", ".gif", ".bmp", ".jfif", ".webp"]
|
|
13049
|
+
pictureType: [".jpg", ".png", ".jpeg", ".img", ".gif", ".bmp", ".jfif", ".webp", ".csv"]
|
|
12929
13050
|
};
|
|
12930
13051
|
},
|
|
12931
13052
|
methods: {
|
|
13053
|
+
/**
|
|
13054
|
+
* 忽略大小写判断文件类型
|
|
13055
|
+
* */
|
|
13056
|
+
includesType: function includesType(typeList, fileType) {
|
|
13057
|
+
if (!fileType) return false;
|
|
13058
|
+
return (0,external_lodash_namespaceObject.includes)((0,external_lodash_namespaceObject.map)(typeList, external_lodash_namespaceObject.toLower), (0,external_lodash_namespaceObject.toLower)(fileType));
|
|
13059
|
+
},
|
|
12932
13060
|
/**
|
|
12933
13061
|
* 打开文件预览,一般是除了图片、视频、音频这些无法预览的附件类型
|
|
12934
13062
|
* */
|
|
12935
13063
|
lookFile: function lookFile(file) {
|
|
12936
13064
|
var _this2 = this;
|
|
12937
13065
|
// 图片预览
|
|
12938
|
-
if (this.pictureType
|
|
13066
|
+
if (this.includesType(this.pictureType, file.type)) {
|
|
12939
13067
|
this.imgPreviewUrl = file.url;
|
|
12940
13068
|
this.imgPreviewIndex = this.imgPreviewUrlList.indexOf(file.url);
|
|
12941
13069
|
// Element UI 2.x 使用 clickHandler 触发预览
|
|
@@ -12944,7 +13072,7 @@ var FileDetail_component = normalizeComponent(
|
|
|
12944
13072
|
_this2.$refs.imageRef.clickHandler();
|
|
12945
13073
|
}
|
|
12946
13074
|
});
|
|
12947
|
-
} else if (this.videoType
|
|
13075
|
+
} else if (this.includesType(this.videoType, file.type)) {
|
|
12948
13076
|
// 视频播放
|
|
12949
13077
|
this.$refs.videoRef.open(file.url);
|
|
12950
13078
|
} else {
|
|
@@ -12963,7 +13091,7 @@ var FileDetail_component = normalizeComponent(
|
|
|
12963
13091
|
// 默认文件图片
|
|
12964
13092
|
var url = "https://banniu-work.oss-cn-zhangjiakou.aliyuncs.com/125_10030158_854889b020ef5023f3ec547dcb2a12c4.png";
|
|
12965
13093
|
// 图片格式附件直接展示url
|
|
12966
|
-
if (this.pictureType
|
|
13094
|
+
if (this.includesType(this.pictureType, file.type)) {
|
|
12967
13095
|
url = file.url;
|
|
12968
13096
|
// 处理缩略图
|
|
12969
13097
|
if (this.reduceNum) {
|
|
@@ -12979,22 +13107,23 @@ var FileDetail_component = normalizeComponent(
|
|
|
12979
13107
|
}
|
|
12980
13108
|
}
|
|
12981
13109
|
// office类型文件展示对应类型图片
|
|
12982
|
-
if (this.officeFileTypes
|
|
12983
|
-
|
|
13110
|
+
if (this.includesType(this.officeFileTypes, file.type)) {
|
|
13111
|
+
var lowerType = (0,external_lodash_namespaceObject.toLower)(file.type);
|
|
13112
|
+
if (lowerType.includes('xls')) {
|
|
12984
13113
|
url = "https://banniu-work.oss-cn-zhangjiakou.aliyuncs.com/125_10030158_d46630a679d1f3830947095edfd12f41.png";
|
|
12985
13114
|
}
|
|
12986
|
-
if (
|
|
13115
|
+
if (lowerType.includes('ppt')) {
|
|
12987
13116
|
url = "https://banniu-work.oss-cn-zhangjiakou.aliyuncs.com/125_10030158_c6352ba0d7ef5d1f7695347b7d9b0c7e.png";
|
|
12988
13117
|
}
|
|
12989
|
-
if (
|
|
13118
|
+
if (lowerType.includes('doc')) {
|
|
12990
13119
|
url = "https://banniu-work.oss-cn-zhangjiakou.aliyuncs.com/125_10030158_807fa63419a45ef7cf64bc7da8e83ec1.png";
|
|
12991
13120
|
}
|
|
12992
|
-
if (
|
|
13121
|
+
if (lowerType.includes('pdf')) {
|
|
12993
13122
|
url = "https://banniu-work.oss-cn-zhangjiakou.aliyuncs.com/125_10030158_ce5a58150d035a73a9fe14d9ac05e11a.png";
|
|
12994
13123
|
}
|
|
12995
13124
|
}
|
|
12996
13125
|
// 视频类型文件
|
|
12997
|
-
if (this.videoType
|
|
13126
|
+
if (this.includesType(this.videoType, file.type)) {
|
|
12998
13127
|
url = "https://banniu-work.oss-cn-zhangjiakou.aliyuncs.com/125_10030158_36c05615d07ec55449fb1ddda0274787.png";
|
|
12999
13128
|
}
|
|
13000
13129
|
return url;
|
|
@@ -13010,13 +13139,13 @@ var FileDetail_component = normalizeComponent(
|
|
|
13010
13139
|
});
|
|
13011
13140
|
;// ./packages/BnFileView/BnFileView.vue?vue&type=script&lang=js
|
|
13012
13141
|
/* harmony default export */ const BnFileView_BnFileViewvue_type_script_lang_js = (BnFileViewvue_type_script_lang_js);
|
|
13013
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/BnFileView.vue?vue&type=style&index=0&id=
|
|
13014
|
-
var
|
|
13015
|
-
;// ./packages/BnFileView/BnFileView.vue?vue&type=style&index=0&id=
|
|
13142
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.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
|
|
13143
|
+
var BnFileViewvue_type_style_index_0_id_1418970c_prod_lang_css = __webpack_require__(133);
|
|
13144
|
+
;// ./packages/BnFileView/BnFileView.vue?vue&type=style&index=0&id=1418970c&prod&lang=css
|
|
13016
13145
|
|
|
13017
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/BnFileView.vue?vue&type=style&index=1&id=
|
|
13018
|
-
var
|
|
13019
|
-
;// ./packages/BnFileView/BnFileView.vue?vue&type=style&index=1&id=
|
|
13146
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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
|
|
13147
|
+
var BnFileViewvue_type_style_index_1_id_1418970c_prod_lang_scss_scoped_true = __webpack_require__(5859);
|
|
13148
|
+
;// ./packages/BnFileView/BnFileView.vue?vue&type=style&index=1&id=1418970c&prod&lang=scss&scoped=true
|
|
13020
13149
|
|
|
13021
13150
|
;// ./packages/BnFileView/BnFileView.vue
|
|
13022
13151
|
|
|
@@ -13030,11 +13159,11 @@ var BnFileViewvue_type_style_index_1_id_974a04e8_prod_lang_scss_scoped_true = __
|
|
|
13030
13159
|
|
|
13031
13160
|
var BnFileView_component = normalizeComponent(
|
|
13032
13161
|
BnFileView_BnFileViewvue_type_script_lang_js,
|
|
13033
|
-
|
|
13034
|
-
|
|
13162
|
+
BnFileViewvue_type_template_id_1418970c_scoped_true_render,
|
|
13163
|
+
BnFileViewvue_type_template_id_1418970c_scoped_true_staticRenderFns,
|
|
13035
13164
|
false,
|
|
13036
13165
|
null,
|
|
13037
|
-
"
|
|
13166
|
+
"1418970c",
|
|
13038
13167
|
null
|
|
13039
13168
|
|
|
13040
13169
|
)
|
|
@@ -18815,6 +18944,581 @@ var select_component = normalizeComponent(
|
|
|
18815
18944
|
)
|
|
18816
18945
|
|
|
18817
18946
|
/* harmony default export */ const BnSelect_select = (select_component.exports);
|
|
18947
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
|
18948
|
+
|
|
18949
|
+
|
|
18950
|
+
var BnFiTaxAutoCompletevue_type_template_id_6a5eae5b_scoped_true_render = function render() {
|
|
18951
|
+
var _vm = this,
|
|
18952
|
+
_c = _vm._self._c;
|
|
18953
|
+
return _c('div', {
|
|
18954
|
+
staticClass: "w-default-wrap bn-fi-tax-auto-complete"
|
|
18955
|
+
}, [_c('div', {
|
|
18956
|
+
staticClass: "w-default-wrap bn-fi-tax-auto-complete-title clearFix",
|
|
18957
|
+
"class": {
|
|
18958
|
+
'w-color-red': _vm.sourceData.error
|
|
18959
|
+
}
|
|
18960
|
+
}, [_vm.batch ? _c('span', {
|
|
18961
|
+
staticClass: "w-float-right wicon icon-delete w-color-red w-cursor-pointer",
|
|
18962
|
+
on: {
|
|
18963
|
+
"click": function click($event) {
|
|
18964
|
+
return _vm.$emit('remove', _vm.sourceData.id);
|
|
18965
|
+
}
|
|
18966
|
+
}
|
|
18967
|
+
}) : _vm._e(), _c('span', {
|
|
18968
|
+
directives: [{
|
|
18969
|
+
name: "show",
|
|
18970
|
+
rawName: "v-show",
|
|
18971
|
+
value: _vm.sourceData.extraInfo && _vm.sourceData.extraInfo.valueEmptyCheck == '1',
|
|
18972
|
+
expression: "sourceData.extraInfo && sourceData.extraInfo.valueEmptyCheck == '1'"
|
|
18973
|
+
}],
|
|
18974
|
+
staticClass: "w-color-red w-font-more"
|
|
18975
|
+
}, [_vm._v("*")]), _vm._v(" " + _vm._s(_vm.sourceData.name) + " ")]), _c('el-popover', {
|
|
18976
|
+
attrs: {
|
|
18977
|
+
"placement": "bottom",
|
|
18978
|
+
"trigger": "manual",
|
|
18979
|
+
"width": _vm.inputWidth
|
|
18980
|
+
},
|
|
18981
|
+
model: {
|
|
18982
|
+
value: _vm.visible,
|
|
18983
|
+
callback: function callback($$v) {
|
|
18984
|
+
_vm.visible = $$v;
|
|
18985
|
+
},
|
|
18986
|
+
expression: "visible"
|
|
18987
|
+
}
|
|
18988
|
+
}, [_c('div', {
|
|
18989
|
+
staticClass: "bn-fi-tax-auto-complete-pop-container"
|
|
18990
|
+
}, [_c('ul', {
|
|
18991
|
+
directives: [{
|
|
18992
|
+
name: "show",
|
|
18993
|
+
rawName: "v-show",
|
|
18994
|
+
value: _vm.options.length > 0,
|
|
18995
|
+
expression: "options.length > 0"
|
|
18996
|
+
}]
|
|
18997
|
+
}, _vm._l(_vm.options, function (item, index) {
|
|
18998
|
+
return _c('li', {
|
|
18999
|
+
key: item.etax_company_name + index,
|
|
19000
|
+
on: {
|
|
19001
|
+
"click": function click($event) {
|
|
19002
|
+
return _vm.selectItem(item);
|
|
19003
|
+
}
|
|
19004
|
+
}
|
|
19005
|
+
}, [_c('p', {
|
|
19006
|
+
staticClass: "bn-fi-tax-auto-complete-list-title"
|
|
19007
|
+
}, [_vm._v(_vm._s(item === null || item === void 0 ? void 0 : item.etax_company_name))]), _c('p', {
|
|
19008
|
+
staticClass: "bn-fi-tax-auto-complete-list-tax"
|
|
19009
|
+
}, [_vm._v("税号:" + _vm._s(item === null || item === void 0 ? void 0 : item.etax_company_shuihao))])]);
|
|
19010
|
+
}), 0), _c('div', {
|
|
19011
|
+
directives: [{
|
|
19012
|
+
name: "show",
|
|
19013
|
+
rawName: "v-show",
|
|
19014
|
+
value: _vm.options.length === 0,
|
|
19015
|
+
expression: "options.length === 0"
|
|
19016
|
+
}],
|
|
19017
|
+
staticClass: "bn-fi-tax-auto-complete-pop-no-data"
|
|
19018
|
+
}, [_c('p', [_vm._v("无匹配数据")])])]), _c('el-input', {
|
|
19019
|
+
ref: _vm.scopeRef,
|
|
19020
|
+
staticClass: "bn-fi-tax-auto-complete-behavior-input",
|
|
19021
|
+
attrs: {
|
|
19022
|
+
"slot": "reference",
|
|
19023
|
+
"placeholder": _vm.sourceData.extraInfo.placeholder
|
|
19024
|
+
},
|
|
19025
|
+
on: {
|
|
19026
|
+
"focus": _vm.handleFocus,
|
|
19027
|
+
"blur": _vm.handleBlurs,
|
|
19028
|
+
"input": _vm.handleInput
|
|
19029
|
+
},
|
|
19030
|
+
slot: "reference",
|
|
19031
|
+
model: {
|
|
19032
|
+
value: _vm.sourceData.value,
|
|
19033
|
+
callback: function callback($$v) {
|
|
19034
|
+
_vm.$set(_vm.sourceData, "value", $$v);
|
|
19035
|
+
},
|
|
19036
|
+
expression: "sourceData.value"
|
|
19037
|
+
}
|
|
19038
|
+
})], 1)], 1);
|
|
19039
|
+
};
|
|
19040
|
+
var BnFiTaxAutoCompletevue_type_template_id_6a5eae5b_scoped_true_staticRenderFns = [];
|
|
19041
|
+
|
|
19042
|
+
;// ./packages/BnFiTaxAutoComplete/BnFiTaxAutoComplete.vue?vue&type=template&id=6a5eae5b&scoped=true
|
|
19043
|
+
|
|
19044
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.find.js
|
|
19045
|
+
var es_array_find = __webpack_require__(113);
|
|
19046
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.find.js
|
|
19047
|
+
var es_iterator_find = __webpack_require__(116);
|
|
19048
|
+
;// ./node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js
|
|
19049
|
+
function _regeneratorDefine(e, r, n, t) {
|
|
19050
|
+
var i = Object.defineProperty;
|
|
19051
|
+
try {
|
|
19052
|
+
i({}, "", {});
|
|
19053
|
+
} catch (e) {
|
|
19054
|
+
i = 0;
|
|
19055
|
+
}
|
|
19056
|
+
_regeneratorDefine = function regeneratorDefine(e, r, n, t) {
|
|
19057
|
+
function o(r, n) {
|
|
19058
|
+
_regeneratorDefine(e, r, function (e) {
|
|
19059
|
+
return this._invoke(r, n, e);
|
|
19060
|
+
});
|
|
19061
|
+
}
|
|
19062
|
+
r ? i ? i(e, r, {
|
|
19063
|
+
value: n,
|
|
19064
|
+
enumerable: !t,
|
|
19065
|
+
configurable: !t,
|
|
19066
|
+
writable: !t
|
|
19067
|
+
}) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2));
|
|
19068
|
+
}, _regeneratorDefine(e, r, n, t);
|
|
19069
|
+
}
|
|
19070
|
+
|
|
19071
|
+
;// ./node_modules/@babel/runtime/helpers/esm/regenerator.js
|
|
19072
|
+
|
|
19073
|
+
function _regenerator() {
|
|
19074
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
19075
|
+
var e,
|
|
19076
|
+
t,
|
|
19077
|
+
r = "function" == typeof Symbol ? Symbol : {},
|
|
19078
|
+
n = r.iterator || "@@iterator",
|
|
19079
|
+
o = r.toStringTag || "@@toStringTag";
|
|
19080
|
+
function i(r, n, o, i) {
|
|
19081
|
+
var c = n && n.prototype instanceof Generator ? n : Generator,
|
|
19082
|
+
u = Object.create(c.prototype);
|
|
19083
|
+
return _regeneratorDefine(u, "_invoke", function (r, n, o) {
|
|
19084
|
+
var i,
|
|
19085
|
+
c,
|
|
19086
|
+
u,
|
|
19087
|
+
f = 0,
|
|
19088
|
+
p = o || [],
|
|
19089
|
+
y = !1,
|
|
19090
|
+
G = {
|
|
19091
|
+
p: 0,
|
|
19092
|
+
n: 0,
|
|
19093
|
+
v: e,
|
|
19094
|
+
a: d,
|
|
19095
|
+
f: d.bind(e, 4),
|
|
19096
|
+
d: function d(t, r) {
|
|
19097
|
+
return i = t, c = 0, u = e, G.n = r, a;
|
|
19098
|
+
}
|
|
19099
|
+
};
|
|
19100
|
+
function d(r, n) {
|
|
19101
|
+
for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) {
|
|
19102
|
+
var o,
|
|
19103
|
+
i = p[t],
|
|
19104
|
+
d = G.p,
|
|
19105
|
+
l = i[2];
|
|
19106
|
+
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));
|
|
19107
|
+
}
|
|
19108
|
+
if (o || r > 1) return a;
|
|
19109
|
+
throw y = !0, n;
|
|
19110
|
+
}
|
|
19111
|
+
return function (o, p, l) {
|
|
19112
|
+
if (f > 1) throw TypeError("Generator is already running");
|
|
19113
|
+
for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) {
|
|
19114
|
+
i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u);
|
|
19115
|
+
try {
|
|
19116
|
+
if (f = 2, i) {
|
|
19117
|
+
if (c || (o = "next"), t = i[o]) {
|
|
19118
|
+
if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object");
|
|
19119
|
+
if (!t.done) return t;
|
|
19120
|
+
u = t.value, c < 2 && (c = 0);
|
|
19121
|
+
} else 1 === c && (t = i["return"]) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1);
|
|
19122
|
+
i = e;
|
|
19123
|
+
} else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break;
|
|
19124
|
+
} catch (t) {
|
|
19125
|
+
i = e, c = 1, u = t;
|
|
19126
|
+
} finally {
|
|
19127
|
+
f = 1;
|
|
19128
|
+
}
|
|
19129
|
+
}
|
|
19130
|
+
return {
|
|
19131
|
+
value: t,
|
|
19132
|
+
done: y
|
|
19133
|
+
};
|
|
19134
|
+
};
|
|
19135
|
+
}(r, o, i), !0), u;
|
|
19136
|
+
}
|
|
19137
|
+
var a = {};
|
|
19138
|
+
function Generator() {}
|
|
19139
|
+
function GeneratorFunction() {}
|
|
19140
|
+
function GeneratorFunctionPrototype() {}
|
|
19141
|
+
t = Object.getPrototypeOf;
|
|
19142
|
+
var c = [][n] ? t(t([][n]())) : (_regeneratorDefine(t = {}, n, function () {
|
|
19143
|
+
return this;
|
|
19144
|
+
}), t),
|
|
19145
|
+
u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c);
|
|
19146
|
+
function f(e) {
|
|
19147
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e;
|
|
19148
|
+
}
|
|
19149
|
+
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 () {
|
|
19150
|
+
return this;
|
|
19151
|
+
}), _regeneratorDefine(u, "toString", function () {
|
|
19152
|
+
return "[object Generator]";
|
|
19153
|
+
}), (_regenerator = function _regenerator() {
|
|
19154
|
+
return {
|
|
19155
|
+
w: i,
|
|
19156
|
+
m: f
|
|
19157
|
+
};
|
|
19158
|
+
})();
|
|
19159
|
+
}
|
|
19160
|
+
|
|
19161
|
+
;// ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
|
19162
|
+
function asyncGeneratorStep(n, t, e, r, o, a, c) {
|
|
19163
|
+
try {
|
|
19164
|
+
var i = n[a](c),
|
|
19165
|
+
u = i.value;
|
|
19166
|
+
} catch (n) {
|
|
19167
|
+
return void e(n);
|
|
19168
|
+
}
|
|
19169
|
+
i.done ? t(u) : Promise.resolve(u).then(r, o);
|
|
19170
|
+
}
|
|
19171
|
+
function _asyncToGenerator(n) {
|
|
19172
|
+
return function () {
|
|
19173
|
+
var t = this,
|
|
19174
|
+
e = arguments;
|
|
19175
|
+
return new Promise(function (r, o) {
|
|
19176
|
+
var a = n.apply(t, e);
|
|
19177
|
+
function _next(n) {
|
|
19178
|
+
asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
|
|
19179
|
+
}
|
|
19180
|
+
function _throw(n) {
|
|
19181
|
+
asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
|
|
19182
|
+
}
|
|
19183
|
+
_next(void 0);
|
|
19184
|
+
});
|
|
19185
|
+
};
|
|
19186
|
+
}
|
|
19187
|
+
|
|
19188
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
|
19189
|
+
|
|
19190
|
+
|
|
19191
|
+
|
|
19192
|
+
|
|
19193
|
+
|
|
19194
|
+
|
|
19195
|
+
|
|
19196
|
+
|
|
19197
|
+
|
|
19198
|
+
|
|
19199
|
+
|
|
19200
|
+
|
|
19201
|
+
|
|
19202
|
+
|
|
19203
|
+
|
|
19204
|
+
|
|
19205
|
+
|
|
19206
|
+
|
|
19207
|
+
|
|
19208
|
+
|
|
19209
|
+
|
|
19210
|
+
|
|
19211
|
+
|
|
19212
|
+
|
|
19213
|
+
|
|
19214
|
+
|
|
19215
|
+
|
|
19216
|
+
|
|
19217
|
+
|
|
19218
|
+
|
|
19219
|
+
|
|
19220
|
+
|
|
19221
|
+
|
|
19222
|
+
/* harmony default export */ const BnFiTaxAutoCompletevue_type_script_lang_js = ({
|
|
19223
|
+
name: "bn-fi-tax-auto-complete",
|
|
19224
|
+
props: {
|
|
19225
|
+
// 请求实例,由业务方传入
|
|
19226
|
+
axios: {
|
|
19227
|
+
type: Function,
|
|
19228
|
+
required: true
|
|
19229
|
+
},
|
|
19230
|
+
//组件data值
|
|
19231
|
+
sourceData: {
|
|
19232
|
+
type: Object
|
|
19233
|
+
},
|
|
19234
|
+
//任务id,当新建时该值为""
|
|
19235
|
+
taskId: {},
|
|
19236
|
+
//Boolean值,是否是在批量操作当中
|
|
19237
|
+
batch: {},
|
|
19238
|
+
//工作表组件列表
|
|
19239
|
+
columnList: {
|
|
19240
|
+
type: Array,
|
|
19241
|
+
"default": function _default() {
|
|
19242
|
+
return [];
|
|
19243
|
+
}
|
|
19244
|
+
},
|
|
19245
|
+
parentLoading: {
|
|
19246
|
+
"default": false
|
|
19247
|
+
},
|
|
19248
|
+
companyId: {
|
|
19249
|
+
type: [Number, String]
|
|
19250
|
+
}
|
|
19251
|
+
},
|
|
19252
|
+
data: function data() {
|
|
19253
|
+
return {
|
|
19254
|
+
visible: false,
|
|
19255
|
+
debouncedValue: "",
|
|
19256
|
+
options: [],
|
|
19257
|
+
loading: false,
|
|
19258
|
+
inputWidth: 200,
|
|
19259
|
+
// 专票旧key
|
|
19260
|
+
specialTaxKeys: []
|
|
19261
|
+
};
|
|
19262
|
+
},
|
|
19263
|
+
mounted: function mounted() {
|
|
19264
|
+
var inputInstance = this.$refs[this.scopeRef];
|
|
19265
|
+
// 检查实例是否存在并且 $el 属性是否存在
|
|
19266
|
+
if (inputInstance && inputInstance.$el) {
|
|
19267
|
+
// 获取 el-input 元素的宽度
|
|
19268
|
+
this.inputWidth = inputInstance.$el.offsetWidth;
|
|
19269
|
+
}
|
|
19270
|
+
},
|
|
19271
|
+
methods: {
|
|
19272
|
+
// 防抖函数
|
|
19273
|
+
handleInput: external_lodash_default().debounce(function () {
|
|
19274
|
+
this.debouncedValue = this.sourceData.value;
|
|
19275
|
+
this.getOptions(this.debouncedValue);
|
|
19276
|
+
}, 200),
|
|
19277
|
+
// 获取下拉列表
|
|
19278
|
+
getOptions: function getOptions(value) {
|
|
19279
|
+
var _this = this;
|
|
19280
|
+
if (!this.axios) return;
|
|
19281
|
+
console.log("column:", JSON.parse(JSON.stringify(this.columnList)));
|
|
19282
|
+
this.loading = true;
|
|
19283
|
+
this.axios({
|
|
19284
|
+
method: "post",
|
|
19285
|
+
url: "".concat(this.adminUrl, "/gateway/paas/rest/etax"),
|
|
19286
|
+
data: {
|
|
19287
|
+
name: value,
|
|
19288
|
+
system: "fi-work"
|
|
19289
|
+
}
|
|
19290
|
+
}).then(function (res) {
|
|
19291
|
+
_this.loading = false;
|
|
19292
|
+
var response = res.data;
|
|
19293
|
+
var _response$data = response.data,
|
|
19294
|
+
data = _response$data === void 0 ? [] : _response$data,
|
|
19295
|
+
code = response.code;
|
|
19296
|
+
if (code === 200) {
|
|
19297
|
+
_this.options = data;
|
|
19298
|
+
} else {
|
|
19299
|
+
_this.options = [];
|
|
19300
|
+
}
|
|
19301
|
+
})["catch"](function () {
|
|
19302
|
+
_this.options = [];
|
|
19303
|
+
_this.loading = false;
|
|
19304
|
+
});
|
|
19305
|
+
},
|
|
19306
|
+
// 抬头信息,地址开户行查询
|
|
19307
|
+
getTaitou: function getTaitou(item) {
|
|
19308
|
+
var _this2 = this;
|
|
19309
|
+
if (!this.axios) return;
|
|
19310
|
+
this.loading = true;
|
|
19311
|
+
this.$emit("update:parentLoading", true);
|
|
19312
|
+
var scopeCompanyName = item.etax_company_name;
|
|
19313
|
+
this.axios({
|
|
19314
|
+
method: "post",
|
|
19315
|
+
url: "".concat(this.adminUrl, "/gateway/paas/rest/taitou"),
|
|
19316
|
+
data: {
|
|
19317
|
+
name: scopeCompanyName,
|
|
19318
|
+
system: "fi-work"
|
|
19319
|
+
}
|
|
19320
|
+
}).then(function (res) {
|
|
19321
|
+
_this2.loading = false;
|
|
19322
|
+
_this2.$emit("update:parentLoading", false);
|
|
19323
|
+
var response = res.data;
|
|
19324
|
+
var _response$data2 = response.data,
|
|
19325
|
+
data = _response$data2 === void 0 ? [] : _response$data2,
|
|
19326
|
+
code = response.code;
|
|
19327
|
+
if (code === 200) {
|
|
19328
|
+
var find = data.find(function (el) {
|
|
19329
|
+
return el.etax_company_name === scopeCompanyName;
|
|
19330
|
+
});
|
|
19331
|
+
var record = find || item;
|
|
19332
|
+
console.log("record:", record);
|
|
19333
|
+
_this2.handleColumnList(record);
|
|
19334
|
+
} else {
|
|
19335
|
+
_this2.handleColumnList(item);
|
|
19336
|
+
}
|
|
19337
|
+
})["catch"](function () {
|
|
19338
|
+
_this2.$emit("update:parentLoading", false);
|
|
19339
|
+
_this2.loading = false;
|
|
19340
|
+
_this2.handleColumnList(item);
|
|
19341
|
+
});
|
|
19342
|
+
},
|
|
19343
|
+
// 输入框获取焦点时
|
|
19344
|
+
handleFocus: function handleFocus(e) {
|
|
19345
|
+
var _e$target;
|
|
19346
|
+
var value = ((_e$target = e.target) === null || _e$target === void 0 ? void 0 : _e$target.value) || "";
|
|
19347
|
+
this.visible = true;
|
|
19348
|
+
if (value && this.options.length === 0) {
|
|
19349
|
+
this.getOptions(value);
|
|
19350
|
+
}
|
|
19351
|
+
},
|
|
19352
|
+
// 失去焦点
|
|
19353
|
+
handleBlurs: function handleBlurs() {
|
|
19354
|
+
this.visible = false;
|
|
19355
|
+
},
|
|
19356
|
+
/**
|
|
19357
|
+
* @name 选择change
|
|
19358
|
+
* @description 当表单中发票类型含有专用发票类型时,手动查询公司抬头
|
|
19359
|
+
* @param {*} record
|
|
19360
|
+
*/
|
|
19361
|
+
selectItem: function selectItem(record) {
|
|
19362
|
+
if (this.isSpecialTax) {
|
|
19363
|
+
this.getTaitou(record);
|
|
19364
|
+
} else {
|
|
19365
|
+
this.handleColumnList(record);
|
|
19366
|
+
}
|
|
19367
|
+
this.getTaxType(record);
|
|
19368
|
+
},
|
|
19369
|
+
// 选择change处理columnList数据
|
|
19370
|
+
handleColumnList: function handleColumnList() {
|
|
19371
|
+
var _this3 = this;
|
|
19372
|
+
var record = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
19373
|
+
var keys = Object.keys(record);
|
|
19374
|
+
this.columnList.forEach(function (item) {
|
|
19375
|
+
var _this3$specialTaxKeys;
|
|
19376
|
+
if ((_this3$specialTaxKeys = _this3.specialTaxKeys) !== null && _this3$specialTaxKeys !== void 0 && _this3$specialTaxKeys.includes(item.key)) {
|
|
19377
|
+
item.value = null;
|
|
19378
|
+
}
|
|
19379
|
+
if (keys.includes(item.key)) {
|
|
19380
|
+
item.value = record[item.key];
|
|
19381
|
+
}
|
|
19382
|
+
});
|
|
19383
|
+
this.specialTaxKeys = keys;
|
|
19384
|
+
},
|
|
19385
|
+
// 宝洁环境,查询纳税人类型
|
|
19386
|
+
getTaxType: function getTaxType(record) {
|
|
19387
|
+
var _this4 = this;
|
|
19388
|
+
return _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
|
|
19389
|
+
var response, _response$data3, responseData, code, _t;
|
|
19390
|
+
return _regenerator().w(function (_context) {
|
|
19391
|
+
while (1) switch (_context.p = _context.n) {
|
|
19392
|
+
case 0:
|
|
19393
|
+
if (_this4.axios) {
|
|
19394
|
+
_context.n = 1;
|
|
19395
|
+
break;
|
|
19396
|
+
}
|
|
19397
|
+
return _context.a(2, false);
|
|
19398
|
+
case 1:
|
|
19399
|
+
if ([262213577572, 125].includes(_this4.companyId)) {
|
|
19400
|
+
_context.n = 2;
|
|
19401
|
+
break;
|
|
19402
|
+
}
|
|
19403
|
+
return _context.a(2, false);
|
|
19404
|
+
case 2:
|
|
19405
|
+
_context.p = 2;
|
|
19406
|
+
_context.n = 3;
|
|
19407
|
+
return _this4.axios({
|
|
19408
|
+
method: "post",
|
|
19409
|
+
url: "".concat(_this4.adminUrl, "/gateway/paas/rest/open/inv/taxpayerType/query"),
|
|
19410
|
+
data: {
|
|
19411
|
+
company_title: record["etax_company_name"],
|
|
19412
|
+
method: "taxpayer_type",
|
|
19413
|
+
system: "fi-work"
|
|
19414
|
+
}
|
|
19415
|
+
});
|
|
19416
|
+
case 3:
|
|
19417
|
+
response = _context.v;
|
|
19418
|
+
_response$data3 = response.data, responseData = _response$data3.data, code = _response$data3.code;
|
|
19419
|
+
if (code === 200) {
|
|
19420
|
+
_this4.columnList.forEach(function (item) {
|
|
19421
|
+
var tit = responseData === "general" ? "一般纳税人" : "小规模纳税人";
|
|
19422
|
+
if (item.name === "纳税人类型") {
|
|
19423
|
+
item.value = item.moduleDefinition.find(function (el) {
|
|
19424
|
+
return el.title === tit;
|
|
19425
|
+
}) || null;
|
|
19426
|
+
}
|
|
19427
|
+
});
|
|
19428
|
+
}
|
|
19429
|
+
_context.n = 5;
|
|
19430
|
+
break;
|
|
19431
|
+
case 4:
|
|
19432
|
+
_context.p = 4;
|
|
19433
|
+
_t = _context.v;
|
|
19434
|
+
console.error("获取纳税人类型失败:", _t);
|
|
19435
|
+
_this4.handleColumnList(record);
|
|
19436
|
+
case 5:
|
|
19437
|
+
return _context.a(2);
|
|
19438
|
+
}
|
|
19439
|
+
}, _callee, null, [[2, 4]]);
|
|
19440
|
+
}))();
|
|
19441
|
+
}
|
|
19442
|
+
},
|
|
19443
|
+
computed: {
|
|
19444
|
+
scopeRef: function scopeRef() {
|
|
19445
|
+
var _this$sourceData;
|
|
19446
|
+
return "myTextContent" + ((_this$sourceData = this.sourceData) === null || _this$sourceData === void 0 ? void 0 : _this$sourceData.id);
|
|
19447
|
+
},
|
|
19448
|
+
adminUrl: function adminUrl() {
|
|
19449
|
+
var path = window.location.host;
|
|
19450
|
+
var url = "https://fi.bytenew.com";
|
|
19451
|
+
if (path.includes("work.")) {
|
|
19452
|
+
// 正式环境
|
|
19453
|
+
url = "https://fi.bytenew.com";
|
|
19454
|
+
} else if (path.includes("newbeta.")) {
|
|
19455
|
+
// 预发环境
|
|
19456
|
+
url = "https://fi-pre.bytenew.com";
|
|
19457
|
+
} else if (path.includes("devbeta.")) {
|
|
19458
|
+
// 开发环境
|
|
19459
|
+
url = "https://fi-dev.bytenew.com";
|
|
19460
|
+
} else if (path.includes("loreal.")) {
|
|
19461
|
+
// 欧莱雅环境
|
|
19462
|
+
url = "https://fi-oly.bytenew.com";
|
|
19463
|
+
} else if (path.includes("pg.")) {
|
|
19464
|
+
// 宝洁
|
|
19465
|
+
url = "https://fi-pg.bytenew.com";
|
|
19466
|
+
}
|
|
19467
|
+
return url;
|
|
19468
|
+
},
|
|
19469
|
+
// 判断当前表单中发票类型是否为专用发票
|
|
19470
|
+
isSpecialTax: function isSpecialTax() {
|
|
19471
|
+
var _bill$value;
|
|
19472
|
+
var bill = this.columnList.find(function (el) {
|
|
19473
|
+
return el.key === "bill_kindradio";
|
|
19474
|
+
});
|
|
19475
|
+
var scopeTitle = bill === null || bill === void 0 || (_bill$value = bill.value) === null || _bill$value === void 0 ? void 0 : _bill$value.title;
|
|
19476
|
+
return scopeTitle === null || scopeTitle === void 0 ? void 0 : scopeTitle.includes("专");
|
|
19477
|
+
}
|
|
19478
|
+
},
|
|
19479
|
+
watch: {
|
|
19480
|
+
isSpecialTax: function isSpecialTax(n, o) {
|
|
19481
|
+
if (n !== o) {
|
|
19482
|
+
if (n && this.sourceData.value) {
|
|
19483
|
+
var find = this.columnList.find(function (el) {
|
|
19484
|
+
return el.key === "etax_company_shuihao";
|
|
19485
|
+
});
|
|
19486
|
+
this.getTaitou({
|
|
19487
|
+
etax_company_name: this.sourceData.value,
|
|
19488
|
+
etax_company_shuihao: find && find.value
|
|
19489
|
+
});
|
|
19490
|
+
}
|
|
19491
|
+
}
|
|
19492
|
+
}
|
|
19493
|
+
}
|
|
19494
|
+
});
|
|
19495
|
+
;// ./packages/BnFiTaxAutoComplete/BnFiTaxAutoComplete.vue?vue&type=script&lang=js
|
|
19496
|
+
/* harmony default export */ const BnFiTaxAutoComplete_BnFiTaxAutoCompletevue_type_script_lang_js = (BnFiTaxAutoCompletevue_type_script_lang_js);
|
|
19497
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.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
|
|
19498
|
+
var BnFiTaxAutoCompletevue_type_style_index_0_id_6a5eae5b_prod_lang_css_scoped_true = __webpack_require__(8859);
|
|
19499
|
+
;// ./packages/BnFiTaxAutoComplete/BnFiTaxAutoComplete.vue?vue&type=style&index=0&id=6a5eae5b&prod&lang=css&scoped=true
|
|
19500
|
+
|
|
19501
|
+
;// ./packages/BnFiTaxAutoComplete/BnFiTaxAutoComplete.vue
|
|
19502
|
+
|
|
19503
|
+
|
|
19504
|
+
|
|
19505
|
+
;
|
|
19506
|
+
|
|
19507
|
+
|
|
19508
|
+
/* normalize component */
|
|
19509
|
+
|
|
19510
|
+
var BnFiTaxAutoComplete_component = normalizeComponent(
|
|
19511
|
+
BnFiTaxAutoComplete_BnFiTaxAutoCompletevue_type_script_lang_js,
|
|
19512
|
+
BnFiTaxAutoCompletevue_type_template_id_6a5eae5b_scoped_true_render,
|
|
19513
|
+
BnFiTaxAutoCompletevue_type_template_id_6a5eae5b_scoped_true_staticRenderFns,
|
|
19514
|
+
false,
|
|
19515
|
+
null,
|
|
19516
|
+
"6a5eae5b",
|
|
19517
|
+
null
|
|
19518
|
+
|
|
19519
|
+
)
|
|
19520
|
+
|
|
19521
|
+
/* harmony default export */ const BnFiTaxAutoComplete = (BnFiTaxAutoComplete_component.exports);
|
|
18818
19522
|
;// ./install.js
|
|
18819
19523
|
// install.js - BnAppletUi 组件库入口
|
|
18820
19524
|
|
|
@@ -18830,6 +19534,7 @@ var select_component = normalizeComponent(
|
|
|
18830
19534
|
|
|
18831
19535
|
|
|
18832
19536
|
|
|
19537
|
+
|
|
18833
19538
|
const BnAppletUi = {
|
|
18834
19539
|
install: (Vue) => {
|
|
18835
19540
|
Vue.component("BnAddress", BnAddress);
|
|
@@ -18844,6 +19549,7 @@ const BnAppletUi = {
|
|
|
18844
19549
|
Vue.component("BnInputNum", BnInputNum);
|
|
18845
19550
|
Vue.component("BnRuleCondition", bnRuleCondition);
|
|
18846
19551
|
Vue.component("BnSelect", BnSelect_select);
|
|
19552
|
+
Vue.component("BnFiTaxAutoComplete", BnFiTaxAutoComplete);
|
|
18847
19553
|
}
|
|
18848
19554
|
};
|
|
18849
19555
|
|