Browse Source

基础数据修改

master
陈薪名 1 year ago
parent
commit
ff52eb4fbd
  1. 6
      src/views/wms/itembasic/index.vue
  2. 2
      src/views/wms/itempackaging/index.vue

6
src/views/wms/itembasic/index.vue

@ -20,7 +20,7 @@
total: tableObject.total
}" v-model:pageSize="tableObject.pageSize" v-model:currentPage="tableObject.currentPage">
<template #code="{row}">
<el-button type="primary" link @click="openDetail(row, '代码', row.code,'basicItembasic')">
<el-button type="primary" link @click="openDetail(row, '代码', row.code)">
<span>{{ row.code }}</span>
</el-button>
</template>
@ -158,8 +158,8 @@ const openForm = (type: string, id?: number) => {
basicFormRef.value.open(type, id)
}
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any, tableNameRef: any) => {
detailRef.value.openDetail(row, titleName, titleValue, tableNameRef)
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicItembasic')
}
/** 删除按钮操作 */

2
src/views/wms/itempackaging/index.vue

@ -166,7 +166,7 @@ const searchTableSuccess = (formField, searchField, val, formRef) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue)
detailRef.value.openDetail(row, titleName, titleValue, 'basicItempackaging')
}
/** 删除按钮操作 */

Loading…
Cancel
Save