sun-biz 0.0.4-beta.8 → 0.0.4-beta.9

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.
@@ -786,16 +786,39 @@ const _hoisted_3 = {
786
786
  props.changeSourceData(result);
787
787
  }
788
788
  function changeInputSort(flag, sort) {
789
- let data = [
789
+ const currentRow = tableData.value[flag];
790
+ if (!currentRow) return; // 创建新的排序数组
791
+ let newData = [
790
792
  ...tableData.value
793
+ ]; // 移除当前项
794
+ newData = newData.filter((item)=>item.prop !== currentRow.prop); // 在指定位置插入当前项
795
+ const insertIndex = Math.min(sort - 1, newData.length);
796
+ newData.splice(insertIndex, 0, currentRow); // 重新分配排序值
797
+ newData = newData.map((item, index)=>({
798
+ ...item,
799
+ ascendSort: index + 1
800
+ })); // 更新原始数据
801
+ let result = [
802
+ ...props.data
791
803
  ];
792
- let findObj = data.find((item, index)=>index == flag);
793
- data.splice(flag, 1);
794
- data.splice(sort - 1, 0, findObj);
804
+ result = result.map((item)=>{
805
+ let findObj = newData.find((cur)=>cur.prop === item.prop);
806
+ if (findObj) return {
807
+ ...item,
808
+ ascendSort: findObj.ascendSort
809
+ };
810
+ return {
811
+ ...item
812
+ };
813
+ });
814
+ props.changeSourceData(result);
815
+ }
816
+ const changeSort = (0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_shared__.debounce)(changeInputSort, 1200);
817
+ function handleSortEnd(data) {
795
818
  data = data.map((item, index)=>({
796
819
  ...item,
797
820
  ascendSort: index + 1
798
- }));
821
+ })); // 更新原始数据中的排序字段
799
822
  let result = [
800
823
  ...props.data
801
824
  ];
@@ -811,16 +834,12 @@ const _hoisted_3 = {
811
834
  });
812
835
  props.changeSourceData(result);
813
836
  }
814
- const changeSort = (0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_shared__.debounce)(changeInputSort, 1200);
815
- function handleSortEnd() {}
816
837
  const columns = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>getColumn());
817
838
  const tableData = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
818
- let result = props.data.filter((item)=>item.sortable);
819
- result.sort((a, b)=>(a?.ascendSort || 0) - (b?.ascendSort || 0));
820
- result = result.map((item, index)=>{
821
- item.ascendSort = index + 1;
822
- return item;
823
- });
839
+ let result = [
840
+ ...props.data.filter((item)=>item.sortable)
841
+ ]; // 按照现有的ascendSort排序,如果没有则按默认顺序
842
+ result.sort((a, b)=>(a?.ascendSort || 999) - (b?.ascendSort || 999));
824
843
  return result;
825
844
  });
826
845
  function changeAscendFlag(name, value, ascendSort) {
@@ -882,11 +901,11 @@ const _hoisted_3 = {
882
901
  max: tableData.value.length,
883
902
  modelValue: row.ascendSort,
884
903
  'onUpdate:modelValue': (value)=>{
885
- row.ascendSort = value;
886
- changeSort(index, value);
904
+ if (value && value !== row.ascendSort) changeSort(index, value);
887
905
  },
888
- onInput: (value)=>{
889
- changeSort(index, value);
906
+ onBlur: (event)=>{
907
+ const value = event.target.value;
908
+ if (value && parseInt(value) !== row.ascendSort) changeInputSort(index, parseInt(value));
890
909
  }
891
910
  })
892
911
  }
@@ -1459,7 +1478,9 @@ function dbgrid_component_settingvue_type_script_setup_true_lang_tsx_isSlot(s) {
1459
1478
  const tableColumn = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>sourceData.value.map((item)=>({
1460
1479
  ...item,
1461
1480
  isHidden: item.displayFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.NO,
1462
- render: ()=>'--'
1481
+ render: ()=>(0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)("span", null, [
1482
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)("--")
1483
+ ])
1463
1484
  })));
