Browse Source

发票记录添加查看明细

hella_online_20240829
zhang_li 4 months ago
parent
commit
b47c0d5db6
  1. 15
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/index.vue
  2. 11
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/supplierinvoiceRecordMain.data.ts

15
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/index.vue

@ -204,11 +204,24 @@ const handleSelectionPoint = async ()=>{
} }
// - // -
const butttondata = (row,$index) => { const butttondata = (row,$index) => {
return [] return [
{
label: t('ts.查看明细'),
name: 'open_detail',
type: 'primary',
icon: '',
color: '',
hasPermi: 'wms:supplierinvoice-request-main:view-detail',
link: true, //
}
]
} }
// - // -
const buttonTableClick = async (val, row) => { const buttonTableClick = async (val, row) => {
if (val == 'open_detail') { //
openDetail(row, '单据号', row.number)
}
} }
// //
const { wsCache } = useCache() const { wsCache } = useCache()

11
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/supplierinvoiceRecordMain.data.ts

@ -717,7 +717,16 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isForm: false, isForm: false,
}, },
{
label: '操作',
field: 'action',
isDetail: false,
isForm: false,
table: {
width: 150,
fixed: 'right'
},
}
])) ]))
//表单校验 //表单校验

Loading…
Cancel
Save