From a4b23bbf535f10c5ecc31b16bc8177bcfc23e996 Mon Sep 17 00:00:00 2001 From: hailin <1356886193@qq.com> Date: 星期一, 07 八月 2023 09:44:13 +0800 Subject: [PATCH] 添加原材料检验单第一次 --- src/components/view/raw-ins.vue | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/components/view/raw-ins.vue b/src/components/view/raw-ins.vue index 72c3841..1808269 100644 --- a/src/components/view/raw-ins.vue +++ b/src/components/view/raw-ins.vue @@ -80,7 +80,7 @@ <el-row> <el-col :span="12" style="line-height: 32px;">鍘熸潗鏂欐楠�</el-col> <el-col :span="12" style="text-align: right;"> - <el-button type="primary" icon="el-icon-plus" style="background: #004EA2;">鏂板</el-button> + <el-button type="primary" icon="el-icon-plus" style="background: #004EA2;" @click="goDetail(null)">鏂板</el-button> <el-button icon="el-icon-download">鍒犻櫎</el-button> </el-col> </el-row> @@ -146,7 +146,7 @@ </el-table-column> <el-table-column label="鎿嶄綔" width="100"> <template slot-scope="scope"> - <span class="table_do" @click="changeShowDetail">鏌ョ湅</span> + <span class="table_do" @click="changeShowDetail(scope.row)">鏌ョ湅</span> <span class="table_do">鎵撳嵃</span> </template> </el-table-column> @@ -220,8 +220,12 @@ }, this.selectRawInspectsList() }, - changeShowDetail(){ - this.goDetail() + changeShowDetail({id}){ + this.goDetail(id) + // console.log(id) + // const res = await this.$axios.post(this.$api.url.selectRawInspectsListById,{params:{id}}) + // console.log(res) + } } } -- Gitblit v1.9.3