1464
1485
  function changeSourceData(data) {
1465
1486
  sourceData.value = data;
@@ -1803,7 +1824,7 @@ function dbgrid_component_settingvue_type_script_setup_true_lang_tsx_isSlot(s) {
1803
1824
  const dbgrid_component_setting_exports_ = /*#__PURE__*/ (0, exportHelper["default"])(dbgrid_component_settingvue_type_script_setup_true_lang_tsx, [
1804
1825
  [
1805
1826
  '__scopeId',
1806
- "data-v-65b0a9d0"
1827
+ "data-v-70d357a6"
1807
1828
  ]
1808
1829
  ]);
1809
1830
  /* ESM default export */ const dbgrid_component_setting = dbgrid_component_setting_exports_;
@@ -4730,7 +4751,7 @@ const pluginMainRequest = async (methodName, params)=>{
4730
4751
  const result = await Api.PluginMain[methodName](paramsJson);
4731
4752
  const { ...res } = JSON.parse(result);
4732
4753
  // console.log("params", params);
4733
- // console.log("res", JSON.parse(result));
4754
+ console.log("出参", JSON.parse(result));
4734
4755
  if (!res.success) __WEBPACK_EXTERNAL_MODULE_element_sun__.ElMessage.error(res.errorMessage);
4735
4756
  return [
4736
4757
  res.success ? void 0 : res,
@@ -7640,9 +7661,20 @@ const access_infovue_type_script_setup_true_lang_ts_name_accessInfo_hoisted_3 =
7640
7661
  "code"
7641
7662
  ])) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true),
7642
7663
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", access_infovue_type_script_setup_true_lang_ts_name_accessInfo_hoisted_3, [
7664
+ _ctx.clearBtn ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)(_component_el_button, {
7665
+ key: 0,
7666
+ type: "primary",
7667
+ plain: "",
7668
+ onClick: clearFn
7669
+ }, {
7670
+ default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
7671
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(_ctx.btnTitle), 1)
7672
+ ]),
7673
+ _: 1
7674
+ })) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true),
7643
7675
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.renderSlot)(_ctx.$slots, "default"),
7644
7676
  _ctx.invoiceConfig ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(invoice), {
7645
- key: 0,
7677
+ key: 1,
7646
7678
  ref_key: "invoiceRef",
7647
7679
  ref: invoiceRef,
7648
7680
  "menu-id": _ctx.menuId,
@@ -7651,18 +7683,7 @@ const access_infovue_type_script_setup_true_lang_ts_name_accessInfo_hoisted_3 =
7651
7683
  }, null, 8, [
7652
7684
  "menu-id",
7653
7685
  "invoice-usage-code"
7654
- ])) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true),
7655
- _ctx.clearBtn ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)(_component_el_button, {
7656
- key: 1,
7657
- type: "primary",
7658
- plain: "",
7659
- onClick: clearFn
7660
- }, {
7661
- default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
7662
- (0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(_ctx.btnTitle), 1)
7663
- ]),
7664
- _: 1
7665
- })) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true)
7686
+ ])) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true)
7666
7687
  ])
7667
7688
  ]),
7668
7689
  _ctx.showBanner && bannerCode.value ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(BannerInfo), {
@@ -7934,8 +7955,12 @@ function useUpdateInvoiceFormConfig(options) {
7934
7955
  }
7935
7956
  const currentNo = Number(modelValue.value?.currentNo);
7936
7957
  const endNo = Number(modelValue.value?.endNo);
7937
- const numValue = Number(value);
7938
- if (numValue < currentNo || numValue > endNo) callback(new Error(`调整后票号需在${modelValue.value?.currentNo}-${modelValue.value?.endNo}之间`));
7958
+ const numValue = Number(value); // 如果当前票号和结束票号一致,且调整后票号也一致,直接通过
7959
+ if (currentNo === endNo && numValue === currentNo) {
7960
+ callback();
7961
+ return;
7962
+ }
7963
+ if (numValue <= currentNo || numValue > endNo) callback(new Error(`调整后票号需在当前票号和结束票号之间!`));
7939
7964
  else callback();
7940
7965
  },
