Browse Source

库存事务修改文件名称

hella_online_20240829
TengXF 3 months ago
parent
commit
23e46af82e
  1. 24
      src/views/wms/inventoryManage/transaction/index.vue

24
src/views/wms/inventoryManage/transaction/index.vue

@ -6,9 +6,9 @@
<!-- 列表头部 -->
<TableHead
:HeadButttondata="HeadButttondata"
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
:allSchemas="Transaction.allSchemas"
@ -39,10 +39,10 @@
</ContentWrap>
<!-- 表单弹窗添加/修改 -->
<BasicForm
ref="basicFormRef"
@success="getList"
:rules="TransactionRules"
<BasicForm
ref="basicFormRef"
@success="getList"
:rules="TransactionRules"
:formAllSchemas="Transaction.allSchemas"
:apiUpdate="TransactionApi.updateTransaction"
:apiCreate="TransactionApi.createTransaction"
@ -62,7 +62,7 @@ import * as TransactionApi from '@/api/wms/transaction'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Transaction, TransactionRules } from './transaction.data'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
import Detail from '@/components/Detail/src/Detail.vue'
@ -107,7 +107,7 @@ const HeadButttondata = [
// },
]
//
//
const buttonBaseClick = (val, item) => {
if (val == 'add') { //
openForm('create')
@ -124,7 +124,7 @@ const buttonBaseClick = (val, item) => {
getList()
}
} else if (val == 'filtrate') { //
} else { //
} else { //
console.log('其他按钮', item)
}
}
@ -135,7 +135,7 @@ const butttondata = [
// defaultButtons.mainListDeleteBtn({hasPermi:'wms:transaction:delete'}), //
]
// -
// -
const buttonTableClick = async (val, row) => {
if (val == 'edit') { //
// const res = await TransactionApi.getItempackaging(row.id)
@ -181,7 +181,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await TransactionApi.exportTransaction(tableObject.params)
download.excel(data, '事务类型.xlsx')
download.excel(data, '库存事务.xlsx')
} catch {
} finally {
exportLoading.value = false
@ -196,7 +196,7 @@ const handleImport = () => {
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: '事务类型导入模版.xlsx'
templateTitle: '库存事务导入模版.xlsx'
})
//
const importSuccess = () => {

Loading…
Cancel
Save