|
|
@@ -44,14 +44,16 @@ export default defineComponent({
|
|
|
Description,
|
|
|
},
|
|
|
setup() {
|
|
|
+ let cycletime = '';
|
|
|
// 表格列表数据
|
|
|
const { loading, tableList, queryTable } = queryTableList<Ermcp3FinanceReport>();
|
|
|
// 获取列表数据
|
|
|
const queryTableAction = () => {
|
|
|
const { getInitTime, getInitType } = handleInitTypeAndTime();
|
|
|
+ cycletime = getInitTime();
|
|
|
const param: FinanceReportReq = {
|
|
|
cycletype: getInitType(),
|
|
|
- cycletime: getInitTime(),
|
|
|
+ cycletime,
|
|
|
querytype: 1,
|
|
|
};
|
|
|
// 获取列表数据
|
|
|
@@ -80,7 +82,7 @@ export default defineComponent({
|
|
|
function changeTab(index: number, current: TabList) {
|
|
|
const { code } = current;
|
|
|
const data = selectedRow.value as Ermcp3FinanceReport;
|
|
|
- const { cycletype, cycletime, currencyid } = data;
|
|
|
+ const { cycletype, currencyid } = data;
|
|
|
const param: FinanceReportReq = {
|
|
|
querytype: 2,
|
|
|
cycletype,
|
|
|
@@ -115,6 +117,7 @@ export default defineComponent({
|
|
|
}
|
|
|
});
|
|
|
function search(value: TypeAndTime) {
|
|
|
+ cycletime = value.cycletime;
|
|
|
const obj = Object.assign(value, { querytype: 1 });
|
|
|
queryTable(qryFinanceReport, obj);
|
|
|
}
|