From ca98866230c89e247bf4b93222c07cea0437ff20 Mon Sep 17 00:00:00 2001
From: zhangback <zhangback@163.com>
Date: 星期二, 16 十二月 2025 17:17:26 +0800
Subject: [PATCH] 提交
---
ui/admin-ui3/src/views/tms/tmsArBill/index.vue | 69 ++++++++++++++++++++++++++++++++--
1 files changed, 64 insertions(+), 5 deletions(-)
diff --git a/ui/admin-ui3/src/views/tms/tmsArBill/index.vue b/ui/admin-ui3/src/views/tms/tmsArBill/index.vue
index 7fd4697..021b8f2 100644
--- a/ui/admin-ui3/src/views/tms/tmsArBill/index.vue
+++ b/ui/admin-ui3/src/views/tms/tmsArBill/index.vue
@@ -49,9 +49,14 @@
<el-link size="small" type="primary" v-if="row.status != 2"
@click="handleJs(row)" class="link-btn" :underline="false"
icon="el-icon-tickets">缁撶畻
- </el-link><el-link size="small" type="primary"
+ </el-link>
+ <el-link size="small" type="primary"
@click="handleEdit(row)" class="link-btn" :underline="false"
icon="el-icon-edit">淇敼
+ </el-link>
+ <el-link size="small" type="primary"
+ @click="handleLog(row)" class="link-btn" :underline="false"
+ icon="el-icon-tickets">鏃ュ織
</el-link>
</template>
</avue-crud>
@@ -60,7 +65,7 @@
<el-dialog :title="pageF.title" v-model="pageF.open" class="avue-dialog avue-dialog--top" width="80%">
- <avue-form v-model="boxForm" ref="boxFormRef"
+ <avue-form v-if="opt == 'js'" v-model="boxForm" ref="boxFormRef"
:option="boxFormOption">
</avue-form>
@@ -94,7 +99,22 @@
</div>
</template>
</el-dialog>
+ <el-dialog :title="pageF.title" v-model="open2" class="avue-dialog avue-dialog--top" width="80%">
+ <avue-crud
+ :option="logTableOption" ref="itemsTableRef2"
+ :data="logTable"
+ >
+
+ </avue-crud>
+
+
+ <template #footer>
+ <div class="dialog-footer">
+ <el-button @click="open2 = false">鍙� 娑�</el-button>
+ </div>
+ </template>
+ </el-dialog>
</basicContainer>
@@ -115,7 +135,7 @@
import {PagesInterface, PageQueryInterface} from "@/utils/globalInterface";
import {usePagePlus} from "@/hooks/usePagePlus";
import {hasPermission} from "@/utils/permissionUtils";
-import {addTmsArSettlement} from "@/api/tms/tmsArSettlement";
+import {addTmsArSettlement, listTmsArSettlement} from "@/api/tms/tmsArSettlement";
const {proxy} = useCurrentInstance();
const crudRef = ref();
@@ -139,9 +159,10 @@
},
selectionList: [],
opt: '',
- boxForm:<any> {}
+ boxForm:<any> {},
+ open2: false
})
-const {queryParams, form, page, selectionList,opt,boxForm} = toRefs(data);
+const {queryParams, form, page, selectionList,opt,boxForm,open2} = toRefs(data);
const option = ref({
pageKey: 'TmsArBill',
rowKey: 'id',
@@ -368,6 +389,44 @@
}
})
}
+const logTableOption= ref({
+ menu: false,
+ add: false,
+ header:false,
+ selection: false,
+ rowKey:'id',
+ column:{
+
+ settleAmount:{
+ label: '缁撶畻閲戦',
+ },
+ createBy:{
+ label: '澶勭悊浜哄憳',
+ },
+ attachment:{
+ label: '闄勪欢涓嬭浇',
+ dataType: 'string',
+ type: 'img'
+ },
+
+ remark:{
+ label: '澶囨敞',
+ },
+ createTime:{
+ label: '鎻愪氦鏃堕棿',
+ },
+ }
+})
+const logTable = ref<any>()
+
+const handleLog = (row:any)=>{
+ listTmsArSettlement({billId:row.id}).then(res=>{
+ logTable.value = res.rows||[];
+ open2.value = true;
+ pageF.title = '缁撶畻鏃ュ織';
+ })
+
+}
</script>
--
Gitblit v1.8.0