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 bf663539..d2a3c757 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
@@ -42,7 +42,9 @@ export default {
@@ -173,7 +175,7 @@ export default {
background: yellow;
}
`,
- props: ["modelValue", "data", "isBusiness", "businessType"],
+ props: ["modelValue", "row", "data", "isBusiness", "businessType"],
emit: ["update:modelValue"],
setup(props, context) {
const show = ref(props.modelValue);
diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/settle/commerce.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/settle/commerce.js
index 554545cd..318f61f5 100644
--- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/settle/commerce.js
+++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/settle/commerce.js
@@ -9,10 +9,11 @@ import AppCheck from "./_check.js";
export default {
components: { AppList, AppCheck },
template: html`
- `,
+ `,
setup() {
const appListRef = ref(null);
const visable = ref(false);
+ const row = ref(null);
const data = ref(null);
const route = useRoute();
const businessType = route.meta.businessType;
@@ -50,11 +51,12 @@ export default {
}
});
} else if (item.path === "invbillNum" || item.path === "invGroupNum") {
+ row.value = rows[0];
data.value = { [item.path]: rows[0][item.path] };
visable.value = true;
}
console.log(item.path, item, rows);
};
- return { appListRef, config, onCommand, visable, data, businessType };
+ return { appListRef, config, onCommand, visable, row, data, businessType };
},
};
diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/settle/finance.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/settle/finance.js
index f03f849b..10734a21 100644
--- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/settle/finance.js
+++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/settle/finance.js
@@ -8,10 +8,12 @@ import AppCheck from "./_check.js";
export default {
components: { AppList, AppCheck },
- template: html` `,
+ template: html`
+ `,
setup() {
const appListRef = ref(null);
const visable = ref(false);
+ const row = ref(null);
const data = ref(null);
const route = useRoute();
const businessType = route.meta.businessType;
@@ -49,11 +51,12 @@ export default {
}
});
} else if (item.path === "invbillNum" || item.path === "invGroupNum") {
+ row.value = rows[0];
data.value = { [item.path]: rows[0][item.path] };
visable.value = true;
}
console.log(item.path, item, rows);
};
- return { appListRef, config, onCommand, visable, data, businessType };
+ return { appListRef, config, onCommand, visable, row, data, businessType };
},
};