diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/table/index.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/table/index.js index 600f5437..6b5e29aa 100644 --- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/table/index.js +++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/table/index.js @@ -39,7 +39,7 @@ export default {
- +
diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/input/jie-suan.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/input/jie-suan.js index 9d6bd941..ed1229f6 100644 --- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/input/jie-suan.js +++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/input/jie-suan.js @@ -1,12 +1,12 @@ import businessType, { version, state } from "../_options.js"; -export default function (businessType, meta) { +export default function (type, meta) { let service = null; let detailService = null; - if (businessType === "JisBBAC" || businessType === "MaiDanJianBBAC") { + if (type === "JisBBAC" || type === "MaiDanJianBBAC") { service = "bbac_sa_service"; detailService = "bbac_sa_detail_service"; - } else if (businessType === "JisHBPO" || businessType === "MaiDanJianHBPO") { + } else if (type === "JisHBPO" || type === "MaiDanJianHBPO") { service = "hbpo_sa_service"; detailService = "hbpo_sa_detail_service"; } else { @@ -100,7 +100,7 @@ export default function (businessType, meta) { { label: 1046, value: 1046 }, ], input: "select", - hidden: true, + hideForList: true, default: meta.client === "bbac-1040" ? 1040 : 1046, }; querySchema.properties.filters.default.push({ diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/settle/_check.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/settle/_check.js index 8b509301..c5ad76ec 100644 --- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/settle/_check.js +++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/settle/_check.js @@ -63,8 +63,8 @@ export default { -
-
+
+
新建 @@ -80,7 +80,7 @@ export default {
-
+
@@ -94,7 +94,7 @@ export default {
-
+
@@ -117,7 +117,7 @@ export default {
-
+
@@ -488,7 +488,7 @@ export default { }, }; const defaultAdjModel = schemaToModel(adjSchema); - const adjModel = ref(Object.assign({ invBillNum: "" }, defaultAdjModel)); + const adjModel = ref(null); const addAdjFormRef = ref(null); const showAddAdjDialog = () => { adjModel.value = Object.assign({}, defaultAdjModel); @@ -498,7 +498,7 @@ export default { try { const valid = await addAdjFormRef.value.validate(); if (valid) { - adjList.value.unshift(adjModel.value); + adjList.value.unshift(Object.assign({}, adjModel.value)); addDialogVisible.value = false; nextTick(() => { scrollRef.value.update();