|
@@ -215,6 +215,7 @@ const tabTypeTab = ref([
|
|
|
{key:'mark', name: '已标记为首件'},
|
|
|
{key:'query', name: '首件查询'}
|
|
|
]);
|
|
|
+
|
|
|
const tabTypeChange = (item) => {
|
|
|
tableFormId.value = ''
|
|
|
tabTypeKey.value = item?.key
|
|
@@ -263,7 +264,8 @@ const reportBatch = ref([])
|
|
|
const getReportNumberByContractId = async (cid) => {
|
|
|
const { data } = await getReportNumber({
|
|
|
contractId: contractId.value,
|
|
|
- contractIdRelation: cid ?? ''
|
|
|
+ contractIdRelation: cid ?? '',
|
|
|
+ firstTitle: tabTypeKey.value === 'query' ? 1: null
|
|
|
})
|
|
|
//处理数据
|
|
|
reportBatch.value = getArrValue(data)
|