sun-biz 0.0.4-beta.3 → 0.0.4-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/index.js +6 -3
- package/dist/index.js +6 -3
- package/package.json +1 -1
package/dist/components/index.js
CHANGED
|
@@ -4965,7 +4965,10 @@ var constant_DATA_SOURCE_CONTENT_TYPE_CODE = /*#__PURE__*/ function(DATA_SOURCE_
|
|
|
4965
4965
|
options.onCancel?.(); // 触发取消回调
|
|
4966
4966
|
closeDialog();
|
|
4967
4967
|
},
|
|
4968
|
-
class: isFullscreen.value ? "custom-dialog custom-dialog__bodyContent" : "custom-dialog"
|
|
4968
|
+
class: isFullscreen.value ? "custom-dialog custom-dialog__bodyContent" : "custom-dialog",
|
|
4969
|
+
"close-on-click-modal": false,
|
|
4970
|
+
"close-on-press-escape": false,
|
|
4971
|
+
"destroy-on-close": true
|
|
4969
4972
|
}, {
|
|
4970
4973
|
header: ()=>(0, __WEBPACK_EXTERNAL_MODULE_vue__.h)("div", {}, [
|
|
4971
4974
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.h)("span", {}, title),
|
|
@@ -7672,7 +7675,7 @@ function useUpdateInvoiceFormConfig(options) {
|
|
|
7672
7675
|
};
|
|
7673
7676
|
/** 提交 */ const confirmFn = async ()=>{
|
|
7674
7677
|
const isValid = await formRef.value.ref.validate();
|
|
7675
|
-
if (isValid) return [];
|
|
7678
|
+
if (!isValid) return [];
|
|
7676
7679
|
const params = {
|
|
7677
7680
|
invoiceAllotId: originData.value?.invoiceAllotId,
|
|
7678
7681
|
currentNo: updateModel.value?.currentNo,
|
|
@@ -7703,7 +7706,7 @@ function useUpdateInvoiceFormConfig(options) {
|
|
|
7703
7706
|
"confirm-fn": confirmFn,
|
|
7704
7707
|
onSuccess: _cache[2] || (_cache[2] = ()=>{
|
|
7705
7708
|
emits('success');
|
|
7706
|
-
formRef.value.
|
|
7709
|
+
formRef.value.ref?.resetFields();
|
|
7707
7710
|
})
|
|
7708
7711
|
}, {
|
|
7709
7712
|
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
|
package/dist/index.js
CHANGED
|
@@ -5421,7 +5421,10 @@ var constant_DATA_SOURCE_CONTENT_TYPE_CODE = /*#__PURE__*/ function(DATA_SOURCE_
|
|
|
5421
5421
|
options.onCancel?.(); // 触发取消回调
|
|
5422
5422
|
closeDialog();
|
|
5423
5423
|
},
|
|
5424
|
-
class: isFullscreen.value ? "custom-dialog custom-dialog__bodyContent" : "custom-dialog"
|
|
5424
|
+
class: isFullscreen.value ? "custom-dialog custom-dialog__bodyContent" : "custom-dialog",
|
|
5425
|
+
"close-on-click-modal": false,
|
|
5426
|
+
"close-on-press-escape": false,
|
|
5427
|
+
"destroy-on-close": true
|
|
5425
5428
|
}, {
|
|
5426
5429
|
header: ()=>(0, __WEBPACK_EXTERNAL_MODULE_vue__.h)("div", {}, [
|
|
5427
5430
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.h)("span", {}, title),
|
|
@@ -6907,7 +6910,7 @@ const Title_exports_ = Titlevue_type_script_setup_true_lang_ts_name_sunTitle;
|
|
|
6907
6910
|
};
|
|
6908
6911
|
/** 提交 */ const confirmFn = async ()=>{
|
|
6909
6912
|
const isValid = await formRef.value.ref.validate();
|
|
6910
|
-
if (isValid) return [];
|
|
6913
|
+
if (!isValid) return [];
|
|
6911
6914
|
const params = {
|
|
6912
6915
|
invoiceAllotId: originData.value?.invoiceAllotId,
|
|
6913
6916
|
currentNo: updateModel.value?.currentNo,
|
|
@@ -6938,7 +6941,7 @@ const Title_exports_ = Titlevue_type_script_setup_true_lang_ts_name_sunTitle;
|
|
|
6938
6941
|
"confirm-fn": confirmFn,
|
|
6939
6942
|
onSuccess: _cache[2] || (_cache[2] = ()=>{
|
|
6940
6943
|
emits('success');
|
|
6941
|
-
formRef.value.
|
|
6944
|
+
formRef.value.ref?.resetFields();
|
|
6942
6945
|
})
|
|
6943
6946
|
}, {
|
|
6944
6947
|
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
|