ocpview-plus 1.3.18 → 1.3.21

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.
@@ -453,7 +453,7 @@ common.initEview = function(ViewUI2) {
453
453
  common.initAnchor(ViewUI2.Anchor);
454
454
  };
455
455
  const name = "ocpview-plus";
456
- const version$2 = "1.3.17";
456
+ const version$2 = "1.3.20";
457
457
  const title = "ocpviewPlus";
458
458
  const description = "A high quality Service UI components Library with Vue.js";
459
459
  const homepage = "";
@@ -518,12 +518,15 @@ const dependencies = {
518
518
  viewerjs: "^1.11.6",
519
519
  "vue-draggable-plus": "^0.5.0",
520
520
  vuex: "^4.0.2",
521
- xlsx: "^0.18.5",
522
- "xlsx-style-vite": "^0.0.2",
523
521
  "vxe-table": "4.6.20",
524
- "xe-utils": "^3.5.32"
522
+ "xe-utils": "^3.5.32",
523
+ xlsx: "^0.18.5",
524
+ "xlsx-style-vite": "^0.0.2"
525
525
  };
526
526
  const devDependencies = {
527
+ "@babel/core": "^7.29.0",
528
+ "@babel/plugin-proposal-optional-chaining": "^7.21.0",
529
+ "@babel/preset-env": "^7.29.2",
527
530
  "@vitejs/plugin-vue": "^1.9.3",
528
531
  "@vue/cli-plugin-babel": "~4.5.0",
529
532
  "@vue/cli-plugin-eslint": "~4.5.0",
@@ -531,10 +534,8 @@ const devDependencies = {
531
534
  "@vue/compiler-sfc": "^3.0.0",
532
535
  "autoprefixer-loader": "^3.2.0",
533
536
  "babel-cli": "^6.26.0",
534
- "babel-core": "^6.26.0",
535
537
  "babel-eslint": "^10.1.0",
536
538
  "babel-helper-vue-jsx-merge-props": "^2.0.3",
537
- "babel-loader": "^7.1.5",
538
539
  "babel-plugin-dynamic-import-node": "^1.2.0",
539
540
  "babel-plugin-import": "^1.13.3",
540
541
  "babel-plugin-syntax-jsx": "^6.18.0",
@@ -543,9 +544,6 @@ const devDependencies = {
543
544
  "babel-plugin-transform-object-rest-spread": "^6.26.0",
544
545
  "babel-plugin-transform-runtime": "^6.23.0",
545
546
  "babel-plugin-transform-vue-jsx": "^3.7.0",
546
- "babel-preset-env": "^1.6.1",
547
- "babel-preset-stage-3": "^6.24.1",
548
- "babel-runtime": "^6.26.0",
549
547
  chai: "^4.2.0",
550
548
  "compression-webpack-plugin": "^1.1.12",
551
549
  "copy-webpack-plugin": "^6.4.1",
@@ -41379,7 +41377,8 @@ const _sfc_main$I = {
41379
41377
  typeData: [],
41380
41378
  fileType: ["xlsx", "xls"],
41381
41379
  setImportUrl: null,
41382
- resources: ""
41380
+ resources: "",
41381
+ showImportTtype: false
41383
41382
  },
41384
41383
  initConfig: {
41385
41384
  typeData: [],
@@ -41492,7 +41491,8 @@ const _sfc_main$I = {
41492
41491
  checkExportFailFlag: false,
41493
41492
  checkExportSuccessFlag: true,
41494
41493
  actionGrid: null,
41495
- modulecode: ""
41494
+ modulecode: "",
41495
+ importType: "all"
41496
41496
  };
41497
41497
  },
41498
41498
  props: {
@@ -41536,6 +41536,9 @@ const _sfc_main$I = {
41536
41536
  }
41537
41537
  }
41538
41538
  }
41539
+ if (this.myConfig.showImportTtype) {
41540
+ para.importType = this.importType;
41541
+ }
41539
41542
  return url + "&param=" + encodeURI(JSON.stringify(para));
41540
41543
  }
41541
41544
  },
@@ -41870,7 +41873,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
41870
41873
  key: 0,
41871
41874
  title: "\u5BFC\u5165",
41872
41875
  modelValue: $data.showUpload,
41873
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $data.showUpload = $event),
41876
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => $data.showUpload = $event),
41874
41877
  "class-name": "vertical-center-modal\u2014bill",
