form-custom-test 3.0.250 → 3.0.252

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/render.es.js CHANGED
@@ -26859,13 +26859,13 @@ function registerIcon(app) {
26859
26859
  if (typeof window !== "undefined") {
26860
26860
  let loadSvg = function() {
26861
26861
  var body = document.body;
26862
- var svgDom = document.getElementById("__svg__icons__dom__1789891339643__");
26862
+ var svgDom = document.getElementById("__svg__icons__dom__1789893478299__");
26863
26863
  if (!svgDom) {
26864
26864
  svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
26865
26865
  svgDom.style.position = "absolute";
26866
26866
  svgDom.style.width = "0";
26867
26867
  svgDom.style.height = "0";
26868
- svgDom.id = "__svg__icons__dom__1789891339643__";
26868
+ svgDom.id = "__svg__icons__dom__1789893478299__";
26869
26869
  svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
26870
26870
  svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
26871
26871
  }
@@ -66596,6 +66596,8 @@ const _sfc_main$b = {
66596
66596
  try {
66597
66597
  const formValues = await renderRef.getFormData(true);
66598
66598
  console.log(formValues, "formValues");
66599
+ formValues.contractTermStart = formValues.rentContractTerm[0];
66600
+ formValues.contractTermEnd = formValues.rentContractTerm[1];
66599
66601
  this.$emit("confirm", formValues);
66600
66602
  this.dialogVisible = false;
66601
66603
  } catch (e) {
@@ -66662,7 +66664,7 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
66662
66664
  _: 1
66663
66665
  }, 8, ["modelValue", "title", "onClose"]);
66664
66666
  }
66665
- var LeaseDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$b, [["render", _sfc_render$b], ["__scopeId", "data-v-3ea56bcb"]]);
66667
+ var LeaseDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$b, [["render", _sfc_render$b], ["__scopeId", "data-v-5d97b9d6"]]);
66666
66668
  var index_vue_vue_type_style_index_0_lang = "";
66667
66669
  const _sfc_main$a = {
66668
66670
  name: "lease-table-widget",
@@ -66831,6 +66833,10 @@ const _sfc_main$a = {
66831
66833
  this.dialogMode = "edit";
66832
66834
  this.dialogDisabled = false;
66833
66835
  this.dialogData = lodash.exports.cloneDeep(this.fieldModel[index2]);
66836
+ const { contractTermStart, contractTermEnd } = this.dialogData;
66837
+ if (contractTermStart && contractTermEnd) {
66838
+ this.dialogData.rentContractTerm = [contractTermStart, contractTermEnd];
66839
+ }
66834
66840
  this.triggerEvent("onOpen", this.dialogData);
66835
66841
  this.dialogVisible = true;
66836
66842
  },
@@ -66842,6 +66848,10 @@ const _sfc_main$a = {
66842
66848
  this.dialogMode = "view";
66843
66849
  this.dialogDisabled = true;
66844
66850
  this.dialogData = lodash.exports.cloneDeep(this.fieldModel[index2]);
66851
+ const { contractTermStart, contractTermEnd } = this.dialogData;
66852
+ if (contractTermStart && contractTermEnd) {
66853
+ this.dialogData.rentContractTerm = [contractTermStart, contractTermEnd];
66854
+ }
66845
66855
  this.triggerEvent("onOpen", this.dialogData);
66846
66856
  this.dialogVisible = true;
66847
66857
  },
@@ -66976,7 +66986,8 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
66976
66986
  prop: "leaseRemark",
66977
66987
  label: "\u79DF\u8D41\u5907\u6CE8",
66978
66988
  "min-width": "120",
66979
- align: "right"
66989
+ align: "right",
66990
+ "show-overflow-tooltip": ""
66980
66991
  }, {
66981
66992
  default: withCtx(({ row }) => [
66982
66993
  createTextVNode(toDisplayString(row.leaseRemarks || "-"), 1)