|
@@ -131,13 +131,13 @@ const getKey1Data = async ()=>{
|
|
let newArr = getArrValue(data), info = getObjValue(newArr[newArr.length - 1])
|
|
let newArr = getArrValue(data), info = getObjValue(newArr[newArr.length - 1])
|
|
searchForm.value.contractPeriodId = info.id
|
|
searchForm.value.contractPeriodId = info.id
|
|
approveStatus.value = info.approveStatus
|
|
approveStatus.value = info.approveStatus
|
|
-
|
|
|
|
|
|
+
|
|
key1Data.value = newArr
|
|
key1Data.value = newArr
|
|
key1Data.value.unshift({
|
|
key1Data.value.unshift({
|
|
id:-1,
|
|
id:-1,
|
|
periodNumber:'全部',
|
|
periodNumber:'全部',
|
|
})
|
|
})
|
|
-
|
|
|
|
|
|
+
|
|
} else {
|
|
} else {
|
|
key1Data.value = []
|
|
key1Data.value = []
|
|
}
|
|
}
|
|
@@ -245,7 +245,7 @@ const sortClick = (type) => {
|
|
//查看报表
|
|
//查看报表
|
|
const rawUrl = ref('')
|
|
const rawUrl = ref('')
|
|
const viewPdf = ()=>{
|
|
const viewPdf = ()=>{
|
|
-
|
|
|
|
|
|
+
|
|
toPdfPage(rawUrl.value)
|
|
toPdfPage(rawUrl.value)
|
|
}
|
|
}
|
|
//获取表格计量期
|
|
//获取表格计量期
|
|
@@ -323,6 +323,9 @@ const addModalFinish = () => {
|
|
TreeAutoExpandKeys.value = getStoreValue('middlepay-tree-auto-expand-keys') || []
|
|
TreeAutoExpandKeys.value = getStoreValue('middlepay-tree-auto-expand-keys') || []
|
|
treeKey.value = getRandom(2)
|
|
treeKey.value = getRandom(2)
|
|
getTableData().then()
|
|
getTableData().then()
|
|
|
|
+ nextTick(() => {
|
|
|
|
+ addModalShow.value = true
|
|
|
|
+ })
|
|
}
|
|
}
|
|
|
|
|
|
//收方清单明细
|
|
//收方清单明细
|
|
@@ -352,7 +355,7 @@ const reportFinish = () => {
|
|
const autoLoading = ref(false)
|
|
const autoLoading = ref(false)
|
|
const autoClick = async ()=>{
|
|
const autoClick = async ()=>{
|
|
const { code, msg } = await mainApi.autoBatchMeter(
|
|
const { code, msg } = await mainApi.autoBatchMeter(
|
|
- {
|
|
|
|
|
|
+ {
|
|
PeriodId:searchForm.value.contractPeriodId,
|
|
PeriodId:searchForm.value.contractPeriodId,
|
|
contractId:contractId.value,
|
|
contractId:contractId.value,
|
|
projectId:projectId.value,
|
|
projectId:projectId.value,
|