41875
41878
  width: $options.modelWidth,
41876
41879
  "footer-hide": true,
@@ -41892,7 +41895,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
41892
41895
  }, {
41893
41896
  default: withCtx(() => [
41894
41897
  createElementVNode("div", _hoisted_1$D, [
41895
- _cache[7] || (_cache[7] = createElementVNode("div", null, [
41898
+ _cache[8] || (_cache[8] = createElementVNode("div", null, [
41896
41899
  createElementVNode("span", { class: "efuture-title-verticalline" }),
41897
41900
  createTextVNode(),
41898
41901
  createElementVNode("span", { style: { "font-size": "14px", "font-weight": "bold" } }, "\u4EFB\u52A1\u6587\u4EF6")
@@ -41902,7 +41905,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
41902
41905
  customIcon: "iconfont icon-custom-anniu-shuaxin",
41903
41906
  onClick: $options.Refurbish
41904
41907
  }, {
41905
- default: withCtx(() => [..._cache[6] || (_cache[6] = [
41908
+ default: withCtx(() => [..._cache[7] || (_cache[7] = [
41906
41909
  createTextVNode("\u5237\u65B0", -1)
41907
41910
  ])]),
41908
41911
  _: 1
@@ -41925,7 +41928,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
41925
41928
  }, {
41926
41929
  default: withCtx(() => [
41927
41930
  createElementVNode("div", _hoisted_2$s, [
41928
- _cache[9] || (_cache[9] = createElementVNode("div", null, [
41931
+ _cache[10] || (_cache[10] = createElementVNode("div", null, [
41929
41932
  createElementVNode("span", { class: "efuture-title-verticalline" }),
41930
41933
  createTextVNode(),
41931
41934
  createElementVNode("span", { style: { "font-size": "14px", "font-weight": "bold" } }, "\u5BFC\u5165\u9519\u8BEF\u4FE1\u606F")
@@ -41935,7 +41938,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
41935
41938
  customIcon: "iconfont icon-custom-filedown",
41936
41939
  onClick: $options.downErr
41937
41940
  }, {
41938
- default: withCtx(() => [..._cache[8] || (_cache[8] = [
41941
+ default: withCtx(() => [..._cache[9] || (_cache[9] = [
41939
41942
  createTextVNode("\u4E0B\u8F7D", -1)
41940
41943
  ])]),
41941
41944
  _: 1
@@ -41954,7 +41957,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
41954
41957
  }),
41955
41958
  createVNode(_component_Col, { span: "8" }, {
41956
41959
  default: withCtx(() => [
41957
- _cache[12] || (_cache[12] = createElementVNode("p", { style: { "margin-bottom": "10px" } }, [
41960
+ _cache[15] || (_cache[15] = createElementVNode("p", { style: { "margin-bottom": "10px" } }, [
41958
41961
  createElementVNode("span", { class: "efuture-title-verticalline" }),
41959
41962
  createTextVNode(),
41960
41963
  createElementVNode("span", { style: { "font-size": "14px", "font-weight": "bold" } }, "\u5BFC\u5165\u6587\u4EF6")
@@ -42031,6 +42034,28 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
42031
42034
  default: withCtx(() => [
42032
42035
  createVNode(_component_Col, null, {
42033
42036
  default: withCtx(() => [
42037
+ $data.myConfig.showImportTtype ? (openBlock(), createBlock(_component_RadioGroup, {
42038
+ key: 0,
42039
+ modelValue: $data.importType,
42040
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $data.importType = $event),
42041
+ style: { "margin-bottom": "24px" }
42042
+ }, {
42043
+ default: withCtx(() => [
42044
+ createVNode(_component_Radio, { label: "all" }, {
42045
+ default: withCtx(() => [..._cache[11] || (_cache[11] = [
42046
+ createTextVNode("\u5168\u91CF\u5BFC\u5165", -1)
42047
+ ])]),
42048
+ _: 1
42049
+ }),
42050
+ createVNode(_component_Radio, { label: "add" }, {
42051
+ default: withCtx(() => [..._cache[12] || (_cache[12] = [
42052
+ createTextVNode("\u589E\u91CF\u5BFC\u5165", -1)
42053
+ ])]),
42054
+ _: 1
42055
+ })
42056
+ ]),
42057
+ _: 1
42058
+ }, 8, ["modelValue"])) : createCommentVNode("", true),
42034
42059
  createVNode(_component_Upload, {
42035
42060
  ref: "upload",
42036
42061
  "before-upload": $options.handleUpload,
@@ -42043,7 +42068,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
42043
42068
  }, {
42044
42069
  default: withCtx(() => [
42045
42070
  createVNode(_component_Button, { style: { "width": "150px" } }, {
42046
- default: withCtx(() => [..._cache[10] || (_cache[10] = [
42071
+ default: withCtx(() => [..._cache[13] || (_cache[13] = [
42047
42072
  createTextVNode("\u9009\u62E9\u6587\u4EF6", -1)
42048
42073
  ])]),
42049
42074
  _: 1
@@ -42065,7 +42090,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
42065
42090
  size: "18",
42066
42091
  class: "demo-spin-icon-load"
42067
42092
  }),
42068
- _cache[11] || (_cache[11] = createElementVNode("div", null, "\u5BFC\u5165\u4E2D", -1))
42093
+ _cache[14] || (_cache[14] = createElementVNode("div", null, "\u5BFC\u5165\u4E2D", -1))
42069
42094
  ]),
42070
42095
  _: 1
42071
42096
  }, 512), [
@@ -42084,7 +42109,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
42084
42109
  $data.modeltype === "down" ? (openBlock(), createBlock(_component_Modal, {
42085
42110
  key: 1,
42086
42111
  modelValue: $data.showUpload,
42087
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => $data.showUpload = $event),
42112
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => $data.showUpload = $event),
42088
42113
  title: "\u9009\u62E9\u6A21\u7248",
42089
42114
  onOnOk: $options.downTemplate,
42090
42115
  "class-name": "vertical-center-modal\u2014bill"
@@ -42092,7 +42117,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
42092
42117
  default: withCtx(() => [
42093
42118
  createVNode(_component_RadioGroup, {
42094
42119
  modelValue: $data.type,
42095
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => $data.type = $event)
42120
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => $data.type = $event)
42096
42121
  }, {
42097
42122
  default: withCtx(() => [
42098
42123
  (openBlock(true), createElementBlock(Fragment, null, renderList($data.myConfig.typeData, (item, index) => {
@@ -42115,7 +42140,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
42115
42140
  $data.modeltype === "export" ? (openBlock(), createBlock(_component_Modal, {
42116
42141
  key: 2,
42117
42142
  modelValue: $data.showUpload,
42118
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => $data.showUpload = $event),
42143
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => $data.showUpload = $event),
42119
42144
  title: "\u5BFC\u51FA",
42120
42145
  width: $options.modelWidth,
42121
42146
  "class-name": "vertical-center-modal\u2014bill",
@@ -42133,7 +42158,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
42133
42158
  createVNode(_component_Col, { span: "3" }, {
42134
42159
  default: withCtx(() => [
42135
42160
  createVNode(_component_Button, { onClick: $options.doAsyncExport }, {
42136
- default: withCtx(() => [..._cache[13] || (_cache[13] = [
42161
+ default: withCtx(() => [..._cache[16] || (_cache[16] = [
42137
42162
  createTextVNode("\u751F\u6210\u5BFC\u51FA\u4EFB\u52A1", -1)
42138
42163
  ])]),
42139
42164
  _: 1
@@ -42152,8 +42177,8 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
42152
42177
  size: "20",
42153
42178
  color: "#F3B352"
42154
42179
  }),
42155
- _cache[14] || (_cache[14] = createTextVNode()),
42156
- _cache[15] || (_cache[15] = createElementVNode("span", { style: { "margin-left": "12px", "font-size": "18px", "color": "#F3B352", "font-weight": "bold" } }, "\u5DF2\u5B58\u5728\u751F\u6210\u4E2D\u7684\u5BFC\u51FA\u4EFB\u52A1\uFF0C\u8BF7\u7A0D\u540E\u751F\u6210\u5BFC\u51FA\u4EFB\u52A1", -1))
42180
+ _cache[17] || (_cache[17] = createTextVNode()),
42181
+ _cache[18] || (_cache[18] = createElementVNode("span", { style: { "margin-left": "12px", "font-size": "18px", "color": "#F3B352", "font-weight": "bold" } }, "\u5DF2\u5B58\u5728\u751F\u6210\u4E2D\u7684\u5BFC\u51FA\u4EFB\u52A1\uFF0C\u8BF7\u7A0D\u540E\u751F\u6210\u5BFC\u51FA\u4EFB\u52A1", -1))
42157
42182
  ])) : createCommentVNode("", true),
42158
42183
  $data.checkExportSuccessFlag ? (openBlock(), createElementBlock("p", _hoisted_5$b, [
42159
42184
  createVNode(_component_Icon, {
@@ -42161,8 +42186,8 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
42161
42186
  size: "20",
42162
42187
  color: "#739943"
42163
42188
  }),
42164
- _cache[16] || (_cache[16] = createTextVNode()),
42165
- _cache[17] || (_cache[17] = createElementVNode("span", { style: { "margin-left": "12px", "font-size": "18px", "color": "#739943", "font-weight": "bold" } }, "\u5BFC\u51FA\u4EFB\u52A1\u5DF2\u751F\u6210\uFF0C\u8BF7\u7A0D\u540E\u5728\u4EFB\u52A1\u5217\u8868\u4E0B\u8F7D\u6587\u4EF6", -1))
42189
+ _cache[19] || (_cache[19] = createTextVNode()),
42190
+ _cache[20] || (_cache[20] = createElementVNode("span", { style: { "margin-left": "12px", "font-size": "18px", "color": "#739943", "font-weight": "bold" } }, "\u5BFC\u51FA\u4EFB\u52A1\u5DF2\u751F\u6210\uFF0C\u8BF7\u7A0D\u540E\u5728\u4EFB\u52A1\u5217\u8868\u4E0B\u8F7D\u6587\u4EF6", -1))
42166
42191
  ])) : createCommentVNode("", true)
42167
42192
  ]),
42168
42193
  _: 1
@@ -42172,8 +42197,8 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
42172
42197
  }),
42173
42198
  createElementVNode("div", _hoisted_6$8, [
42174
42199
  createElementVNode("div", null, [
42175
- _cache[18] || (_cache[18] = createElementVNode("span", { class: "efuture-title-verticalline" }, null, -1)),
42176
- _cache[19] || (_cache[19] = createTextVNode()),
42200
+ _cache[21] || (_cache[21] = createElementVNode("span", { class: "efuture-title-verticalline" }, null, -1)),
42201
+ _cache[22] || (_cache[22] = createTextVNode()),
42177
42202
  createElementVNode("span", {
42178
42203
  style: { "font-size": "14px", "font-weight": "bold" },
42179
42204
  textContent: toDisplayString($data.exportGridConfig.gridtitle)
@@ -42184,7 +42209,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
42184
42209
  customIcon: "iconfont icon-custom-anniu-shuaxin",
42185
42210
  onClick: $options.Refurbish
42186
42211
  }, {
42187
- default: withCtx(() => [..._cache[20] || (_cache[20] = [
42212
+ default: withCtx(() => [..._cache[23] || (_cache[23] = [
42188
42213
  createTextVNode("\u5237\u65B0", -1)
42189
42214
  ])]),
42190
42215
  _: 1
@@ -42200,7 +42225,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
42200
42225
  }, 8, ["modelValue", "width"])) : createCommentVNode("", true)
42201
42226
  ]);
42202
42227
  }
42203
- var mBillAsyncImport = /* @__PURE__ */ _export_sfc$1(_sfc_main$I, [["render", _sfc_render$F], ["__scopeId", "data-v-d0408870"]]);
42228
+ var mBillAsyncImport = /* @__PURE__ */ _export_sfc$1(_sfc_main$I, [["render", _sfc_render$F], ["__scopeId", "data-v-078ae634"]]);
42204
42229
  var billimport_vue_vue_type_style_index_0_scoped_true_lang = "";
42205
42230
  const _sfc_main$H = {
42206
42231
  name: "mbillimport",
@@ -42209,7 +42234,8 @@ const _sfc_main$H = {
42209
42234
  myConfig: {
42210
42235
  typeData: [],
42211
42236
  fileType: ["xlsx", "xls"],
42212
- setImportUrl: null
42237
+ setImportUrl: null,
42238
+ showImportTtype: false
42213
42239
  },
42214
42240
  initConfig: {
42215
42241
  typeData: [],
@@ -42226,7 +42252,8 @@ const _sfc_main$H = {
42226
42252
  curlUrl: "",
42227
42253
  loading: false,
42228
42254
  downMethod: "exportTemplate",
42229
- importMethod: "import"
42255
+ importMethod: "import",
42256
+ importType: "all"
42230
42257
  };
42231
42258
  },
42232
42259
  props: {
@@ -42255,6 +42282,9 @@ const _sfc_main$H = {
42255
42282
  }
42256
42283
  }
42257
42284
  }
42285
+ if (this.myConfig.showImportTtype) {
42286
+ para.importType = this.importType;
42287
+ }
42258
42288
  return url + "&param=" + encodeURI(JSON.stringify(para));
42259
42289
  }
42260
42290
  },
@@ -42414,7 +42444,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
42414
42444
  key: 0,
42415
42445
  title: "\u4E0A\u4F20\u6587\u4EF6",
42416
42446
  modelValue: $data.showUpload,
42417
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $data.showUpload = $event),
42447
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => $data.showUpload = $event),
42418
42448
  "class-name": "vertical-center-modal\u2014bill",
42419
42449
  "footer-hide": true
42420
42450
  }, {
@@ -42489,6 +42519,28 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
42489
42519
  default: withCtx(() => [
42490
42520
  createVNode(_component_Col, null, {
42491
42521
  default: withCtx(() => [
42522
+ $data.myConfig.showImportTtype ? (openBlock(), createBlock(_component_RadioGroup, {
42523
+ key: 0,
42524
+ modelValue: $data.importType,
42525
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $data.importType = $event),
42526
+ style: { "margin-bottom": "24px" }
42527
+ }, {
42528
+ default: withCtx(() => [
42529
+ createVNode(_component_Radio, { label: "all" }, {
42530
+ default: withCtx(() => [..._cache[8] || (_cache[8] = [
42531
+ createTextVNode("\u5168\u91CF\u5BFC\u5165", -1)
42532
+ ])]),
42533
+ _: 1
42534
+ }),
42535
+ createVNode(_component_Radio, { label: "add" }, {
42536
+ default: withCtx(() => [..._cache[9] || (_cache[9] = [
42537
+ createTextVNode("\u589E\u91CF\u5BFC\u5165", -1)
42538
+ ])]),
42539
+ _: 1
42540
+ })
42541
+ ]),
42542
+ _: 1
42543
+ }, 8, ["modelValue"])) : createCommentVNode("", true),
42492
42544
  createVNode(_component_Upload, {
42493
42545
  ref: "upload",
42494
42546
  "before-upload": $options.handleUpload,
@@ -42501,7 +42553,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
42501
42553
  }, {
42502
42554
  default: withCtx(() => [
42503
42555
  createVNode(_component_Button, { style: { "width": "150px" } }, {
42504
- default: withCtx(() => [..._cache[7] || (_cache[7] = [
42556
+ default: withCtx(() => [..._cache[10] || (_cache[10] = [
42505
42557
  createTextVNode("\u9009\u62E9\u6587\u4EF6", -1)
42506
42558
  ])]),
42507
42559
  _: 1
@@ -42523,7 +42575,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
42523
42575
  size: "18",
42524
42576
  class: "demo-spin-icon-load"
42525
42577
  }),
42526
- _cache[8] || (_cache[8] = createElementVNode("div", null, "\u5BFC\u5165\u4E2D", -1))
42578
+ _cache[11] || (_cache[11] = createElementVNode("div", null, "\u5BFC\u5165\u4E2D", -1))
42527
42579
  ]),
42528
42580
  _: 1
42529
42581
  }, 512), [
@@ -42536,7 +42588,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
42536
42588
  $data.modeltype === "down" ? (openBlock(), createBlock(_component_Modal, {
42537
42589
  key: 1,
42538
42590
  modelValue: $data.showUpload,
42539
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => $data.showUpload = $event),
42591
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => $data.showUpload = $event),
42540
42592
  title: "\u9009\u62E9\u6A21\u7248",
42541
42593
  onOnOk: $options.downTemplate,
42542
42594
  "class-name": "vertical-center-modal\u2014bill"
@@ -42544,7 +42596,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
42544
42596
  default: withCtx(() => [
42545
42597
  createVNode(_component_RadioGroup, {
42546
42598
  modelValue: $data.type,
42547
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => $data.type = $event)
42599
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => $data.type = $event)
42548
42600
  }, {
42549
42601
  default: withCtx(() => [
42550
42602
  (openBlock(true), createElementBlock(Fragment, null, renderList($data.myConfig.typeData, (item, index) => {
@@ -42567,7 +42619,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
42567
42619
  $data.modeltype === "export" ? (openBlock(), createBlock(_component_Modal, {
42568
42620
  key: 2,
42569
42621
  modelValue: $data.showUpload,
42570
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => $data.showUpload = $event),
42622
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => $data.showUpload = $event),
42571
42623
  title: "\u5BFC\u51FA\u9009\u62E9",
42572
42624
  onOnOk: $options.confirmExport,
42573
42625
  "class-name": "vertical-center-modal\u2014bill"
@@ -42575,7 +42627,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
42575
42627
  default: withCtx(() => [
42576
42628
  createVNode(_component_RadioGroup, {
42577
42629
  modelValue: $data.type,
42578
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => $data.type = $event)
42630
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => $data.type = $event)
42579
42631
  }, {
42580
42632
  default: withCtx(() => [
42581
42633
  (openBlock(true), createElementBlock(Fragment, null, renderList($data.myConfig.typeData, (item, index) => {
@@ -42597,7 +42649,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
42597
42649
  }, 8, ["modelValue", "onOnOk"])) : createCommentVNode("", true)
42598
42650
  ]);
42599
42651
  }
42600
- var mBillImport = /* @__PURE__ */ _export_sfc$1(_sfc_main$H, [["render", _sfc_render$E], ["__scopeId", "data-v-c9d051ae"]]);
42652
+ var mBillImport = /* @__PURE__ */ _export_sfc$1(_sfc_main$H, [["render", _sfc_render$E], ["__scopeId", "data-v-47796e41"]]);
42601
42653
  var ContractPrintMixins = {
42602
42654
  data() {
42603
42655
  return {
@@ -48839,7 +48891,7 @@ const _sfc_main$t = {
48839
48891
  methods: {
48840
48892
  onSubmit() {
48841
48893
  let flag = true;
48842
- if (this.$parent.onSubmitBefore() !== void 0) {
48894
+ if (this.$parent && typeof this.$parent.onSubmitBefore === "function") {
48843
48895
  flag = this.$parent.onSubmitBefore();
48844
48896
  }
48845
48897
  if (flag) {
@@ -50049,7 +50101,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
50049
50101
  }, 8, ["modelValue"])
50050
50102
  ]);
50051
50103
  }
50052
- var ApprovalBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["render", _sfc_render$q], ["__scopeId", "data-v-6add5d16"]]);
50104
+ var ApprovalBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["render", _sfc_render$q], ["__scopeId", "data-v-03e86e78"]]);
50053
50105
  const _sfc_main$s = {
50054
50106
  name: "moperlog",
50055
50107
  data() {
@@ -57336,6 +57388,13 @@ const _sfc_main$b = {
57336
57388
  this.$emit("doAction", obj);
57337
57389
  }
57338
57390
  }
57391
+ },
57392
+ onSubmitBefore() {
57393
+ let flag = true;
57394
+ if (this.$parent && typeof this.$parent.onSubmitBefore === "function") {
57395
+ flag = this.$parent.onSubmitBefore();
57396
+ }
57397
+ return flag;
57339
57398
  }
57340
57399
  },
57341
57400
  mounted() {
@@ -57781,7 +57840,7 @@ const _sfc_main$8 = {
57781
57840
  },
57782
57841
  onSubmitBefore() {
57783
57842
  let flag = true;
57784
- if (this.$parent.onSubmitBefore() !== void 0) {
57843
+ if (this.$parent && typeof this.$parent.onSubmitBefore === "function") {
57785
57844
  flag = this.$parent.onSubmitBefore();
57786
57845
  }
57787
57846
  return flag;
@@ -58559,7 +58618,7 @@ const _sfc_main$5 = {
58559
58618
  },
58560
58619
  onSubmitBefore() {
58561
58620
  let flag = true;
58562
- if (this.$parent.onSubmitBefore() !== void 0) {
58621
+ if (this.$parent && typeof this.$parent.onSubmitBefore === "function") {
58563
58622
  flag = this.$parent.onSubmitBefore();
58564
58623
  }
58565
58624
  return flag;