@gct-paas/excel 0.1.28-beta.0 → 0.1.28-beta.2
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/{VueVideoPlayer-DoCV5anE.js → VueVideoPlayer-B6X1JmEL.js} +2 -2
- package/dist/{agg-design-FWqhGZMN.js → agg-design-DZpDRz0Y.js} +1 -1
- package/dist/{agg-props-Demj2zwb.js → agg-props-ockP_cAM.js} +1 -1
- package/dist/{agg-style-0D2plP6P.js → agg-style-C7nWM2if.js} +1 -1
- package/dist/{align-editor-BT_0oTzG.js → align-editor-DpWvsI_x.js} +1 -1
- package/dist/{attach-fields-editor-Bh-SLSaJ.js → attach-fields-editor-BbWYEXfG.js} +2 -2
- package/dist/{barcode-design-B6DeTtec.js → barcode-design-D1hSeWVJ.js} +2 -2
- package/dist/base/index.es.js +10 -5
- package/dist/{base-font-editor-rUy04_I5.js → base-font-editor-DFHc_3JJ.js} +2 -2
- package/dist/{boolean-design-s-0j811G.js → boolean-design-UO0nUx1k.js} +2 -2
- package/dist/{boolean-props-BKDCL1yv.js → boolean-props--l1hf_NI.js} +3 -3
- package/dist/{boolean-style-z1WMMTXQ.js → boolean-style-Dqwd3N4b.js} +4 -4
- package/dist/{cell-upload-DIfLFlqF.js → cell-upload-PkWTiWYW.js} +1 -1
- package/dist/{date-range-editor-Bl5qPmvu.js → date-range-editor-CVQsTg3G.js} +2 -2
- package/dist/{date-time-design-BTNkgPAM.js → date-time-design-DmeUPsi-.js} +1 -1
- package/dist/{date-time-props-DiVxg9n4.js → date-time-props-DqAAdD7L.js} +3 -3
- package/dist/{date-time-style-yt5pO1dc.js → date-time-style-BTtKVpV4.js} +1 -1
- package/dist/{decimal-design-BW5UQRTH.js → decimal-design-DQ-61MMF.js} +1 -1
- package/dist/{decimal-display-mode-BWR1rZ3-.js → decimal-display-mode-CPL-jNCK.js} +2 -2
- package/dist/{decimal-props-S3vHwaWf.js → decimal-props-DUeC4_o5.js} +4 -4
- package/dist/{decimal-style-6q9_KbIT.js → decimal-style-B-0QILJa.js} +1 -1
- package/dist/{default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-B51R6Kdt.js → default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-CeTlpjT4.js} +2 -2
- package/dist/{diagonal-design-BKuv-KYn.js → diagonal-design-Cx7RTy6_.js} +2 -2
- package/dist/{double-design-CrnloQ6U.js → double-design-Bpuy9Ss3.js} +1 -1
- package/dist/{double-props-CIqRhF3C.js → double-props-BLp5rMS0.js} +4 -4
- package/dist/{double-style-BRXKv9Tt.js → double-style-BQT4UDRo.js} +1 -1
- package/dist/{dynamic-table-action-B3_wsebH.js → dynamic-table-action-CT_aYOca.js} +2 -2
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-_s66osEc.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-SAa6KGYz.js} +461 -368
- package/dist/{edit.utils-CXmmCnxE-C1IiqVhe.js → edit.utils-CXmmCnxE-CrBcZqbG.js} +1 -1
- package/dist/{enum-design-4iAQqQWj.js → enum-design-DTh9UhHf.js} +2 -2
- package/dist/{enum-props-BTNED9Yi.js → enum-props-J-3PLabW.js} +3 -3
- package/dist/{enum-style-BKunBcCU.js → enum-style-h5lmzZD_.js} +3 -3
- package/dist/excel.css +20 -20
- package/dist/{exceljs.min-DqUfJ7Zu.js → exceljs.min-mW_Nqru2.js} +2 -2
- package/dist/{expression-design-Avbzm2SR.js → expression-design-Cbi_6pnX.js} +1 -1
- package/dist/{expression-props-BJ2AaS83.js → expression-props-DuvdDUWt.js} +1 -1
- package/dist/{expression-style-Cf0ZciKB.js → expression-style-CcdTrGye.js} +1 -1
- package/dist/{file-design-DXTNk70M.js → file-design-Cix4ztNq.js} +1 -1
- package/dist/{file-props-GieYTgUG.js → file-props-DvZgFCjv.js} +2 -2
- package/dist/{file-style-CLDdPXPd.js → file-style-DTXliETB.js} +1 -1
- package/dist/{font-editor-DFkc4KNc.js → font-editor-D_4CECiK.js} +3 -3
- package/dist/{image-design-DWY2Pn2m.js → image-design-BxFQTm4-.js} +2 -2
- package/dist/{image-design-J45gqUS9.js → image-design-IaQbw4Bv.js} +1 -1
- package/dist/{image-props-DZmoqEbT.js → image-props-BmLfiJIb.js} +1 -1
- package/dist/{image-style-C41-zdmF.js → image-style-BuGQiWh9.js} +1 -1
- package/dist/{index-BNn5fobS.js → index-1kSDRqJL.js} +1 -1
- package/dist/{index-C0K1pWGN.js → index-5E89tzgQ.js} +1 -1
- package/dist/{index-B3D6zOat.js → index-6AnvwL1T.js} +1 -1
- package/dist/{index-DsVq6bop.js → index-BCFgHqQ4.js} +1 -1
- package/dist/{index-vDKWJHdv.js → index-BKQgEYOt.js} +1 -1
- package/dist/{index-O2psifaU.js → index-BRifPJNN.js} +2 -2
- package/dist/{index-CR7wxW9-.js → index-BSWx0ysi.js} +1 -1
- package/dist/{index-Kc67z3Sn.js → index-BUEsJ6db.js} +1 -1
- package/dist/{index-C6-vGm0H.js → index-BuucdbMD.js} +1 -1
- package/dist/{index-CYKuotDL.js → index-C7XazAkv.js} +2 -2
- package/dist/{index-Dlcg-_u1.js → index-CO1Iw_97.js} +1 -1
- package/dist/{index-DyTI4fVG.js → index-CSGDQQxf.js} +1 -1
- package/dist/{index-s5kgaRm2.js → index-CYc23F99.js} +1 -1
- package/dist/{index-DIknXBmB.js → index-CdoJjtvt.js} +2 -2
- package/dist/{index-Cir8zmM7.js → index-CmfE-VkX.js} +1 -1
- package/dist/{index-ZKvvKhlF.js → index-CvefH3Ld.js} +1 -1
- package/dist/{index-DxfrB4yU.js → index-DAVndG-D.js} +2 -2
- package/dist/{index-DRfeEqsi.js → index-DG8SGSHV.js} +1 -1
- package/dist/{index-BsOmgpN3.js → index-DIHeOfRf.js} +1 -1
- package/dist/{index-DpPM2hsI.js → index-DJsySg7Z.js} +1 -1
- package/dist/{index-BtUdO868.js → index-DayP0trN.js} +1 -1
- package/dist/{index-Bs_2N-BE.js → index-Dl48Dmuf.js} +1 -1
- package/dist/{index-BlnMSgZL.js → index-DnxIXenr.js} +2 -2
- package/dist/{index-DXZ9-91Q.js → index-DuELqbrc.js} +1 -1
- package/dist/{index-B-UBLtsV.js → index-HHW_GvS9.js} +1 -1
- package/dist/{index-Izpo3y-u.js → index-PgmRu5Zh.js} +1 -1
- package/dist/{index-D-uEhZUx.js → index-T_P3hv-X.js} +2 -2
- package/dist/{index-B9nlN0jW.js → index-V3KPtSlA.js} +1 -1
- package/dist/{index-C4hw1NhV.js → index-VU8yct3A.js} +1 -1
- package/dist/{index-5k7C2AD1.js → index-aZhb-M_v.js} +1 -1
- package/dist/{index-BHIdTmFi.js → index-hcp9zj3F.js} +80 -50
- package/dist/{index-FJf8yRGg.js → index-hkXYQoCV.js} +1 -1
- package/dist/{index-Iri9iQ7A.js → index-uIR6j0YE.js} +1 -1
- package/dist/index.es.js +2 -2
- package/dist/{integer-design-oIq4PZgB.js → integer-design-B48BapfF.js} +1 -1
- package/dist/{integer-props-Dv0CFbj2.js → integer-props-G5n3P-Vt.js} +4 -4
- package/dist/{integer-style-CQsFEa78.js → integer-style-yziEYd90.js} +1 -1
- package/dist/{mb-render-13-1F66x.js → mb-render-DiWQ5hOn.js} +1 -1
- package/dist/{number-input-ex-b3jwWBec.js → number-input-ex-6e_-B7y7.js} +1 -1
- package/dist/{org-props-CP6UEZUk.js → org-props-uZzEnRfn.js} +2 -2
- package/dist/{org-style-CVX9tnGL.js → org-style-CtYMw9ob.js} +1 -1
- package/dist/{pagination-design-CzI3BVnu.js → pagination-design-CdnyxoR4.js} +2 -2
- package/dist/paper-widget-design-gmMHiQFV.js +4 -0
- package/dist/{qrcode-design-eO4Bd2-V.js → qrcode-design-Bh_lT1Yn.js} +1 -1
- package/dist/{ref-autofill-editor-DXDYy7g2.js → ref-autofill-editor-99WrBySm.js} +2 -2
- package/dist/{ref-props-Aiwbx2BA.js → ref-props-BGzOHDvi.js} +3 -3
- package/dist/{ref-style-BYC5yPHt.js → ref-style-C1-VGUt9.js} +1 -1
- package/dist/{regex-editor-DWglxD2y.js → regex-editor-BAjvqlvo.js} +2 -2
- package/dist/{revo-grid.entry-DxhjfysT.js → revo-grid.entry-Cg-4cMIo.js} +1 -1
- package/dist/{revogr-attribution_7.entry-ChJzXX9c.js → revogr-attribution_7.entry-DzamtFvo.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-CTfO-vHs.js → revogr-clipboard_3.entry-CIxDfW07.js} +2 -2
- package/dist/{revogr-data_4.entry-DpsZq5Vu.js → revogr-data_4.entry-BNENcgpR.js} +2 -2
- package/dist/{revogr-filter-panel.entry-CkNGH07B.js → revogr-filter-panel.entry-BrYsomo0.js} +1 -1
- package/dist/{select-render-type-editor.vue_vue_type_script_setup_true_lang-D36XgznF.js → select-render-type-editor.vue_vue_type_script_setup_true_lang-Dg2h8nwx.js} +2 -2
- package/dist/{serialnumber-design-cvNqTdU4.js → serialnumber-design-BsAogg1u.js} +1 -1
- package/dist/shared/index.es.js +2 -2
- package/dist/{signature-design-CxYVBP9N.js → signature-design-sSyiIxFB.js} +1 -1
- package/dist/{signature-props-Cs3PONrq.js → signature-props-CYmd9GVl.js} +3 -3
- package/dist/{signature-style-CAa92-pw.js → signature-style-wLJo19Kd.js} +1 -1
- package/dist/{single-field-drop-BXX5wlj_.js → single-field-drop-CilJB5DX.js} +2 -2
- package/dist/{size-editor-B4aRo4sR.js → size-editor-DnyvSWUn.js} +1 -1
- package/dist/src/assets/svgs/table/index.d.ts +1 -0
- package/dist/src/domain/table/business/material/material-requisition/index.d.ts +2 -0
- package/dist/src/domain/table/business/material/material-requisition/profile/field-keys.d.ts +35 -0
- package/dist/src/domain/table/business/material/material-requisition/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/material/material-requisition/profile/index.d.ts +3 -0
- package/dist/src/domain/table/business/material/material-requisition/runtime/register-handlers.d.ts +1 -0
- package/dist/src/domain/table/business/material/material-requisition/runtime/row-change-handlers.d.ts +6 -0
- package/dist/src/domain/table/types.d.ts +2 -2
- package/dist/src/nocode-base/src/constant/index.d.ts +3 -1
- package/dist/src/nocode-base/src/core/sub-table/profile-driven-sub-table-core.d.ts +3 -0
- package/dist/src/online-form/src/views/designer/enums/index.d.ts +2 -1
- package/dist/src/shared/enum/online-form.d.ts +3 -1
- package/dist/{text-design-DbDDDCTT.js → text-design-7Cct8yh2.js} +2 -2
- package/dist/{text-design-vFgsAOs6.js → text-design-DKPFi1Rh.js} +2 -2
- package/dist/{text-props-LQ8JxfCA.js → text-props-a-16iwJu.js} +4 -4
- package/dist/{text-style-CKBIm6Y6.js → text-style-CRqOGAZr.js} +1 -1
- package/dist/{throttle-Cpk1LoGk-CJfuMBhT.js → throttle-Cpk1LoGk-BYyz4gtI.js} +1 -1
- package/dist/{timediff-design-C7qKjT0h.js → timediff-design-JHt1-ug6.js} +1 -1
- package/dist/{trace-design-DdHPN-JX.js → trace-design-DAHDTG5n.js} +2 -2
- package/dist/{trace-props-BSRELXnc.js → trace-props-B5FBtpNR.js} +6 -6
- package/dist/{trace-style-BOx3LU4R.js → trace-style-CgdePCcv.js} +1 -1
- package/dist/{user-props-DCy_CVdE.js → user-props-BJVjolL7.js} +2 -2
- package/dist/{user-style-BbXij2Ui.js → user-style-D17ZPHqU.js} +1 -1
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-DqIfRgzS.js → value-editor.vue_vue_type_style_index_0_lang-J3MR2K39.js} +2 -2
- package/dist/{version-select--5mTgIzw.js → version-select-Bw8yzDaH.js} +1 -1
- package/dist/web-render/index.es.js +2 -2
- package/dist/{widget-barcode-BYZx9koE.js → widget-barcode-IbgHM5xo.js} +4 -4
- package/dist/{widget-diagonal-CbEoMTV6.js → widget-diagonal-juPAlqEe.js} +3 -3
- package/dist/{widget-image-Bgb0W9tX.js → widget-image-Dnaej-nk.js} +5 -5
- package/dist/{widget-line-xBvHpkdt.js → widget-line-DL9jw_oY.js} +2 -2
- package/dist/{widget-pagination-BjH75g8_.js → widget-pagination-BlRJo3n4.js} +5 -5
- package/dist/{widget-power-Bvr05ltd.js → widget-power-CIC6itUt.js} +3 -3
- package/dist/{widget-qrcode-Bj-ntq_n.js → widget-qrcode-BWEOVEZg.js} +3 -3
- package/dist/{widget-rangelimit-BHa420t4.js → widget-rangelimit-C4KG56d-.js} +3 -3
- package/dist/{widget-serialnumber-BoYlmag6.js → widget-serialnumber-DnfRRyBY.js} +1 -1
- package/dist/{widget-text-_Q96wqKl.js → widget-text-C7d0ZrX3.js} +5 -5
- package/dist/{widget-timediff-DtoWALwY.js → widget-timediff-FAvqRtXk.js} +2 -2
- package/package.json +1 -1
- package/dist/paper-widget-design-DMIGXtG2.js +0 -4
|
@@ -429,6 +429,7 @@ var SubTableType = /* @__PURE__ */ ((SubTableType2) => {
|
|
|
429
429
|
SubTableType2["WAREHOUSE_OUTBOUND"] = "WAREHOUSE_OUTBOUND";
|
|
430
430
|
SubTableType2["PART_STOCKTAKE"] = "PART_STOCKTAKE";
|
|
431
431
|
SubTableType2["DEVICE_PART_CONSUME"] = "DEVICE_PART_CONSUME";
|
|
432
|
+
SubTableType2["MATERIAL_REQUISITION"] = "MATERIAL_REQUISITION";
|
|
432
433
|
return SubTableType2;
|
|
433
434
|
})(SubTableType || {});
|
|
434
435
|
const PaperSizeMap = computed(() => ({
|
|
@@ -698,6 +699,7 @@ var onlineFormMasterModelTypeEnum = /* @__PURE__ */ ((onlineFormMasterModelTypeE
|
|
|
698
699
|
onlineFormMasterModelTypeEnum2["WAREHOUSE_OUTBOUND"] = "WAREHOUSE_OUTBOUND";
|
|
699
700
|
onlineFormMasterModelTypeEnum2["PART_STOCKTAKE"] = "PART_STOCKTAKE";
|
|
700
701
|
onlineFormMasterModelTypeEnum2["DEVICE_PART_CONSUME"] = "DEVICE_PART_CONSUME";
|
|
702
|
+
onlineFormMasterModelTypeEnum2["MATERIAL_REQUISITION"] = "MATERIAL_REQUISITION";
|
|
701
703
|
return onlineFormMasterModelTypeEnum2;
|
|
702
704
|
})(onlineFormMasterModelTypeEnum || {});
|
|
703
705
|
var RecordNoGenerateEnum = /* @__PURE__ */ ((RecordNoGenerateEnum2) => {
|
|
@@ -62987,9 +62989,9 @@ function calcFillData(data, fillMapArr) {
|
|
|
62987
62989
|
}
|
|
62988
62990
|
return obj;
|
|
62989
62991
|
}
|
|
62990
|
-
const TABLE_TYPE$
|
|
62991
|
-
const profile$
|
|
62992
|
-
type: TABLE_TYPE$
|
|
62992
|
+
const TABLE_TYPE$h = "dynamic-table";
|
|
62993
|
+
const profile$h = {
|
|
62994
|
+
type: TABLE_TYPE$h,
|
|
62993
62995
|
label: "动态表",
|
|
62994
62996
|
labelKey: "sys.onlineForm.subTableType.DEFAULT",
|
|
62995
62997
|
category: "data",
|
|
@@ -63011,9 +63013,9 @@ const profile$g = {
|
|
|
63011
63013
|
labelBjColor: "rgba(164,123,222,0.8)"
|
|
63012
63014
|
}
|
|
63013
63015
|
};
|
|
63014
|
-
const TABLE_TYPE$
|
|
63015
|
-
const profile$
|
|
63016
|
-
type: TABLE_TYPE$
|
|
63016
|
+
const TABLE_TYPE$g = "fixed-table";
|
|
63017
|
+
const profile$g = {
|
|
63018
|
+
type: TABLE_TYPE$g,
|
|
63017
63019
|
label: "固定表",
|
|
63018
63020
|
labelKey: "sys.onlineForm.subTableType.FIXED",
|
|
63019
63021
|
category: "data",
|
|
@@ -63034,9 +63036,9 @@ const profile$f = {
|
|
|
63034
63036
|
labelBjColor: "rgba(176,148,124,0.8)"
|
|
63035
63037
|
}
|
|
63036
63038
|
};
|
|
63037
|
-
const TABLE_TYPE$
|
|
63038
|
-
const profile$
|
|
63039
|
-
type: TABLE_TYPE$
|
|
63039
|
+
const TABLE_TYPE$f = "two-d-table";
|
|
63040
|
+
const profile$f = {
|
|
63041
|
+
type: TABLE_TYPE$f,
|
|
63040
63042
|
label: "二维表",
|
|
63041
63043
|
labelKey: "sys.onlineForm.subTableType.2D",
|
|
63042
63044
|
category: "data",
|
|
@@ -63058,9 +63060,9 @@ const profile$e = {
|
|
|
63058
63060
|
labelBjColor: "rgba(225,173,1,0.8)"
|
|
63059
63061
|
}
|
|
63060
63062
|
};
|
|
63061
|
-
const TABLE_TYPE$
|
|
63062
|
-
const profile$
|
|
63063
|
-
type: TABLE_TYPE$
|
|
63063
|
+
const TABLE_TYPE$e = "warehouse-in-out";
|
|
63064
|
+
const profile$e = {
|
|
63065
|
+
type: TABLE_TYPE$e,
|
|
63064
63066
|
label: "出入库明细表",
|
|
63065
63067
|
labelKey: "sys.pageDesigner.fieldCmp.warehouse_in_out",
|
|
63066
63068
|
category: "business",
|
|
@@ -63140,7 +63142,7 @@ function expandAutofillTemplates(templates, ctx) {
|
|
|
63140
63142
|
toField: resolveAutofillToField(template, ctx.sourceFieldKey)
|
|
63141
63143
|
}));
|
|
63142
63144
|
}
|
|
63143
|
-
const F$
|
|
63145
|
+
const F$9 = {
|
|
63144
63146
|
/** 物料 */
|
|
63145
63147
|
product: "product_id_",
|
|
63146
63148
|
/** 物料名称 */
|
|
@@ -63156,11 +63158,11 @@ const F$8 = {
|
|
|
63156
63158
|
/** 生产批次/SN */
|
|
63157
63159
|
lotSn: "lot_sn_id_"
|
|
63158
63160
|
};
|
|
63159
|
-
const READONLY_INFO_FIELDS$1 = [F$
|
|
63160
|
-
const CLEAR_ON_PRODUCT_EMPTY$
|
|
63161
|
-
const fields$
|
|
63161
|
+
const READONLY_INFO_FIELDS$1 = [F$9.productName, F$9.productCode, F$9.productSpec];
|
|
63162
|
+
const CLEAR_ON_PRODUCT_EMPTY$5 = [F$9.productName, F$9.productCode, F$9.productSpec];
|
|
63163
|
+
const fields$9 = [
|
|
63162
63164
|
{
|
|
63163
|
-
match: { fieldKey: F$
|
|
63165
|
+
match: { fieldKey: F$9.product },
|
|
63164
63166
|
autofillTemplates: [
|
|
63165
63167
|
{
|
|
63166
63168
|
fromField: "name_",
|
|
@@ -63177,7 +63179,7 @@ const fields$8 = [
|
|
|
63177
63179
|
]
|
|
63178
63180
|
},
|
|
63179
63181
|
{
|
|
63180
|
-
match: { fieldKey: [F$
|
|
63182
|
+
match: { fieldKey: [F$9.productName, F$9.productCode, F$9.productSpec] },
|
|
63181
63183
|
defaultProps: {
|
|
63182
63184
|
disabled: true,
|
|
63183
63185
|
fieldDisabled: true,
|
|
@@ -63185,9 +63187,9 @@ const fields$8 = [
|
|
|
63185
63187
|
}
|
|
63186
63188
|
}
|
|
63187
63189
|
];
|
|
63188
|
-
const TABLE_TYPE$
|
|
63189
|
-
const profile$
|
|
63190
|
-
type: TABLE_TYPE$
|
|
63190
|
+
const TABLE_TYPE$d = "warehouse-in";
|
|
63191
|
+
const profile$d = {
|
|
63192
|
+
type: TABLE_TYPE$d,
|
|
63191
63193
|
label: "入库明细表",
|
|
63192
63194
|
labelKey: "sys.pageDesigner.fieldCmp.warehouse_in",
|
|
63193
63195
|
category: "business",
|
|
@@ -63200,13 +63202,13 @@ const profile$c = {
|
|
|
63200
63202
|
refModelType: "WAREHOUSE_IN",
|
|
63201
63203
|
tableType: SubTableType.WAREHOUSE_IN
|
|
63202
63204
|
},
|
|
63203
|
-
fields: fields$
|
|
63205
|
+
fields: fields$9,
|
|
63204
63206
|
contextAssignments: [
|
|
63205
|
-
{ when: "onRowInit", fieldKey: F$
|
|
63206
|
-
{ when: "onRowInit", fieldKey: F$
|
|
63207
|
-
{ when: "onRowInit", fieldKey: F$
|
|
63207
|
+
{ when: "onRowInit", fieldKey: F$9.warehouse, paramKey: "warehouseId", onlyIfEmpty: true },
|
|
63208
|
+
{ when: "onRowInit", fieldKey: F$9.mfgOrder, paramKey: "mfgOrderId", onlyIfEmpty: true },
|
|
63209
|
+
{ when: "onRowInit", fieldKey: F$9.lotSn, paramKey: "lotSnId", onlyIfEmpty: true }
|
|
63208
63210
|
],
|
|
63209
|
-
rowHandlers: [{ when: "onFieldChange", watch: [F$
|
|
63211
|
+
rowHandlers: [{ when: "onFieldChange", watch: [F$9.product], handler: "on-product-id-change" }],
|
|
63210
63212
|
runtimeRules: [
|
|
63211
63213
|
{
|
|
63212
63214
|
fields: [...READONLY_INFO_FIELDS$1],
|
|
@@ -63219,19 +63221,19 @@ const profile$c = {
|
|
|
63219
63221
|
labelBjColor: "rgba(8,162,182,0.8)"
|
|
63220
63222
|
}
|
|
63221
63223
|
};
|
|
63222
|
-
function isBlank$
|
|
63224
|
+
function isBlank$a(value) {
|
|
63223
63225
|
return value === void 0 || value === null || value === "";
|
|
63224
63226
|
}
|
|
63225
|
-
function handleProductIdChange$
|
|
63226
|
-
if (!isBlank$
|
|
63227
|
-
for (const fieldKey of CLEAR_ON_PRODUCT_EMPTY$
|
|
63227
|
+
function handleProductIdChange$4(ctx) {
|
|
63228
|
+
if (!isBlank$a(ctx.rowData[F$9.product])) return;
|
|
63229
|
+
for (const fieldKey of CLEAR_ON_PRODUCT_EMPTY$5) {
|
|
63228
63230
|
ctx.rowData[fieldKey] = void 0;
|
|
63229
63231
|
}
|
|
63230
63232
|
}
|
|
63231
|
-
registerRowHandler(TABLE_TYPE$
|
|
63232
|
-
handleProductIdChange$
|
|
63233
|
+
registerRowHandler(TABLE_TYPE$d, "on-product-id-change", ({ rowData }) => {
|
|
63234
|
+
handleProductIdChange$4({ rowData });
|
|
63233
63235
|
});
|
|
63234
|
-
const F$
|
|
63236
|
+
const F$8 = {
|
|
63235
63237
|
/** 物料 */
|
|
63236
63238
|
product: "product_id_",
|
|
63237
63239
|
/** 库存主键(出库选物料时写 option.id_,用于唯一回显) */
|
|
@@ -63259,49 +63261,49 @@ const F$7 = {
|
|
|
63259
63261
|
/** 复检日期 */
|
|
63260
63262
|
reInspectionDate: "re_inspection_date_"
|
|
63261
63263
|
};
|
|
63262
|
-
const DISABLED_INPUT_FIELDS$
|
|
63263
|
-
F$
|
|
63264
|
-
F$
|
|
63265
|
-
F$
|
|
63266
|
-
F$
|
|
63267
|
-
F$
|
|
63268
|
-
F$
|
|
63269
|
-
F$
|
|
63270
|
-
F$
|
|
63271
|
-
F$
|
|
63272
|
-
F$
|
|
63264
|
+
const DISABLED_INPUT_FIELDS$7 = [
|
|
63265
|
+
F$8.productName,
|
|
63266
|
+
F$8.productCode,
|
|
63267
|
+
F$8.productSpec,
|
|
63268
|
+
F$8.materialNo,
|
|
63269
|
+
F$8.warehouse,
|
|
63270
|
+
F$8.location,
|
|
63271
|
+
F$8.mfgOrder,
|
|
63272
|
+
F$8.lotSn,
|
|
63273
|
+
F$8.validity,
|
|
63274
|
+
F$8.reInspectionDate
|
|
63273
63275
|
];
|
|
63274
|
-
const CLEAR_ON_PRODUCT_EMPTY$
|
|
63275
|
-
F$
|
|
63276
|
-
F$
|
|
63277
|
-
F$
|
|
63278
|
-
F$
|
|
63279
|
-
F$
|
|
63280
|
-
F$
|
|
63281
|
-
F$
|
|
63282
|
-
F$
|
|
63283
|
-
F$
|
|
63284
|
-
F$
|
|
63285
|
-
F$
|
|
63286
|
-
F$
|
|
63276
|
+
const CLEAR_ON_PRODUCT_EMPTY$4 = [
|
|
63277
|
+
F$8.inventory,
|
|
63278
|
+
F$8.productName,
|
|
63279
|
+
F$8.productCode,
|
|
63280
|
+
F$8.productSpec,
|
|
63281
|
+
F$8.materialNo,
|
|
63282
|
+
F$8.materialNoId,
|
|
63283
|
+
F$8.warehouse,
|
|
63284
|
+
F$8.location,
|
|
63285
|
+
F$8.mfgOrder,
|
|
63286
|
+
F$8.lotSn,
|
|
63287
|
+
F$8.validity,
|
|
63288
|
+
F$8.reInspectionDate
|
|
63287
63289
|
];
|
|
63288
63290
|
const FILL_FROM_INVENTORY_OPTION$2 = [
|
|
63289
|
-
{ optionField: "id_", toField: F$
|
|
63290
|
-
{ optionField: "product_id_name_", toField: F$
|
|
63291
|
-
{ optionField: "product_id_code_", toField: F$
|
|
63292
|
-
{ optionField: "product_id_spec_", toField: F$
|
|
63293
|
-
{ optionField: "material_no_", toField: F$
|
|
63294
|
-
{ optionField: "production_identification_id_", toField: F$
|
|
63295
|
-
{ optionField: "warehouse_id_", toField: F$
|
|
63296
|
-
{ optionField: "location_id_", toField: F$
|
|
63297
|
-
{ optionField: "mfg_order_id_", toField: F$
|
|
63298
|
-
{ optionField: "lot_sn_id_", toField: F$
|
|
63299
|
-
{ optionField: "validate_", toField: F$
|
|
63300
|
-
{ optionField: "re_inspection_date_", toField: F$
|
|
63291
|
+
{ optionField: "id_", toField: F$8.inventory },
|
|
63292
|
+
{ optionField: "product_id_name_", toField: F$8.productName },
|
|
63293
|
+
{ optionField: "product_id_code_", toField: F$8.productCode },
|
|
63294
|
+
{ optionField: "product_id_spec_", toField: F$8.productSpec },
|
|
63295
|
+
{ optionField: "material_no_", toField: F$8.materialNo },
|
|
63296
|
+
{ optionField: "production_identification_id_", toField: F$8.materialNoId },
|
|
63297
|
+
{ optionField: "warehouse_id_", toField: F$8.warehouse },
|
|
63298
|
+
{ optionField: "location_id_", toField: F$8.location },
|
|
63299
|
+
{ optionField: "mfg_order_id_", toField: F$8.mfgOrder },
|
|
63300
|
+
{ optionField: "lot_sn_id_", toField: F$8.lotSn },
|
|
63301
|
+
{ optionField: "validate_", toField: F$8.validity },
|
|
63302
|
+
{ optionField: "re_inspection_date_", toField: F$8.reInspectionDate }
|
|
63301
63303
|
];
|
|
63302
|
-
const fields$
|
|
63304
|
+
const fields$8 = [
|
|
63303
63305
|
{
|
|
63304
|
-
match: { fieldKey: [...DISABLED_INPUT_FIELDS$
|
|
63306
|
+
match: { fieldKey: [...DISABLED_INPUT_FIELDS$7] },
|
|
63305
63307
|
defaultProps: {
|
|
63306
63308
|
disabled: true,
|
|
63307
63309
|
fieldDisabled: true,
|
|
@@ -63309,9 +63311,9 @@ const fields$7 = [
|
|
|
63309
63311
|
}
|
|
63310
63312
|
}
|
|
63311
63313
|
];
|
|
63312
|
-
const TABLE_TYPE$
|
|
63313
|
-
const profile$
|
|
63314
|
-
type: TABLE_TYPE$
|
|
63314
|
+
const TABLE_TYPE$c = "warehouse-out";
|
|
63315
|
+
const profile$c = {
|
|
63316
|
+
type: TABLE_TYPE$c,
|
|
63315
63317
|
label: "出库明细表",
|
|
63316
63318
|
labelKey: "sys.pageDesigner.fieldCmp.warehouse_out",
|
|
63317
63319
|
category: "business",
|
|
@@ -63324,16 +63326,16 @@ const profile$b = {
|
|
|
63324
63326
|
refModelType: "WAREHOUSE_OUT",
|
|
63325
63327
|
tableType: SubTableType.WAREHOUSE_OUT
|
|
63326
63328
|
},
|
|
63327
|
-
fields: fields$
|
|
63329
|
+
fields: fields$8,
|
|
63328
63330
|
contextAssignments: [
|
|
63329
|
-
{ when: "onRowInit", fieldKey: F$
|
|
63330
|
-
{ when: "onRowInit", fieldKey: F$
|
|
63331
|
-
{ when: "onRowInit", fieldKey: F$
|
|
63331
|
+
{ when: "onRowInit", fieldKey: F$8.warehouse, paramKey: "warehouseId", onlyIfEmpty: true },
|
|
63332
|
+
{ when: "onRowInit", fieldKey: F$8.mfgOrder, paramKey: "mfgOrderId", onlyIfEmpty: true },
|
|
63333
|
+
{ when: "onRowInit", fieldKey: F$8.lotSn, paramKey: "lotSnId", onlyIfEmpty: true }
|
|
63332
63334
|
],
|
|
63333
|
-
rowHandlers: [{ when: "onFieldChange", watch: [F$
|
|
63335
|
+
rowHandlers: [{ when: "onFieldChange", watch: [F$8.product], handler: "on-product-id-change" }],
|
|
63334
63336
|
runtimeRules: [
|
|
63335
63337
|
{
|
|
63336
|
-
fields: [...DISABLED_INPUT_FIELDS$
|
|
63338
|
+
fields: [...DISABLED_INPUT_FIELDS$7],
|
|
63337
63339
|
effect: { disabled: true }
|
|
63338
63340
|
}
|
|
63339
63341
|
],
|
|
@@ -63343,19 +63345,19 @@ const profile$b = {
|
|
|
63343
63345
|
labelBjColor: "rgba(215,62,141,0.8)"
|
|
63344
63346
|
}
|
|
63345
63347
|
};
|
|
63346
|
-
function isBlank$
|
|
63348
|
+
function isBlank$9(value) {
|
|
63347
63349
|
return value === void 0 || value === null || value === "";
|
|
63348
63350
|
}
|
|
63349
|
-
function handleProductIdChange$
|
|
63350
|
-
if (!isBlank$
|
|
63351
|
-
for (const fieldKey of CLEAR_ON_PRODUCT_EMPTY$
|
|
63351
|
+
function handleProductIdChange$3(ctx) {
|
|
63352
|
+
if (!isBlank$9(ctx.rowData[F$8.product])) return;
|
|
63353
|
+
for (const fieldKey of CLEAR_ON_PRODUCT_EMPTY$4) {
|
|
63352
63354
|
ctx.rowData[fieldKey] = void 0;
|
|
63353
63355
|
}
|
|
63354
63356
|
}
|
|
63355
|
-
registerRowHandler(TABLE_TYPE$
|
|
63356
|
-
handleProductIdChange$
|
|
63357
|
+
registerRowHandler(TABLE_TYPE$c, "on-product-id-change", ({ rowData }) => {
|
|
63358
|
+
handleProductIdChange$3({ rowData });
|
|
63357
63359
|
});
|
|
63358
|
-
const F$
|
|
63360
|
+
const F$7 = {
|
|
63359
63361
|
/** 备件 */
|
|
63360
63362
|
part: "part_id_",
|
|
63361
63363
|
/** 备件 id(展示 / 文本) */
|
|
@@ -63371,17 +63373,17 @@ const F$6 = {
|
|
|
63371
63373
|
/** 仓库 */
|
|
63372
63374
|
warehouse: "warehouse_id_"
|
|
63373
63375
|
};
|
|
63374
|
-
const DISABLED_INPUT_FIELDS$
|
|
63375
|
-
F$
|
|
63376
|
-
F$
|
|
63377
|
-
F$
|
|
63378
|
-
F$
|
|
63379
|
-
F$
|
|
63376
|
+
const DISABLED_INPUT_FIELDS$6 = [
|
|
63377
|
+
F$7.partLb,
|
|
63378
|
+
F$7.partName,
|
|
63379
|
+
F$7.partCode,
|
|
63380
|
+
F$7.partSpec,
|
|
63381
|
+
F$7.qtyUom
|
|
63380
63382
|
];
|
|
63381
|
-
const CLEAR_ON_PART_EMPTY$3 = [F$
|
|
63382
|
-
const fields$
|
|
63383
|
+
const CLEAR_ON_PART_EMPTY$3 = [F$7.partName, F$7.partCode, F$7.partSpec, F$7.qtyUom];
|
|
63384
|
+
const fields$7 = [
|
|
63383
63385
|
{
|
|
63384
|
-
match: { fieldKey: F$
|
|
63386
|
+
match: { fieldKey: F$7.part },
|
|
63385
63387
|
autofillTemplates: [
|
|
63386
63388
|
{
|
|
63387
63389
|
fromField: "part_name_",
|
|
@@ -63397,12 +63399,12 @@ const fields$6 = [
|
|
|
63397
63399
|
},
|
|
63398
63400
|
{
|
|
63399
63401
|
fromField: "unit_",
|
|
63400
|
-
toField: F$
|
|
63402
|
+
toField: F$7.qtyUom
|
|
63401
63403
|
}
|
|
63402
63404
|
]
|
|
63403
63405
|
},
|
|
63404
63406
|
{
|
|
63405
|
-
match: { fieldKey: [...DISABLED_INPUT_FIELDS$
|
|
63407
|
+
match: { fieldKey: [...DISABLED_INPUT_FIELDS$6] },
|
|
63406
63408
|
defaultProps: {
|
|
63407
63409
|
disabled: true,
|
|
63408
63410
|
fieldDisabled: true,
|
|
@@ -63410,9 +63412,9 @@ const fields$6 = [
|
|
|
63410
63412
|
}
|
|
63411
63413
|
}
|
|
63412
63414
|
];
|
|
63413
|
-
const TABLE_TYPE$
|
|
63414
|
-
const profile$
|
|
63415
|
-
type: TABLE_TYPE$
|
|
63415
|
+
const TABLE_TYPE$b = "warehouse-inbound";
|
|
63416
|
+
const profile$b = {
|
|
63417
|
+
type: TABLE_TYPE$b,
|
|
63416
63418
|
label: "入库明细表",
|
|
63417
63419
|
labelKey: "sys.pageDesigner.fieldCmp.warehouse_inbound",
|
|
63418
63420
|
category: "business",
|
|
@@ -63427,14 +63429,14 @@ const profile$a = {
|
|
|
63427
63429
|
refModelType: "WAREHOUSE_INBOUND",
|
|
63428
63430
|
tableType: SubTableType.WAREHOUSE_INBOUND
|
|
63429
63431
|
},
|
|
63430
|
-
fields: fields$
|
|
63432
|
+
fields: fields$7,
|
|
63431
63433
|
contextAssignments: [
|
|
63432
|
-
{ when: "onRowInit", fieldKey: F$
|
|
63434
|
+
{ when: "onRowInit", fieldKey: F$7.warehouse, paramKey: "warehouseId", onlyIfEmpty: true }
|
|
63433
63435
|
],
|
|
63434
|
-
rowHandlers: [{ when: "onFieldChange", watch: [F$
|
|
63436
|
+
rowHandlers: [{ when: "onFieldChange", watch: [F$7.part], handler: "on-part-id-change" }],
|
|
63435
63437
|
runtimeRules: [
|
|
63436
63438
|
{
|
|
63437
|
-
fields: [...DISABLED_INPUT_FIELDS$
|
|
63439
|
+
fields: [...DISABLED_INPUT_FIELDS$6],
|
|
63438
63440
|
effect: { disabled: true }
|
|
63439
63441
|
}
|
|
63440
63442
|
],
|
|
@@ -63444,19 +63446,19 @@ const profile$a = {
|
|
|
63444
63446
|
labelBjColor: "rgba(8,162,182,0.8)"
|
|
63445
63447
|
}
|
|
63446
63448
|
};
|
|
63447
|
-
function isBlank$
|
|
63449
|
+
function isBlank$8(value) {
|
|
63448
63450
|
return value === void 0 || value === null || value === "";
|
|
63449
63451
|
}
|
|
63450
63452
|
function handlePartIdChange$3(ctx) {
|
|
63451
|
-
if (!isBlank$
|
|
63453
|
+
if (!isBlank$8(ctx.rowData[F$7.part])) return;
|
|
63452
63454
|
for (const fieldKey of CLEAR_ON_PART_EMPTY$3) {
|
|
63453
63455
|
ctx.rowData[fieldKey] = void 0;
|
|
63454
63456
|
}
|
|
63455
63457
|
}
|
|
63456
|
-
registerRowHandler(TABLE_TYPE$
|
|
63458
|
+
registerRowHandler(TABLE_TYPE$b, "on-part-id-change", ({ rowData }) => {
|
|
63457
63459
|
handlePartIdChange$3({ rowData });
|
|
63458
63460
|
});
|
|
63459
|
-
const F$
|
|
63461
|
+
const F$6 = {
|
|
63460
63462
|
/** 库存主键(选备件时写 option.id_,用于唯一回显) */
|
|
63461
63463
|
inventory: "inventory_id_",
|
|
63462
63464
|
/** 备件 */
|
|
@@ -63480,30 +63482,30 @@ const F$5 = {
|
|
|
63480
63482
|
/** 数量单位 */
|
|
63481
63483
|
qtyUom: "qty_uom_id_"
|
|
63482
63484
|
};
|
|
63483
|
-
const DISABLED_INPUT_FIELDS$
|
|
63484
|
-
F$
|
|
63485
|
-
F$
|
|
63486
|
-
F$
|
|
63487
|
-
F$
|
|
63488
|
-
F$
|
|
63489
|
-
F$
|
|
63490
|
-
F$
|
|
63491
|
-
F$
|
|
63485
|
+
const DISABLED_INPUT_FIELDS$5 = [
|
|
63486
|
+
F$6.partLb,
|
|
63487
|
+
F$6.partCode,
|
|
63488
|
+
F$6.partName,
|
|
63489
|
+
F$6.partSpec,
|
|
63490
|
+
F$6.location,
|
|
63491
|
+
F$6.storageZone,
|
|
63492
|
+
F$6.warehouse,
|
|
63493
|
+
F$6.qtyUom
|
|
63492
63494
|
];
|
|
63493
63495
|
const CLEAR_ON_PART_EMPTY$2 = [
|
|
63494
|
-
F$
|
|
63495
|
-
F$
|
|
63496
|
-
F$
|
|
63497
|
-
F$
|
|
63498
|
-
F$
|
|
63499
|
-
F$
|
|
63500
|
-
F$
|
|
63501
|
-
F$
|
|
63502
|
-
F$
|
|
63496
|
+
F$6.inventory,
|
|
63497
|
+
F$6.partCode,
|
|
63498
|
+
F$6.partName,
|
|
63499
|
+
F$6.partSpec,
|
|
63500
|
+
F$6.validity,
|
|
63501
|
+
F$6.location,
|
|
63502
|
+
F$6.storageZone,
|
|
63503
|
+
F$6.warehouse,
|
|
63504
|
+
F$6.qtyUom
|
|
63503
63505
|
];
|
|
63504
|
-
const fields$
|
|
63506
|
+
const fields$6 = [
|
|
63505
63507
|
{
|
|
63506
|
-
match: { fieldKey: [...DISABLED_INPUT_FIELDS$
|
|
63508
|
+
match: { fieldKey: [...DISABLED_INPUT_FIELDS$5] },
|
|
63507
63509
|
defaultProps: {
|
|
63508
63510
|
disabled: true,
|
|
63509
63511
|
fieldDisabled: true,
|
|
@@ -63511,9 +63513,9 @@ const fields$5 = [
|
|
|
63511
63513
|
}
|
|
63512
63514
|
}
|
|
63513
63515
|
];
|
|
63514
|
-
const TABLE_TYPE$
|
|
63515
|
-
const profile$
|
|
63516
|
-
type: TABLE_TYPE$
|
|
63516
|
+
const TABLE_TYPE$a = "warehouse-outbound";
|
|
63517
|
+
const profile$a = {
|
|
63518
|
+
type: TABLE_TYPE$a,
|
|
63517
63519
|
label: "出库明细表",
|
|
63518
63520
|
labelKey: "sys.pageDesigner.fieldCmp.warehouse_outbound",
|
|
63519
63521
|
category: "business",
|
|
@@ -63528,11 +63530,11 @@ const profile$9 = {
|
|
|
63528
63530
|
refModelType: "WAREHOUSE_OUTBOUND",
|
|
63529
63531
|
tableType: SubTableType.WAREHOUSE_OUTBOUND
|
|
63530
63532
|
},
|
|
63531
|
-
fields: fields$
|
|
63532
|
-
rowHandlers: [{ when: "onFieldChange", watch: [F$
|
|
63533
|
+
fields: fields$6,
|
|
63534
|
+
rowHandlers: [{ when: "onFieldChange", watch: [F$6.part], handler: "on-part-id-change" }],
|
|
63533
63535
|
runtimeRules: [
|
|
63534
63536
|
{
|
|
63535
|
-
fields: [...DISABLED_INPUT_FIELDS$
|
|
63537
|
+
fields: [...DISABLED_INPUT_FIELDS$5],
|
|
63536
63538
|
effect: { disabled: true }
|
|
63537
63539
|
}
|
|
63538
63540
|
],
|
|
@@ -63542,19 +63544,19 @@ const profile$9 = {
|
|
|
63542
63544
|
labelBjColor: "rgba(215,62,141,0.8)"
|
|
63543
63545
|
}
|
|
63544
63546
|
};
|
|
63545
|
-
function isBlank$
|
|
63547
|
+
function isBlank$7(value) {
|
|
63546
63548
|
return value === void 0 || value === null || value === "";
|
|
63547
63549
|
}
|
|
63548
63550
|
function handlePartIdChange$2(ctx) {
|
|
63549
|
-
if (!isBlank$
|
|
63551
|
+
if (!isBlank$7(ctx.rowData[F$6.part])) return;
|
|
63550
63552
|
for (const fieldKey of CLEAR_ON_PART_EMPTY$2) {
|
|
63551
63553
|
ctx.rowData[fieldKey] = void 0;
|
|
63552
63554
|
}
|
|
63553
63555
|
}
|
|
63554
|
-
registerRowHandler(TABLE_TYPE$
|
|
63556
|
+
registerRowHandler(TABLE_TYPE$a, "on-part-id-change", ({ rowData }) => {
|
|
63555
63557
|
handlePartIdChange$2({ rowData });
|
|
63556
63558
|
});
|
|
63557
|
-
const F$
|
|
63559
|
+
const F$5 = {
|
|
63558
63560
|
/** 库存主键(选物料时写 option.id_,用于唯一回显) */
|
|
63559
63561
|
inventory: "inventory_id_",
|
|
63560
63562
|
/** 物料批号 */
|
|
@@ -63597,70 +63599,70 @@ const F$4 = {
|
|
|
63597
63599
|
inventoryLocationIds: "_inventory_location_ids_"
|
|
63598
63600
|
};
|
|
63599
63601
|
const DESIGN_DISABLED_INPUT_FIELDS = [
|
|
63600
|
-
F$
|
|
63601
|
-
F$
|
|
63602
|
-
F$
|
|
63603
|
-
F$
|
|
63604
|
-
F$
|
|
63605
|
-
F$
|
|
63606
|
-
F$
|
|
63607
|
-
F$
|
|
63608
|
-
F$
|
|
63609
|
-
F$
|
|
63610
|
-
F$
|
|
63602
|
+
F$5.batch,
|
|
63603
|
+
F$5.productName,
|
|
63604
|
+
F$5.productCode,
|
|
63605
|
+
F$5.productSpec,
|
|
63606
|
+
F$5.stock,
|
|
63607
|
+
F$5.diff,
|
|
63608
|
+
F$5.stocktakeStatus,
|
|
63609
|
+
F$5.warehouse,
|
|
63610
|
+
F$5.location,
|
|
63611
|
+
F$5.validity,
|
|
63612
|
+
F$5.reInspectionDate
|
|
63611
63613
|
];
|
|
63612
63614
|
const READONLY_INFO_FIELDS = [
|
|
63613
|
-
F$
|
|
63614
|
-
F$
|
|
63615
|
-
F$
|
|
63616
|
-
F$
|
|
63617
|
-
F$
|
|
63618
|
-
F$
|
|
63619
|
-
F$
|
|
63620
|
-
F$
|
|
63621
|
-
F$
|
|
63615
|
+
F$5.productName,
|
|
63616
|
+
F$5.productCode,
|
|
63617
|
+
F$5.productSpec,
|
|
63618
|
+
F$5.warehouse,
|
|
63619
|
+
F$5.stock,
|
|
63620
|
+
F$5.diff,
|
|
63621
|
+
F$5.stocktakeStatus,
|
|
63622
|
+
F$5.validity,
|
|
63623
|
+
F$5.reInspectionDate
|
|
63622
63624
|
];
|
|
63623
|
-
const AUTO_LOAD_READONLY_SELECT_FIELDS = [F$
|
|
63624
|
-
const CLEAR_ON_PRODUCT_EMPTY$
|
|
63625
|
-
F$
|
|
63626
|
-
F$
|
|
63627
|
-
F$
|
|
63628
|
-
F$
|
|
63629
|
-
F$
|
|
63630
|
-
F$
|
|
63631
|
-
F$
|
|
63632
|
-
F$
|
|
63633
|
-
F$
|
|
63634
|
-
F$
|
|
63635
|
-
F$
|
|
63636
|
-
F$
|
|
63637
|
-
F$
|
|
63638
|
-
F$
|
|
63625
|
+
const AUTO_LOAD_READONLY_SELECT_FIELDS = [F$5.product, F$5.batch, F$5.location];
|
|
63626
|
+
const CLEAR_ON_PRODUCT_EMPTY$3 = [
|
|
63627
|
+
F$5.inventory,
|
|
63628
|
+
F$5.batch,
|
|
63629
|
+
F$5.batchLb,
|
|
63630
|
+
F$5.productName,
|
|
63631
|
+
F$5.productCode,
|
|
63632
|
+
F$5.productSpec,
|
|
63633
|
+
F$5.stock,
|
|
63634
|
+
F$5.stocktake,
|
|
63635
|
+
F$5.diff,
|
|
63636
|
+
F$5.warehouse,
|
|
63637
|
+
F$5.location,
|
|
63638
|
+
F$5.locationLb,
|
|
63639
|
+
F$5.validity,
|
|
63640
|
+
F$5.reInspectionDate
|
|
63639
63641
|
];
|
|
63640
63642
|
const FILL_FROM_INVENTORY_OPTION$1 = [
|
|
63641
|
-
{ optionField: "id_", toField: F$
|
|
63642
|
-
{ optionField: "product_id_name_", toField: F$
|
|
63643
|
-
{ optionField: "product_id_code_", toField: F$
|
|
63644
|
-
{ optionField: "product_id_spec_", toField: F$
|
|
63645
|
-
{ optionField: "production_identification_id_", toField: F$
|
|
63646
|
-
{ optionField: "warehouse_id_", toField: F$
|
|
63647
|
-
{ optionField: "location_id_", toField: F$
|
|
63648
|
-
{ optionField: "stock_num_", toField: F$
|
|
63649
|
-
{ optionField: "validate_", toField: F$
|
|
63650
|
-
{ optionField: "re_inspection_date_", toField: F$
|
|
63643
|
+
{ optionField: "id_", toField: F$5.inventory },
|
|
63644
|
+
{ optionField: "product_id_name_", toField: F$5.productName },
|
|
63645
|
+
{ optionField: "product_id_code_", toField: F$5.productCode },
|
|
63646
|
+
{ optionField: "product_id_spec_", toField: F$5.productSpec },
|
|
63647
|
+
{ optionField: "production_identification_id_", toField: F$5.batch },
|
|
63648
|
+
{ optionField: "warehouse_id_", toField: F$5.warehouse },
|
|
63649
|
+
{ optionField: "location_id_", toField: F$5.location },
|
|
63650
|
+
{ optionField: "stock_num_", toField: F$5.stock },
|
|
63651
|
+
{ optionField: "validate_", toField: F$5.validity },
|
|
63652
|
+
{ optionField: "re_inspection_date_", toField: F$5.reInspectionDate }
|
|
63651
63653
|
];
|
|
63652
|
-
const STOCKTAKE_DERIVED_WATCH_FIELDS$1 = [F$
|
|
63653
|
-
const WAREHOUSE_IDENTITY_GROUP_KEYS = [F$
|
|
63654
|
-
const SCAN_MERGE_GROUP_KEYS = [F$
|
|
63654
|
+
const STOCKTAKE_DERIVED_WATCH_FIELDS$1 = [F$5.stocktake, F$5.stock];
|
|
63655
|
+
const WAREHOUSE_IDENTITY_GROUP_KEYS = [F$5.batch, F$5.product, F$5.warehouse];
|
|
63656
|
+
const SCAN_MERGE_GROUP_KEYS = [F$5.batch, F$5.product, F$5.warehouse, F$5.location];
|
|
63655
63657
|
const INVENTORY_BASE_FIELDS = [
|
|
63656
|
-
F$
|
|
63657
|
-
F$
|
|
63658
|
-
F$
|
|
63659
|
-
F$
|
|
63660
|
-
F$
|
|
63661
|
-
F$
|
|
63658
|
+
F$5.batch,
|
|
63659
|
+
F$5.product,
|
|
63660
|
+
F$5.productName,
|
|
63661
|
+
F$5.productCode,
|
|
63662
|
+
F$5.productSpec,
|
|
63663
|
+
F$5.warehouse
|
|
63662
63664
|
];
|
|
63663
|
-
const fields$
|
|
63665
|
+
const fields$5 = [
|
|
63664
63666
|
{
|
|
63665
63667
|
match: { fieldKey: [...DESIGN_DISABLED_INPUT_FIELDS] },
|
|
63666
63668
|
defaultProps: {
|
|
@@ -63671,7 +63673,7 @@ const fields$4 = [
|
|
|
63671
63673
|
},
|
|
63672
63674
|
{
|
|
63673
63675
|
// 实盘数量:设计态默认开启最小值 0 校验(与 Word 对齐)
|
|
63674
|
-
match: { fieldKey: F$
|
|
63676
|
+
match: { fieldKey: F$5.stocktake },
|
|
63675
63677
|
defaultProps: {
|
|
63676
63678
|
enableRangeValidate: true,
|
|
63677
63679
|
minValidateMode: RangeValidateMode.Fixed_Number,
|
|
@@ -63679,9 +63681,9 @@ const fields$4 = [
|
|
|
63679
63681
|
}
|
|
63680
63682
|
}
|
|
63681
63683
|
];
|
|
63682
|
-
const TABLE_TYPE$
|
|
63683
|
-
const profile$
|
|
63684
|
-
type: TABLE_TYPE$
|
|
63684
|
+
const TABLE_TYPE$9 = "warehouse-inventory";
|
|
63685
|
+
const profile$9 = {
|
|
63686
|
+
type: TABLE_TYPE$9,
|
|
63685
63687
|
label: "库存盘点表",
|
|
63686
63688
|
labelKey: "sys.pageDesigner.fieldCmp.stocktake",
|
|
63687
63689
|
category: "business",
|
|
@@ -63697,12 +63699,12 @@ const profile$8 = {
|
|
|
63697
63699
|
defaultWidgetProps: {
|
|
63698
63700
|
autoLoadStock: false
|
|
63699
63701
|
},
|
|
63700
|
-
fields: fields$
|
|
63702
|
+
fields: fields$5,
|
|
63701
63703
|
contextAssignments: [
|
|
63702
|
-
{ when: "onRowInit", fieldKey: F$
|
|
63704
|
+
{ when: "onRowInit", fieldKey: F$5.warehouse, paramKey: "warehouseId", onlyIfEmpty: true }
|
|
63703
63705
|
],
|
|
63704
63706
|
rowHandlers: [
|
|
63705
|
-
{ when: "onFieldChange", watch: [F$
|
|
63707
|
+
{ when: "onFieldChange", watch: [F$5.product], handler: "on-product-id-change" },
|
|
63706
63708
|
{
|
|
63707
63709
|
when: "onFieldChange",
|
|
63708
63710
|
watch: [...STOCKTAKE_DERIVED_WATCH_FIELDS$1],
|
|
@@ -63721,7 +63723,7 @@ const profile$8 = {
|
|
|
63721
63723
|
labelBjColor: "rgba(82,76,170,0.8)"
|
|
63722
63724
|
}
|
|
63723
63725
|
};
|
|
63724
|
-
function isBlank$
|
|
63726
|
+
function isBlank$6(value) {
|
|
63725
63727
|
return value === void 0 || value === null || value === "";
|
|
63726
63728
|
}
|
|
63727
63729
|
function toNumber$2(value, fallback = 0) {
|
|
@@ -63734,18 +63736,18 @@ const STOCKTAKE_STATUS_I18N$1 = {
|
|
|
63734
63736
|
loss: "sys.edhr.stocktakeStatusEnum.loss",
|
|
63735
63737
|
equals: "sys.edhr.stocktakeStatusEnum.equals"
|
|
63736
63738
|
};
|
|
63737
|
-
function handleProductIdChange$
|
|
63738
|
-
if (!isBlank$
|
|
63739
|
-
for (const fieldKey of CLEAR_ON_PRODUCT_EMPTY$
|
|
63739
|
+
function handleProductIdChange$2(ctx) {
|
|
63740
|
+
if (!isBlank$6(ctx.rowData[F$5.product])) return;
|
|
63741
|
+
for (const fieldKey of CLEAR_ON_PRODUCT_EMPTY$3) {
|
|
63740
63742
|
ctx.rowData[fieldKey] = void 0;
|
|
63741
63743
|
}
|
|
63742
63744
|
}
|
|
63743
63745
|
function refreshStocktakeDerivedFields$1(ctx) {
|
|
63744
63746
|
const rowData = ctx.rowData;
|
|
63745
|
-
const stocktakeNum = rowData[F$
|
|
63746
|
-
const stockNum = rowData[F$
|
|
63747
|
+
const stocktakeNum = rowData[F$5.stocktake];
|
|
63748
|
+
const stockNum = rowData[F$5.stock];
|
|
63747
63749
|
let diff;
|
|
63748
|
-
if (isBlank$
|
|
63750
|
+
if (isBlank$6(stocktakeNum)) {
|
|
63749
63751
|
diff = void 0;
|
|
63750
63752
|
} else {
|
|
63751
63753
|
const stocktake = toNumber$2(stocktakeNum);
|
|
@@ -63757,18 +63759,18 @@ function refreshStocktakeDerivedFields$1(ctx) {
|
|
|
63757
63759
|
else if (diff < 0) status = "loss";
|
|
63758
63760
|
else status = "equals";
|
|
63759
63761
|
const statusLabel = STOCKTAKE_STATUS_I18N$1[status];
|
|
63760
|
-
rowData[F$
|
|
63761
|
-
rowData[F$
|
|
63762
|
-
rowData[F$
|
|
63762
|
+
rowData[F$5.diff] = diff;
|
|
63763
|
+
rowData[F$5.stocktakeStatus] = status;
|
|
63764
|
+
rowData[F$5.stocktakeStatusLb] = typeof $t === "function" ? $t(statusLabel) : statusLabel;
|
|
63763
63765
|
}
|
|
63764
|
-
registerRowHandler(TABLE_TYPE$
|
|
63765
|
-
handleProductIdChange$
|
|
63766
|
+
registerRowHandler(TABLE_TYPE$9, "on-product-id-change", ({ rowData }) => {
|
|
63767
|
+
handleProductIdChange$2({ rowData });
|
|
63766
63768
|
refreshStocktakeDerivedFields$1({ rowData });
|
|
63767
63769
|
});
|
|
63768
|
-
registerRowHandler(TABLE_TYPE$
|
|
63770
|
+
registerRowHandler(TABLE_TYPE$9, "stocktake-derived", ({ rowData }) => {
|
|
63769
63771
|
refreshStocktakeDerivedFields$1({ rowData });
|
|
63770
63772
|
});
|
|
63771
|
-
const F$
|
|
63773
|
+
const F$4 = {
|
|
63772
63774
|
/** 库存列表 id */
|
|
63773
63775
|
inventory: "inventory_id_",
|
|
63774
63776
|
/** 备件 */
|
|
@@ -63799,37 +63801,37 @@ const F$3 = {
|
|
|
63799
63801
|
/** 库位 */
|
|
63800
63802
|
location: "location_id_"
|
|
63801
63803
|
};
|
|
63802
|
-
const DISABLED_INPUT_FIELDS$
|
|
63803
|
-
F$
|
|
63804
|
-
F$
|
|
63805
|
-
F$
|
|
63806
|
-
F$
|
|
63807
|
-
F$
|
|
63808
|
-
F$
|
|
63809
|
-
F$
|
|
63810
|
-
F$
|
|
63811
|
-
F$
|
|
63812
|
-
F$
|
|
63813
|
-
F$
|
|
63814
|
-
F$
|
|
63804
|
+
const DISABLED_INPUT_FIELDS$4 = [
|
|
63805
|
+
F$4.inventory,
|
|
63806
|
+
F$4.partLb,
|
|
63807
|
+
F$4.partName,
|
|
63808
|
+
F$4.partCode,
|
|
63809
|
+
F$4.partSpec,
|
|
63810
|
+
F$4.stock,
|
|
63811
|
+
F$4.diff,
|
|
63812
|
+
F$4.qtyUom,
|
|
63813
|
+
F$4.stocktakeStatus,
|
|
63814
|
+
F$4.warehouse,
|
|
63815
|
+
F$4.storageZone,
|
|
63816
|
+
F$4.location
|
|
63815
63817
|
];
|
|
63816
63818
|
const CLEAR_ON_PART_EMPTY$1 = [
|
|
63817
|
-
F$
|
|
63818
|
-
F$
|
|
63819
|
-
F$
|
|
63820
|
-
F$
|
|
63821
|
-
F$
|
|
63822
|
-
F$
|
|
63823
|
-
F$
|
|
63824
|
-
F$
|
|
63825
|
-
F$
|
|
63826
|
-
F$
|
|
63827
|
-
F$
|
|
63819
|
+
F$4.inventory,
|
|
63820
|
+
F$4.partName,
|
|
63821
|
+
F$4.partCode,
|
|
63822
|
+
F$4.partSpec,
|
|
63823
|
+
F$4.stock,
|
|
63824
|
+
F$4.stocktake,
|
|
63825
|
+
F$4.diff,
|
|
63826
|
+
F$4.qtyUom,
|
|
63827
|
+
F$4.warehouse,
|
|
63828
|
+
F$4.storageZone,
|
|
63829
|
+
F$4.location
|
|
63828
63830
|
];
|
|
63829
|
-
const STOCKTAKE_DERIVED_WATCH_FIELDS = [F$
|
|
63830
|
-
const fields$
|
|
63831
|
+
const STOCKTAKE_DERIVED_WATCH_FIELDS = [F$4.stocktake, F$4.stock];
|
|
63832
|
+
const fields$4 = [
|
|
63831
63833
|
{
|
|
63832
|
-
match: { fieldKey: [...DISABLED_INPUT_FIELDS$
|
|
63834
|
+
match: { fieldKey: [...DISABLED_INPUT_FIELDS$4] },
|
|
63833
63835
|
defaultProps: {
|
|
63834
63836
|
disabled: true,
|
|
63835
63837
|
fieldDisabled: true,
|
|
@@ -63837,9 +63839,9 @@ const fields$3 = [
|
|
|
63837
63839
|
}
|
|
63838
63840
|
}
|
|
63839
63841
|
];
|
|
63840
|
-
const TABLE_TYPE$
|
|
63841
|
-
const profile$
|
|
63842
|
-
type: TABLE_TYPE$
|
|
63842
|
+
const TABLE_TYPE$8 = "part-stocktake";
|
|
63843
|
+
const profile$8 = {
|
|
63844
|
+
type: TABLE_TYPE$8,
|
|
63843
63845
|
label: "库存盘点表",
|
|
63844
63846
|
labelKey: "sys.pageDesigner.fieldCmp.part_stocktake",
|
|
63845
63847
|
category: "business",
|
|
@@ -63853,9 +63855,9 @@ const profile$7 = {
|
|
|
63853
63855
|
refModelType: "PART_STOCKTAKE",
|
|
63854
63856
|
tableType: SubTableType.PART_STOCKTAKE
|
|
63855
63857
|
},
|
|
63856
|
-
fields: fields$
|
|
63858
|
+
fields: fields$4,
|
|
63857
63859
|
rowHandlers: [
|
|
63858
|
-
{ when: "onFieldChange", watch: [F$
|
|
63860
|
+
{ when: "onFieldChange", watch: [F$4.part], handler: "on-part-id-change" },
|
|
63859
63861
|
{
|
|
63860
63862
|
when: "onFieldChange",
|
|
63861
63863
|
watch: [...STOCKTAKE_DERIVED_WATCH_FIELDS],
|
|
@@ -63864,7 +63866,7 @@ const profile$7 = {
|
|
|
63864
63866
|
],
|
|
63865
63867
|
runtimeRules: [
|
|
63866
63868
|
{
|
|
63867
|
-
fields: [...DISABLED_INPUT_FIELDS$
|
|
63869
|
+
fields: [...DISABLED_INPUT_FIELDS$4],
|
|
63868
63870
|
effect: { disabled: true }
|
|
63869
63871
|
}
|
|
63870
63872
|
],
|
|
@@ -63874,7 +63876,7 @@ const profile$7 = {
|
|
|
63874
63876
|
labelBjColor: "rgba(82,76,170,0.8)"
|
|
63875
63877
|
}
|
|
63876
63878
|
};
|
|
63877
|
-
function isBlank$
|
|
63879
|
+
function isBlank$5(value) {
|
|
63878
63880
|
return value === void 0 || value === null || value === "";
|
|
63879
63881
|
}
|
|
63880
63882
|
function toNumber$1(value, fallback = 0) {
|
|
@@ -63888,7 +63890,7 @@ const STOCKTAKE_STATUS_I18N = {
|
|
|
63888
63890
|
equals: "sys.edhr.stocktakeStatusEnum.equals"
|
|
63889
63891
|
};
|
|
63890
63892
|
function handlePartIdChange$1(ctx) {
|
|
63891
|
-
if (!isBlank$
|
|
63893
|
+
if (!isBlank$5(ctx.rowData[F$4.part])) return;
|
|
63892
63894
|
for (const fieldKey of CLEAR_ON_PART_EMPTY$1) {
|
|
63893
63895
|
ctx.rowData[fieldKey] = void 0;
|
|
63894
63896
|
}
|
|
@@ -63896,10 +63898,10 @@ function handlePartIdChange$1(ctx) {
|
|
|
63896
63898
|
}
|
|
63897
63899
|
function refreshStocktakeDerivedFields(ctx) {
|
|
63898
63900
|
const rowData = ctx.rowData;
|
|
63899
|
-
const stocktakeNum = rowData[F$
|
|
63900
|
-
const stockNum = rowData[F$
|
|
63901
|
+
const stocktakeNum = rowData[F$4.stocktake];
|
|
63902
|
+
const stockNum = rowData[F$4.stock];
|
|
63901
63903
|
let diff;
|
|
63902
|
-
if (isBlank$
|
|
63904
|
+
if (isBlank$5(stocktakeNum)) {
|
|
63903
63905
|
diff = void 0;
|
|
63904
63906
|
} else {
|
|
63905
63907
|
const stocktake = toNumber$1(stocktakeNum);
|
|
@@ -63911,17 +63913,17 @@ function refreshStocktakeDerivedFields(ctx) {
|
|
|
63911
63913
|
else if (diff < 0) status = "loss";
|
|
63912
63914
|
else status = "equals";
|
|
63913
63915
|
const statusLabel = STOCKTAKE_STATUS_I18N[status];
|
|
63914
|
-
rowData[F$
|
|
63915
|
-
rowData[F$
|
|
63916
|
-
rowData[F$
|
|
63916
|
+
rowData[F$4.diff] = diff;
|
|
63917
|
+
rowData[F$4.stocktakeStatus] = status;
|
|
63918
|
+
rowData[F$4.stocktakeStatusLb] = typeof $t === "function" ? $t(statusLabel) : statusLabel;
|
|
63917
63919
|
}
|
|
63918
|
-
registerRowHandler(TABLE_TYPE$
|
|
63920
|
+
registerRowHandler(TABLE_TYPE$8, "on-part-id-change", ({ rowData }) => {
|
|
63919
63921
|
handlePartIdChange$1({ rowData });
|
|
63920
63922
|
});
|
|
63921
|
-
registerRowHandler(TABLE_TYPE$
|
|
63923
|
+
registerRowHandler(TABLE_TYPE$8, "stocktake-derived", ({ rowData }) => {
|
|
63922
63924
|
refreshStocktakeDerivedFields({ rowData });
|
|
63923
63925
|
});
|
|
63924
|
-
const F$
|
|
63926
|
+
const F$3 = {
|
|
63925
63927
|
/** 库存列表 id */
|
|
63926
63928
|
inventory: "inventory_id_",
|
|
63927
63929
|
/** 备件 */
|
|
@@ -63943,31 +63945,31 @@ const F$2 = {
|
|
|
63943
63945
|
/** 库位 */
|
|
63944
63946
|
location: "location_id_"
|
|
63945
63947
|
};
|
|
63946
|
-
const DISABLED_INPUT_FIELDS$
|
|
63947
|
-
F$
|
|
63948
|
-
F$
|
|
63949
|
-
F$
|
|
63950
|
-
F$
|
|
63951
|
-
F$
|
|
63952
|
-
F$
|
|
63953
|
-
F$
|
|
63954
|
-
F$
|
|
63955
|
-
F$
|
|
63948
|
+
const DISABLED_INPUT_FIELDS$3 = [
|
|
63949
|
+
F$3.inventory,
|
|
63950
|
+
F$3.partName,
|
|
63951
|
+
F$3.partCode,
|
|
63952
|
+
F$3.partSpec,
|
|
63953
|
+
F$3.qtyUom,
|
|
63954
|
+
F$3.stock,
|
|
63955
|
+
F$3.warehouse,
|
|
63956
|
+
F$3.storageZone,
|
|
63957
|
+
F$3.location
|
|
63956
63958
|
];
|
|
63957
63959
|
const CLEAR_ON_PART_EMPTY = [
|
|
63958
|
-
F$
|
|
63959
|
-
F$
|
|
63960
|
-
F$
|
|
63961
|
-
F$
|
|
63962
|
-
F$
|
|
63963
|
-
F$
|
|
63964
|
-
F$
|
|
63965
|
-
F$
|
|
63966
|
-
F$
|
|
63960
|
+
F$3.inventory,
|
|
63961
|
+
F$3.partName,
|
|
63962
|
+
F$3.partCode,
|
|
63963
|
+
F$3.partSpec,
|
|
63964
|
+
F$3.qtyUom,
|
|
63965
|
+
F$3.stock,
|
|
63966
|
+
F$3.warehouse,
|
|
63967
|
+
F$3.storageZone,
|
|
63968
|
+
F$3.location
|
|
63967
63969
|
];
|
|
63968
|
-
const fields$
|
|
63970
|
+
const fields$3 = [
|
|
63969
63971
|
{
|
|
63970
|
-
match: { fieldKey: [...DISABLED_INPUT_FIELDS$
|
|
63972
|
+
match: { fieldKey: [...DISABLED_INPUT_FIELDS$3] },
|
|
63971
63973
|
defaultProps: {
|
|
63972
63974
|
disabled: true,
|
|
63973
63975
|
fieldDisabled: true,
|
|
@@ -63975,9 +63977,9 @@ const fields$2 = [
|
|
|
63975
63977
|
}
|
|
63976
63978
|
}
|
|
63977
63979
|
];
|
|
63978
|
-
const TABLE_TYPE$
|
|
63979
|
-
const profile$
|
|
63980
|
-
type: TABLE_TYPE$
|
|
63980
|
+
const TABLE_TYPE$7 = "device-part-consume";
|
|
63981
|
+
const profile$7 = {
|
|
63982
|
+
type: TABLE_TYPE$7,
|
|
63981
63983
|
label: "备件消耗表",
|
|
63982
63984
|
labelKey: "sys.pageDesigner.fieldCmp.device_part_consume",
|
|
63983
63985
|
category: "business",
|
|
@@ -63991,11 +63993,11 @@ const profile$6 = {
|
|
|
63991
63993
|
refModelType: "DEVICE_PART_CONSUME",
|
|
63992
63994
|
tableType: SubTableType.DEVICE_PART_CONSUME
|
|
63993
63995
|
},
|
|
63994
|
-
fields: fields$
|
|
63995
|
-
rowHandlers: [{ when: "onFieldChange", watch: [F$
|
|
63996
|
+
fields: fields$3,
|
|
63997
|
+
rowHandlers: [{ when: "onFieldChange", watch: [F$3.part], handler: "on-part-id-change" }],
|
|
63996
63998
|
runtimeRules: [
|
|
63997
63999
|
{
|
|
63998
|
-
fields: [...DISABLED_INPUT_FIELDS$
|
|
64000
|
+
fields: [...DISABLED_INPUT_FIELDS$3],
|
|
63999
64001
|
effect: { disabled: true }
|
|
64000
64002
|
}
|
|
64001
64003
|
],
|
|
@@ -64005,19 +64007,19 @@ const profile$6 = {
|
|
|
64005
64007
|
labelBjColor: "rgba(72,145,179,0.8)"
|
|
64006
64008
|
}
|
|
64007
64009
|
};
|
|
64008
|
-
function isBlank$
|
|
64010
|
+
function isBlank$4(value) {
|
|
64009
64011
|
return value === void 0 || value === null || value === "";
|
|
64010
64012
|
}
|
|
64011
64013
|
function handlePartIdChange(ctx) {
|
|
64012
|
-
if (!isBlank$
|
|
64014
|
+
if (!isBlank$4(ctx.rowData[F$3.part])) return;
|
|
64013
64015
|
for (const fieldKey of CLEAR_ON_PART_EMPTY) {
|
|
64014
64016
|
ctx.rowData[fieldKey] = void 0;
|
|
64015
64017
|
}
|
|
64016
64018
|
}
|
|
64017
|
-
registerRowHandler(TABLE_TYPE$
|
|
64019
|
+
registerRowHandler(TABLE_TYPE$7, "on-part-id-change", ({ rowData }) => {
|
|
64018
64020
|
handlePartIdChange({ rowData });
|
|
64019
64021
|
});
|
|
64020
|
-
const F$
|
|
64022
|
+
const F$2 = {
|
|
64021
64023
|
/** 库存主键(选物料时写 option.id_,用于唯一回显) */
|
|
64022
64024
|
inventory: "inventory_id_",
|
|
64023
64025
|
/** 物料 */
|
|
@@ -64051,53 +64053,53 @@ const F$1 = {
|
|
|
64051
64053
|
/** 复检日期 */
|
|
64052
64054
|
reInspectionDate: "re_inspection_date_"
|
|
64053
64055
|
};
|
|
64054
|
-
const DISABLED_INPUT_FIELDS$
|
|
64055
|
-
F$
|
|
64056
|
-
F$
|
|
64057
|
-
F$
|
|
64058
|
-
F$
|
|
64059
|
-
F$
|
|
64060
|
-
F$
|
|
64061
|
-
F$
|
|
64062
|
-
F$
|
|
64063
|
-
F$
|
|
64064
|
-
F$
|
|
64065
|
-
F$
|
|
64056
|
+
const DISABLED_INPUT_FIELDS$2 = [
|
|
64057
|
+
F$2.productName,
|
|
64058
|
+
F$2.productCode,
|
|
64059
|
+
F$2.productSpec,
|
|
64060
|
+
F$2.batch,
|
|
64061
|
+
F$2.originWarehouse,
|
|
64062
|
+
F$2.originLocation,
|
|
64063
|
+
F$2.mfgOrder,
|
|
64064
|
+
F$2.lotSn,
|
|
64065
|
+
F$2.stock,
|
|
64066
|
+
F$2.validity,
|
|
64067
|
+
F$2.reInspectionDate
|
|
64066
64068
|
];
|
|
64067
|
-
const CLEAR_ON_PRODUCT_EMPTY$
|
|
64068
|
-
F$
|
|
64069
|
-
F$
|
|
64070
|
-
F$
|
|
64071
|
-
F$
|
|
64072
|
-
F$
|
|
64073
|
-
F$
|
|
64074
|
-
F$
|
|
64075
|
-
F$
|
|
64076
|
-
F$
|
|
64077
|
-
F$
|
|
64078
|
-
F$
|
|
64079
|
-
F$
|
|
64080
|
-
F$
|
|
64081
|
-
F$
|
|
64082
|
-
F$
|
|
64069
|
+
const CLEAR_ON_PRODUCT_EMPTY$2 = [
|
|
64070
|
+
F$2.inventory,
|
|
64071
|
+
F$2.productName,
|
|
64072
|
+
F$2.productCode,
|
|
64073
|
+
F$2.productSpec,
|
|
64074
|
+
F$2.batch,
|
|
64075
|
+
F$2.originWarehouse,
|
|
64076
|
+
F$2.originLocation,
|
|
64077
|
+
F$2.warehouse,
|
|
64078
|
+
F$2.location,
|
|
64079
|
+
F$2.mfgOrder,
|
|
64080
|
+
F$2.lotSn,
|
|
64081
|
+
F$2.stock,
|
|
64082
|
+
F$2.allocateNum,
|
|
64083
|
+
F$2.validity,
|
|
64084
|
+
F$2.reInspectionDate
|
|
64083
64085
|
];
|
|
64084
64086
|
const FILL_FROM_INVENTORY_OPTION = [
|
|
64085
|
-
{ optionField: "id_", toField: F$
|
|
64086
|
-
{ optionField: "product_id_name_", toField: F$
|
|
64087
|
-
{ optionField: "product_id_code_", toField: F$
|
|
64088
|
-
{ optionField: "product_id_spec_", toField: F$
|
|
64089
|
-
{ optionField: "production_identification_id_", toField: F$
|
|
64090
|
-
{ optionField: "warehouse_id_", toField: F$
|
|
64091
|
-
{ optionField: "location_id_", toField: F$
|
|
64092
|
-
{ optionField: "mfg_order_id_", toField: F$
|
|
64093
|
-
{ optionField: "lot_sn_id_", toField: F$
|
|
64094
|
-
{ optionField: "stock_num_", toField: F$
|
|
64095
|
-
{ optionField: "validate_", toField: F$
|
|
64096
|
-
{ optionField: "re_inspection_date_", toField: F$
|
|
64087
|
+
{ optionField: "id_", toField: F$2.inventory },
|
|
64088
|
+
{ optionField: "product_id_name_", toField: F$2.productName },
|
|
64089
|
+
{ optionField: "product_id_code_", toField: F$2.productCode },
|
|
64090
|
+
{ optionField: "product_id_spec_", toField: F$2.productSpec },
|
|
64091
|
+
{ optionField: "production_identification_id_", toField: F$2.batch },
|
|
64092
|
+
{ optionField: "warehouse_id_", toField: F$2.originWarehouse },
|
|
64093
|
+
{ optionField: "location_id_", toField: F$2.originLocation },
|
|
64094
|
+
{ optionField: "mfg_order_id_", toField: F$2.mfgOrder },
|
|
64095
|
+
{ optionField: "lot_sn_id_", toField: F$2.lotSn },
|
|
64096
|
+
{ optionField: "stock_num_", toField: F$2.stock },
|
|
64097
|
+
{ optionField: "validate_", toField: F$2.validity },
|
|
64098
|
+
{ optionField: "re_inspection_date_", toField: F$2.reInspectionDate }
|
|
64097
64099
|
];
|
|
64098
|
-
const fields$
|
|
64100
|
+
const fields$2 = [
|
|
64099
64101
|
{
|
|
64100
|
-
match: { fieldKey: [...DISABLED_INPUT_FIELDS$
|
|
64102
|
+
match: { fieldKey: [...DISABLED_INPUT_FIELDS$2] },
|
|
64101
64103
|
defaultProps: {
|
|
64102
64104
|
disabled: true,
|
|
64103
64105
|
fieldDisabled: true,
|
|
@@ -64105,9 +64107,9 @@ const fields$1 = [
|
|
|
64105
64107
|
}
|
|
64106
64108
|
}
|
|
64107
64109
|
];
|
|
64108
|
-
const TABLE_TYPE$
|
|
64109
|
-
const profile$
|
|
64110
|
-
type: TABLE_TYPE$
|
|
64110
|
+
const TABLE_TYPE$6 = "warehouse-allocate";
|
|
64111
|
+
const profile$6 = {
|
|
64112
|
+
type: TABLE_TYPE$6,
|
|
64111
64113
|
label: "库存调拨表",
|
|
64112
64114
|
labelKey: "sys.pageDesigner.fieldCmp.allocate",
|
|
64113
64115
|
category: "business",
|
|
@@ -64120,16 +64122,16 @@ const profile$5 = {
|
|
|
64120
64122
|
refModelType: "ALLOCATE",
|
|
64121
64123
|
tableType: SubTableType.ALLOCATE
|
|
64122
64124
|
},
|
|
64123
|
-
fields: fields$
|
|
64125
|
+
fields: fields$2,
|
|
64124
64126
|
contextAssignments: [
|
|
64125
|
-
{ when: "onRowInit", fieldKey: F$
|
|
64126
|
-
{ when: "onRowInit", fieldKey: F$
|
|
64127
|
-
{ when: "onRowInit", fieldKey: F$
|
|
64127
|
+
{ when: "onRowInit", fieldKey: F$2.originWarehouse, paramKey: "warehouseId", onlyIfEmpty: true },
|
|
64128
|
+
{ when: "onRowInit", fieldKey: F$2.mfgOrder, paramKey: "mfgOrderId", onlyIfEmpty: true },
|
|
64129
|
+
{ when: "onRowInit", fieldKey: F$2.lotSn, paramKey: "lotSnId", onlyIfEmpty: true }
|
|
64128
64130
|
],
|
|
64129
|
-
rowHandlers: [{ when: "onFieldChange", watch: [F$
|
|
64131
|
+
rowHandlers: [{ when: "onFieldChange", watch: [F$2.product], handler: "on-product-id-change" }],
|
|
64130
64132
|
runtimeRules: [
|
|
64131
64133
|
{
|
|
64132
|
-
fields: [...DISABLED_INPUT_FIELDS$
|
|
64134
|
+
fields: [...DISABLED_INPUT_FIELDS$2],
|
|
64133
64135
|
effect: { disabled: true }
|
|
64134
64136
|
}
|
|
64135
64137
|
],
|
|
@@ -64139,21 +64141,21 @@ const profile$5 = {
|
|
|
64139
64141
|
labelBjColor: "rgba(222,69,245,0.8)"
|
|
64140
64142
|
}
|
|
64141
64143
|
};
|
|
64142
|
-
function isBlank$
|
|
64144
|
+
function isBlank$3(value) {
|
|
64143
64145
|
return value === void 0 || value === null || value === "";
|
|
64144
64146
|
}
|
|
64145
|
-
function handleProductIdChange(ctx) {
|
|
64146
|
-
if (!isBlank$
|
|
64147
|
-
for (const fieldKey of CLEAR_ON_PRODUCT_EMPTY$
|
|
64147
|
+
function handleProductIdChange$1(ctx) {
|
|
64148
|
+
if (!isBlank$3(ctx.rowData[F$2.product])) return;
|
|
64149
|
+
for (const fieldKey of CLEAR_ON_PRODUCT_EMPTY$2) {
|
|
64148
64150
|
ctx.rowData[fieldKey] = void 0;
|
|
64149
64151
|
}
|
|
64150
64152
|
}
|
|
64151
|
-
registerRowHandler(TABLE_TYPE$
|
|
64152
|
-
handleProductIdChange({ rowData });
|
|
64153
|
+
registerRowHandler(TABLE_TYPE$6, "on-product-id-change", ({ rowData }) => {
|
|
64154
|
+
handleProductIdChange$1({ rowData });
|
|
64153
64155
|
});
|
|
64154
|
-
const TABLE_TYPE$
|
|
64155
|
-
const profile$
|
|
64156
|
-
type: TABLE_TYPE$
|
|
64156
|
+
const TABLE_TYPE$5 = "material-consume";
|
|
64157
|
+
const profile$5 = {
|
|
64158
|
+
type: TABLE_TYPE$5,
|
|
64157
64159
|
label: "物料消耗表",
|
|
64158
64160
|
labelKey: "sys.onlineForm.subTableType.MATERIAL_CONSUMPTION",
|
|
64159
64161
|
category: "business",
|
|
@@ -64172,9 +64174,9 @@ const profile$4 = {
|
|
|
64172
64174
|
labelBjColor: "rgba(72,145,179,0.8)"
|
|
64173
64175
|
}
|
|
64174
64176
|
};
|
|
64175
|
-
const TABLE_TYPE$
|
|
64176
|
-
const profile$
|
|
64177
|
-
type: TABLE_TYPE$
|
|
64177
|
+
const TABLE_TYPE$4 = "material-balance";
|
|
64178
|
+
const profile$4 = {
|
|
64179
|
+
type: TABLE_TYPE$4,
|
|
64178
64180
|
label: "物料平衡表",
|
|
64179
64181
|
labelKey: "sys.onlineForm.subTableType.MATERIAL_BALANCE",
|
|
64180
64182
|
category: "business",
|
|
@@ -64193,6 +64195,94 @@ const profile$3 = {
|
|
|
64193
64195
|
labelBjColor: "rgba(111,179,139,0.8)"
|
|
64194
64196
|
}
|
|
64195
64197
|
};
|
|
64198
|
+
const F$1 = {
|
|
64199
|
+
/** 物料 */
|
|
64200
|
+
product: "product_id_",
|
|
64201
|
+
/** 物料名称 */
|
|
64202
|
+
productName: "product_id_name_",
|
|
64203
|
+
/** 物料编码 */
|
|
64204
|
+
productCode: "product_id_code_",
|
|
64205
|
+
/** 物料规格 */
|
|
64206
|
+
productSpec: "product_id_spec_",
|
|
64207
|
+
/** 工单 */
|
|
64208
|
+
mfgOrder: "mfg_order_id_",
|
|
64209
|
+
/** 批次/SN */
|
|
64210
|
+
lotSn: "lot_sn_id_"
|
|
64211
|
+
};
|
|
64212
|
+
const DISABLED_INPUT_FIELDS$1 = [F$1.productName, F$1.productCode, F$1.productSpec];
|
|
64213
|
+
const CLEAR_ON_PRODUCT_EMPTY$1 = [F$1.productName, F$1.productCode, F$1.productSpec];
|
|
64214
|
+
const fields$1 = [
|
|
64215
|
+
{
|
|
64216
|
+
match: { fieldKey: F$1.product },
|
|
64217
|
+
autofillTemplates: [
|
|
64218
|
+
{
|
|
64219
|
+
fromField: "name_",
|
|
64220
|
+
toField: ({ sourceFieldKey }) => `${normalizeRefFieldKey(sourceFieldKey)}_name_`
|
|
64221
|
+
},
|
|
64222
|
+
{
|
|
64223
|
+
fromField: "code_",
|
|
64224
|
+
toField: ({ sourceFieldKey }) => `${normalizeRefFieldKey(sourceFieldKey)}_code_`
|
|
64225
|
+
},
|
|
64226
|
+
{
|
|
64227
|
+
fromField: "spec_",
|
|
64228
|
+
toField: ({ sourceFieldKey }) => `${normalizeRefFieldKey(sourceFieldKey)}_spec_`
|
|
64229
|
+
}
|
|
64230
|
+
]
|
|
64231
|
+
},
|
|
64232
|
+
{
|
|
64233
|
+
match: { fieldKey: [...DISABLED_INPUT_FIELDS$1] },
|
|
64234
|
+
defaultProps: {
|
|
64235
|
+
disabled: true,
|
|
64236
|
+
fieldDisabled: true,
|
|
64237
|
+
required: false
|
|
64238
|
+
}
|
|
64239
|
+
}
|
|
64240
|
+
];
|
|
64241
|
+
const TABLE_TYPE$3 = "material-requisition";
|
|
64242
|
+
const profile$3 = {
|
|
64243
|
+
type: TABLE_TYPE$3,
|
|
64244
|
+
label: "生产收料表",
|
|
64245
|
+
labelKey: "sys.pageDesigner.fieldCmp.material_requisition",
|
|
64246
|
+
category: "business",
|
|
64247
|
+
ribbonAction: "material-requisition",
|
|
64248
|
+
ribbonGroup: "生产",
|
|
64249
|
+
icon: "material-requisition",
|
|
64250
|
+
enabled: true,
|
|
64251
|
+
match: {
|
|
64252
|
+
fieldType: "master_slave",
|
|
64253
|
+
refModelType: "MATERIAL_REQUISITION",
|
|
64254
|
+
tableType: SubTableType.MATERIAL_REQUISITION
|
|
64255
|
+
},
|
|
64256
|
+
fields: fields$1,
|
|
64257
|
+
contextAssignments: [
|
|
64258
|
+
{ when: "onRowInit", fieldKey: F$1.mfgOrder, paramKey: "mfgOrderId", onlyIfEmpty: true },
|
|
64259
|
+
{ when: "onRowInit", fieldKey: F$1.lotSn, paramKey: "lotSnId", onlyIfEmpty: true }
|
|
64260
|
+
],
|
|
64261
|
+
rowHandlers: [{ when: "onFieldChange", watch: [F$1.product], handler: "on-product-id-change" }],
|
|
64262
|
+
runtimeRules: [
|
|
64263
|
+
{
|
|
64264
|
+
fields: [...DISABLED_INPUT_FIELDS$1],
|
|
64265
|
+
effect: { disabled: true }
|
|
64266
|
+
}
|
|
64267
|
+
],
|
|
64268
|
+
theme: {
|
|
64269
|
+
color: "#3E62D7",
|
|
64270
|
+
background: "rgba(62,98,215,0.2)",
|
|
64271
|
+
labelBjColor: "rgba(62,98,215,0.8)"
|
|
64272
|
+
}
|
|
64273
|
+
};
|
|
64274
|
+
function isBlank$2(value) {
|
|
64275
|
+
return value === void 0 || value === null || value === "";
|
|
64276
|
+
}
|
|
64277
|
+
function handleProductIdChange(ctx) {
|
|
64278
|
+
if (!isBlank$2(ctx.rowData[F$1.product])) return;
|
|
64279
|
+
for (const fieldKey of CLEAR_ON_PRODUCT_EMPTY$1) {
|
|
64280
|
+
ctx.rowData[fieldKey] = void 0;
|
|
64281
|
+
}
|
|
64282
|
+
}
|
|
64283
|
+
registerRowHandler(TABLE_TYPE$3, "on-product-id-change", ({ rowData }) => {
|
|
64284
|
+
handleProductIdChange({ rowData });
|
|
64285
|
+
});
|
|
64196
64286
|
const TABLE_TYPE$2 = "entrust-steril-batch-list";
|
|
64197
64287
|
const profile$2 = {
|
|
64198
64288
|
type: TABLE_TYPE$2,
|
|
@@ -64505,18 +64595,19 @@ function resolveCreateTargetByTableType(tableType) {
|
|
|
64505
64595
|
return "dynamicTables";
|
|
64506
64596
|
}
|
|
64507
64597
|
const ALL_TABLE_PROFILES = [
|
|
64598
|
+
profile$h,
|
|
64508
64599
|
profile$g,
|
|
64509
64600
|
profile$f,
|
|
64510
|
-
profile$
|
|
64601
|
+
profile$b,
|
|
64511
64602
|
profile$a,
|
|
64512
|
-
profile$
|
|
64603
|
+
profile$8,
|
|
64513
64604
|
profile$7,
|
|
64514
|
-
profile$6,
|
|
64515
|
-
profile$c,
|
|
64516
|
-
profile$b,
|
|
64517
64605
|
profile$d,
|
|
64606
|
+
profile$c,
|
|
64607
|
+
profile$e,
|
|
64518
64608
|
// 兼容老文档,Ribbon 已隐藏
|
|
64519
|
-
profile$
|
|
64609
|
+
profile$9,
|
|
64610
|
+
profile$6,
|
|
64520
64611
|
profile$5,
|
|
64521
64612
|
profile$4,
|
|
64522
64613
|
profile$3,
|
|
@@ -64596,6 +64687,7 @@ const SUB_TABLE_PANEL_TYPE_NAME = {
|
|
|
64596
64687
|
[SubTableType.DEVICE_PART_CONSUME]: "DevicePartConsumeTable",
|
|
64597
64688
|
[SubTableType.MATERIAL_CONSUMPTION]: "MaterialConsumptionTable",
|
|
64598
64689
|
[SubTableType.MATERIAL_BALANCE]: "MaterialBalanceTable",
|
|
64690
|
+
[SubTableType.MATERIAL_REQUISITION]: "MaterialRequisitionTable",
|
|
64599
64691
|
[SubTableType.STOCKTAKE]: "MaterialStocktakeTable",
|
|
64600
64692
|
[SubTableType.ALLOCATE]: "MaterialAllocateTable",
|
|
64601
64693
|
[SubTableType.STERILIZE_BATCH]: "SterilizeBatchTable",
|
|
@@ -64642,6 +64734,7 @@ const CONFIG_HEADER_KEY = {
|
|
|
64642
64734
|
[SubTableType.WAREHOUSE_INBOUND]: "sys.warehouseInTableConfig",
|
|
64643
64735
|
[SubTableType.WAREHOUSE_OUTBOUND]: "sys.warehouseOutTableConfig",
|
|
64644
64736
|
[SubTableType.PART_STOCKTAKE]: "sys.edhr.mcTable.stocktakeConfig",
|
|
64737
|
+
[SubTableType.MATERIAL_REQUISITION]: "sys.materialRequisitionTableConfig",
|
|
64645
64738
|
[SubTableType.STOCKTAKE]: "sys.edhr.mcTable.stocktakeConfig",
|
|
64646
64739
|
[SubTableType.ALLOCATE]: "sys.edhr.mcTable.allocateConfig",
|
|
64647
64740
|
[SubTableType.STERILIZE_BATCH]: "sys.sterilizeBatchConfig",
|
|
@@ -65956,27 +66049,27 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
65956
66049
|
case "revo-grid":
|
|
65957
66050
|
return import(
|
|
65958
66051
|
/* webpackMode: "lazy" */
|
|
65959
|
-
"./revo-grid.entry-
|
|
66052
|
+
"./revo-grid.entry-Cg-4cMIo.js"
|
|
65960
66053
|
).then(processMod, consoleError);
|
|
65961
66054
|
case "revogr-filter-panel":
|
|
65962
66055
|
return import(
|
|
65963
66056
|
/* webpackMode: "lazy" */
|
|
65964
|
-
"./revogr-filter-panel.entry-
|
|
66057
|
+
"./revogr-filter-panel.entry-BrYsomo0.js"
|
|
65965
66058
|
).then(processMod, consoleError);
|
|
65966
66059
|
case "revogr-attribution_7":
|
|
65967
66060
|
return import(
|
|
65968
66061
|
/* webpackMode: "lazy" */
|
|
65969
|
-
"./revogr-attribution_7.entry-
|
|
66062
|
+
"./revogr-attribution_7.entry-DzamtFvo.js"
|
|
65970
66063
|
).then(processMod, consoleError);
|
|
65971
66064
|
case "revogr-clipboard_3":
|
|
65972
66065
|
return import(
|
|
65973
66066
|
/* webpackMode: "lazy" */
|
|
65974
|
-
"./revogr-clipboard_3.entry-
|
|
66067
|
+
"./revogr-clipboard_3.entry-CIxDfW07.js"
|
|
65975
66068
|
).then(processMod, consoleError);
|
|
65976
66069
|
case "revogr-data_4":
|
|
65977
66070
|
return import(
|
|
65978
66071
|
/* webpackMode: "lazy" */
|
|
65979
|
-
"./revogr-data_4.entry-
|
|
66072
|
+
"./revogr-data_4.entry-BNENcgpR.js"
|
|
65980
66073
|
).then(processMod, consoleError);
|
|
65981
66074
|
}
|
|
65982
66075
|
}
|
|
@@ -76241,7 +76334,7 @@ export {
|
|
|
76241
76334
|
buildUUID as Z,
|
|
76242
76335
|
_export_sfc as _,
|
|
76243
76336
|
getProfile as a,
|
|
76244
|
-
F$
|
|
76337
|
+
F$5 as a$,
|
|
76245
76338
|
CellWidgetViewState as a0,
|
|
76246
76339
|
DiagonalDirection as a1,
|
|
76247
76340
|
WidgetImageSizeMode as a2,
|
|
@@ -76277,7 +76370,7 @@ export {
|
|
|
76277
76370
|
fetchHistoryConsume as aW,
|
|
76278
76371
|
isBomGranted as aX,
|
|
76279
76372
|
runRowHandler as aY,
|
|
76280
|
-
F$
|
|
76373
|
+
F$8 as aZ,
|
|
76281
76374
|
FILL_FROM_INVENTORY_OPTION$2 as a_,
|
|
76282
76375
|
noop as aa,
|
|
76283
76376
|
isIOS as ab,
|
|
@@ -76312,7 +76405,7 @@ export {
|
|
|
76312
76405
|
SCAN_MERGE_GROUP_KEYS as b2,
|
|
76313
76406
|
AUTO_LOAD_READONLY_SELECT_FIELDS as b3,
|
|
76314
76407
|
FILL_FROM_INVENTORY_OPTION$1 as b4,
|
|
76315
|
-
F$
|
|
76408
|
+
F$2 as b5,
|
|
76316
76409
|
FILL_FROM_INVENTORY_OPTION as b6,
|
|
76317
76410
|
calcFillData as b7,
|
|
76318
76411
|
extractKeywordFromQueryData as b8,
|