@gct-paas/word 0.2.3 → 0.2.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/index.es.js +4 -4
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @gct-paas/word v0.2.
|
|
1
|
+
/*! @gct-paas/word v0.2.4 */
|
|
2
2
|
import { Fragment, Suspense, Teleport, Transition, TransitionGroup, cloneVNode, computed, createApp, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createStaticVNode, createTextVNode, createVNode, defineAsyncComponent, defineComponent, getCurrentInstance, getCurrentScope, guardReactiveProps, h, inject, isRef, isVNode, markRaw, mergeModels, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onBeforeMount, onBeforeUnmount, onMounted, onScopeDispose, onUnmounted, openBlock, provide, reactive, readonly, ref, render, renderList, renderSlot, resolveComponent, resolveDynamicComponent, shallowRef, toDisplayString, toHandlers, toRaw, toRef, toValue, unref, useAttrs, useCssVars, useModel, useSlots, vModelRadio, vModelText, vShow, watch, watchEffect, withCtx, withDirectives, withKeys, withModifiers } from "vue";
|
|
3
3
|
import Rt, { PopperWrapper } from "floating-vue";
|
|
4
4
|
import VueKonva from "vue-konva";
|
|
@@ -127889,9 +127889,9 @@ var init_material_consume_table_controller = __esmMin((() => {
|
|
|
127889
127889
|
if (!materialNo) return;
|
|
127890
127890
|
try {
|
|
127891
127891
|
await this.validateReinspectionDate({
|
|
127892
|
-
product_id_: selectedOption.product_id_ ?? row.product_id_,
|
|
127892
|
+
product_id_: (selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.product_id_) ?? row.product_id_,
|
|
127893
127893
|
material_no_: materialNo,
|
|
127894
|
-
material_no_id_: selectedOption.id_
|
|
127894
|
+
material_no_id_: selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.id_
|
|
127895
127895
|
});
|
|
127896
127896
|
} catch (e) {
|
|
127897
127897
|
doc.dataManager.setMultiple({
|
|
@@ -127902,7 +127902,7 @@ var init_material_consume_table_controller = __esmMin((() => {
|
|
|
127902
127902
|
this.error(e.message);
|
|
127903
127903
|
return;
|
|
127904
127904
|
}
|
|
127905
|
-
doc.dataManager.setMultiple({ [`${rowPath}.product_id_`]: selectedOption.product_id_ }, "user");
|
|
127905
|
+
if (selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.product_id_) doc.dataManager.setMultiple({ [`${rowPath}.product_id_`]: selectedOption.product_id_ }, "user");
|
|
127906
127906
|
}
|
|
127907
127907
|
const rowData = doc.dataManager.getRawData()[parentFieldKey][dataIndex];
|
|
127908
127908
|
const value = this.getDefaultValue(rowData);
|