From 35d6ace96aac27cb6c81bc361503378f6acbd24f Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期一, 09 六月 2025 17:48:21 +0800 Subject: [PATCH] 1.库存管理页面联调 --- src/views/procureMent/index.vue | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/procureMent/index.vue b/src/views/procureMent/index.vue index 038b727..68d304d 100644 --- a/src/views/procureMent/index.vue +++ b/src/views/procureMent/index.vue @@ -23,7 +23,7 @@ <el-row :gutter="24" class="table-toolbar"> <el-button type="primary" :icon="Plus" @click="handleAdd">鏂板缓</el-button> <el-button type="danger" :icon="Delete" @click="handleDelete">鍒犻櫎</el-button> - <el-button type="info" :icon="Download" @click="handleExport">瀵煎嚭</el-button> + <!-- <el-button type="info" :icon="Download" @click="handleExport">瀵煎嚭</el-button> --> </el-row> <!-- 琛ㄦ牸缁勪欢 --> <data-table :loading="loading" :table-data="tableData" :columns="columns" @selection-change="handleSelectionChange" @@ -76,9 +76,11 @@ getList(); }; const userStore = useUserStore(); +// 鑾峰彇鐢ㄦ埛淇℃伅 +const userInfo = ref({}); onMounted(async() => { let res = await userStore.getInfo() - form.value.registrantId = res.user.userName; // 璁剧疆鐧昏浜篒D + userInfo.value = res.user; }); // 鍒嗛〉澶勭悊 const handlePagination = (val) => { @@ -141,7 +143,7 @@ priceIncludingTax: "", totalPriceIncludingTax: "", taxRate: "", - registrantId: "", + registrantId: userInfo.value.userName, registrationDate: new Date().toISOString().split('T')[0] }; // 鏂板缓鏃朵篃闇�瑕佽缃� copyForm 鐢ㄤ簬閲嶇疆鍔熻兘 -- Gitblit v1.9.3