7941
7966
  trigger: [
@@ -8058,7 +8083,9 @@ function useUpdateInvoiceFormConfig(options) {
8058
8083
  };
8059
8084
  /** 提交 */ const confirmFn = async ()=>{
8060
8085
  const isValid = await formRef.value.ref.validate();
8086
+ const isEndNo = updateModel.value?.currentNo === modelValue.value?.currentNo && modelValue.value?.currentNo === modelValue.value?.endNo;
8061
8087
  if (!isValid) return [];
8088
+ if (isEndNo) __WEBPACK_EXTERNAL_MODULE_element_sun__.ElMessage.error("无可用票号,无法修改");
8062
8089
  const params = {
8063
8090
  invoiceAllotId: originData.value?.invoiceAllotId,
8064
8091
  currentNo: updateModel.value?.currentNo,
@@ -564,7 +564,7 @@ function useFetchDataset(codeSystemCodes, enabledFlag) {
564
564
  }
565
565
  /* ESM default export */ const use_editable_table = useEditableTable;
566
566
  function useDataChangeDetector(sources, options) {
567
- const confirmMessage = options?.confirmMessage || '您有未保存的更改,确定要离开吗?';
567
+ const confirmMessage = options?.confirmMessage || "您有未保存的更改,确定要离开吗?";
568
568
  // 缓存原始数据
569
569
  const cacheSources = sources.map((s)=>(0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_shared__.cloneDeep)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(s)));
570
570
  let clearSourceWatchList = [];
@@ -599,13 +599,14 @@ function useDataChangeDetector(sources, options) {
599
599
  sources.forEach((value, index)=>{
600
600
  console.log(index, (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(value), cacheSources[index]);
601
601
  });
602
- __WEBPACK_EXTERNAL_MODULE_element_sun__.ElMessageBox.confirm(confirmMessage, '提示', {
603
- confirmButtonText: '确定',
604
- cancelButtonText: '取消',
605
- type: 'warning'
602
+ __WEBPACK_EXTERNAL_MODULE_element_sun__.ElMessageBox.confirm(confirmMessage, "提示", {
603
+ confirmButtonText: "确定",
604
+ cancelButtonText: "取消",
605
+ type: "warning"
606
606
  }).then(async ()=>{
607
607
  next();
608
608
  }).catch(()=>{
609
+ if (options?.cancelFn) options.cancelFn();
609
610
  next(false);
610
611
  });
611
612
  return;
@@ -1,9 +1,10 @@
1
- import { Ref } from 'vue';
1
+ import { Ref } from "vue";
2
2
  export declare function useDataChangeDetector<T extends readonly unknown[]>(sources: {
3
3
  [K in keyof T]: Ref<T[K]>;
4
4
  }, options?: {
5
5
  confirmMessage?: string;
6
6
  isSkip?: Ref<boolean>;
7
+ cancelFn?: () => void;
7
8
  }): {
8
9
  checkChange: () => boolean;
9
10
  updateOriginals: () => void;
package/dist/index.js CHANGED
@@ -787,16 +787,39 @@ const _hoisted_3 = {
787
787
  props.changeSourceData(result);
788
788
  }
789
789
  function changeInputSort(flag, sort) {
790
- let data = [
790
+ const currentRow = tableData.value[flag];
791
+ if (!currentRow) return; // 创建新的排序数组
792
+ let newData = [
791
793
  ...tableData.value
794
+ ]; // 移除当前项
795
+ newData = newData.filter((item)=>item.prop !== currentRow.prop); // 在指定位置插入当前项
796
+ const insertIndex = Math.min(sort - 1, newData.length);
797
+ newData.splice(insertIndex, 0, currentRow); // 重新分配排序值
798
+ newData = newData.map((item, index)=>({
799
+ ...item,
800
+ ascendSort: index + 1
801
+ })); // 更新原始数据
802
+ let result = [
803
+ ...props.data
792
804
  ];
793
- let findObj = data.find((item, index)=>index == flag);
794
- data.splice(flag, 1);
795
- data.splice(sort - 1, 0, findObj);
805
+ result = result.map((item)=>{
806
+ let findObj = newData.find((cur)=>cur.prop === item.prop);
807
+ if (findObj) return {
808
+ ...item,
809
+ ascendSort: findObj.ascendSort
810
+ };
811
+ return {
812
+ ...item
813
+ };
814
+ });
815
+ props.changeSourceData(result);
816
+ }
817
+ const changeSort = (0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_shared__.debounce)(changeInputSort, 1200);
818
+ function handleSortEnd(data) {
796
819
  data = data.map((item, index)=>({
797
820
  ...item,
798
821
  ascendSort: index + 1
799
- }));
822
+ })); // 更新原始数据中的排序字段
800
823
  let result = [
801
824
  ...props.data
802
825
  ];
@@ -812,16 +835,12 @@ const _hoisted_3 = {
812
835
  });
813
836
  props.changeSourceData(result);
814
837
  }
815
- const changeSort = (0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_shared__.debounce)(changeInputSort, 1200);
816
- function handleSortEnd() {}
817
838
  const columns = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>getColumn());
818
839
  const tableData = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
819
- let result = props.data.filter((item)=>item.sortable);
820
- result.sort((a, b)=>(a?.ascendSort || 0) - (b?.ascendSort || 0));
821
- result = result.map((item, index)=>{
822
- item.ascendSort = index + 1;
823
- return item;
824
- });
840
+ let result = [
841
+ ...props.data.filter((item)=>item.sortable)
842
+ ]; // 按照现有的ascendSort排序,如果没有则按默认顺序
843
+ result.sort((a, b)=>(a?.ascendSort || 999) - (b?.ascendSort || 999));
825
844
  return result;
826
845
  });
827
846
  function changeAscendFlag(name, value, ascendSort) {
@@ -883,11 +902,11 @@ const _hoisted_3 = {
883
902
  max: tableData.value.length,
884
903
  modelValue: row.ascendSort,
885
904
  'onUpdate:modelValue': (value)=>{
886
- row.ascendSort = value;
887
- changeSort(index, value);
905
+ if (value && value !== row.ascendSort) changeSort(index, value);
888
906
  },
889
- onInput: (value)=>{
890
- changeSort(index, value);
907
+ onBlur: (event)=>{
908
+ const value = event.target.value;
909
+ if (value && parseInt(value) !== row.ascendSort) changeInputSort(index, parseInt(value));
891
910
  }
892
911
  })
893
912
  }
@@ -1460,7 +1479,9 @@ function dbgrid_component_settingvue_type_script_setup_true_lang_tsx_isSlot(s) {
1460
1479
  const tableColumn = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>sourceData.value.map((item)=>({
1461
1480
  ...item,
1462
1481
  isHidden: item.displayFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.NO,
1463
- render: ()=>'--'
1482
+ render: ()=>(0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)("span", null, [
1483
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)("--")
1484
+ ])
1464
1485
  })));
1465
1486
  function changeSourceData(data) {
1466
1487
  sourceData.value = data;
@@ -1804,7 +1825,7 @@ function dbgrid_component_settingvue_type_script_setup_true_lang_tsx_isSlot(s) {
1804
1825
  const dbgrid_component_setting_exports_ = /*#__PURE__*/ (0, exportHelper["default"])(dbgrid_component_settingvue_type_script_setup_true_lang_tsx, [
1805
1826
  [
1806
1827
  '__scopeId',
1807
- "data-v-65b0a9d0"
1828
+ "data-v-70d357a6"
1808
1829
  ]
1809
1830
  ]);
1810
1831
  /* ESM default export */ const dbgrid_component_setting = dbgrid_component_setting_exports_;
@@ -3897,7 +3918,7 @@ function useSelectByDirectionEvent(options) {
3897
3918
  };
3898
3919
  }
3899
3920
  function useDataChangeDetector(sources, options) {
3900
- const confirmMessage = options?.confirmMessage || '您有未保存的更改,确定要离开吗?';
3921
+ const confirmMessage = options?.confirmMessage || "您有未保存的更改,确定要离开吗?";
3901
3922
  // 缓存原始数据
3902
3923
  const cacheSources = sources.map((s)=>(0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_shared__.cloneDeep)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(s)));
3903
3924
  let clearSourceWatchList = [];
@@ -3932,13 +3953,14 @@ function useDataChangeDetector(sources, options) {
3932
3953
  sources.forEach((value, index)=>{
3933
3954
  console.log(index, (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(value), cacheSources[index]);
3934
3955
  });
3935
- __WEBPACK_EXTERNAL_MODULE_element_sun__.ElMessageBox.confirm(confirmMessage, '提示', {
3936
- confirmButtonText: '确定',
3937
- cancelButtonText: '取消',
3938
- type: 'warning'
3956
+ __WEBPACK_EXTERNAL_MODULE_element_sun__.ElMessageBox.confirm(confirmMessage, "提示", {
3957
+ confirmButtonText: "确定",
3958
+ cancelButtonText: "取消",
3959
+ type: "warning"
3939
3960
  }).then(async ()=>{
3940
3961
  next();
3941
3962
  }).catch(()=>{
3963
+ if (options?.cancelFn) options.cancelFn();
3942
3964
  next(false);
3943
3965
  });
3944
3966
  return;
@@ -5186,7 +5208,7 @@ const pluginMainRequest = async (methodName, params)=>{
5186
5208
  const result = await Api.PluginMain[methodName](paramsJson);
5187
5209
  const { ...res } = JSON.parse(result);
5188
5210
  // console.log("params", params);
5189
- // console.log("res", JSON.parse(result));
5211
+ console.log("出参", JSON.parse(result));
5190
5212
  if (!res.success) __WEBPACK_EXTERNAL_MODULE_element_sun__.ElMessage.error(res.errorMessage);
5191
5213
  return [
5192
5214
  res.success ? void 0 : res,
@@ -6169,8 +6191,12 @@ function useUpdateInvoiceFormConfig(options) {
6169
6191
  }
6170
6192
  const currentNo = Number(modelValue.value?.currentNo);
6171
6193
  const endNo = Number(modelValue.value?.endNo);
6172
- const numValue = Number(value);
6173
- if (numValue < currentNo || numValue > endNo) callback(new Error(`调整后票号需在${modelValue.value?.currentNo}-${modelValue.value?.endNo}之间`));
6194
+ const numValue = Number(value); // 如果当前票号和结束票号一致,且调整后票号也一致,直接通过
6195
+ if (currentNo === endNo && numValue === currentNo) {
6196
+ callback();
6197
+ return;
6198
+ }
6199
+ if (numValue <= currentNo || numValue > endNo) callback(new Error(`调整后票号需在当前票号和结束票号之间!`));
6174
6200
  else callback();
6175
6201
  },
6176
6202
  trigger: [
@@ -7293,7 +7319,9 @@ const Title_exports_ = Titlevue_type_script_setup_true_lang_ts_name_sunTitle;
7293
7319
  };
7294
7320
  /** 提交 */ const confirmFn = async ()=>{
7295
7321
  const isValid = await formRef.value.ref.validate();
7322
+ const isEndNo = updateModel.value?.currentNo === modelValue.value?.currentNo && modelValue.value?.currentNo === modelValue.value?.endNo;
7296
7323
  if (!isValid) return [];
7324
+ if (isEndNo) __WEBPACK_EXTERNAL_MODULE_element_sun__.ElMessage.error("无可用票号,无法修改");
7297
7325
  const params = {
7298
7326
  invoiceAllotId: originData.value?.invoiceAllotId,
7299
7327
  currentNo: updateModel.value?.currentNo,
@@ -7942,9 +7970,20 @@ const access_infovue_type_script_setup_true_lang_ts_name_accessInfo_hoisted_3 =
7942
7970
  "code"
7943
7971
  ])) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true),
7944
7972
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", access_infovue_type_script_setup_true_lang_ts_name_accessInfo_hoisted_3, [
7973
+ _ctx.clearBtn ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)(_component_el_button, {
7974
+ key: 0,
7975
+ type: "primary",
7976
+ plain: "",
7977
+ onClick: clearFn
7978
+ }, {
7979
+ default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
7980
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(_ctx.btnTitle), 1)
7981
+ ]),
7982
+ _: 1
7983
+ })) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true),
7945
7984
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.renderSlot)(_ctx.$slots, "default"),
7946
7985
  _ctx.invoiceConfig ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(invoice), {
7947
- key: 0,
7986
+ key: 1,
7948
7987
  ref_key: "invoiceRef",
7949
7988
  ref: invoiceRef,
7950
7989
  "menu-id": _ctx.menuId,
@@ -7953,18 +7992,7 @@ const access_infovue_type_script_setup_true_lang_ts_name_accessInfo_hoisted_3 =
7953
7992
  }, null, 8, [
7954
7993
  "menu-id",
7955
7994
  "invoice-usage-code"
7956
- ])) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true),
7957
- _ctx.clearBtn ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)(_component_el_button, {
7958
- key: 1,
7959
- type: "primary",
7960
- plain: "",
7961
- onClick: clearFn
7962
- }, {
7963
- default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
7964
- (0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(_ctx.btnTitle), 1)
7965
- ]),
7966
- _: 1
7967
- })) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true)
7995
+ ])) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true)
7968
7996
  ])
7969
7997
  ]),
7970
7998
  _ctx.showBanner && bannerCode.value ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(BannerInfo), {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sun-biz",
3
- "version": "0.0.4-beta.8",
3
+ "version": "0.0.4-beta.9",
4
4
  "type": "module",
5
5
  "workspaces": [
6
6
  "src/*",