|
@@ -103,8 +103,8 @@
|
|
|
<el-table-column prop="zip" label="入库日期" width="120" />
|
|
|
<el-table-column fixed="right" label="操作" min-width="110">
|
|
|
<template #default="scope">
|
|
|
- <el-button type="primary" :icon="Edit" @click="handleClick(scope.row,index)" circle />
|
|
|
- <el-button type="danger" :icon="Delete" @click="delClick(scope.row,index)" circle />
|
|
|
+ <el-button type="primary" :icon="Edit" @click="handleClick(scope.row)" circle />
|
|
|
+ <el-button type="danger" :icon="Delete" @click="delClick(scope.row)" circle />
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -156,8 +156,8 @@ const closeFun = async () => {
|
|
|
const handleClick = (data:any) => {
|
|
|
console.log('click',data)
|
|
|
}
|
|
|
-const delClick = (data:any,index:any) => {
|
|
|
- console.log('click',data,index)
|
|
|
+const delClick = (data:any) => {
|
|
|
+ console.log('click',data)
|
|
|
window.print()
|
|
|
}
|
|
|
|