zhangli 1 year ago
parent
commit
c19762c6e9
  1. 20
      src/views/wms/accountcalendar/index.vue
  2. 20
      src/views/wms/areabasic/index.vue
  3. 24
      src/views/wms/businesstype/index.vue
  4. 20
      src/views/wms/carrier/index.vue
  5. 20
      src/views/wms/condition/index.vue
  6. 20
      src/views/wms/configuration/index.vue
  7. 20
      src/views/wms/configurationsetting/index.vue
  8. 20
      src/views/wms/currencyexchange/index.vue
  9. 20
      src/views/wms/customer/index.vue
  10. 20
      src/views/wms/customerdock/index.vue
  11. 20
      src/views/wms/customeritem/index.vue
  12. 20
      src/views/wms/dock/index.vue
  13. 24
      src/views/wms/documentsetting/index.vue
  14. 32
      src/views/wms/jobsetting/index.vue
  15. 24
      src/views/wms/location/index.vue
  16. 20
      src/views/wms/locationgroup/index.vue
  17. 20
      src/views/wms/owner/index.vue
  18. 20
      src/views/wms/paramsetting/index.vue
  19. 20
      src/views/wms/process/index.vue
  20. 20
      src/views/wms/productionline/index.vue
  21. 20
      src/views/wms/project/index.vue
  22. 20
      src/views/wms/purchaseprice/index.vue
  23. 24
      src/views/wms/recordsetting/index.vue
  24. 24
      src/views/wms/requestsetting/index.vue
  25. 20
      src/views/wms/rule/index.vue
  26. 30
      src/views/wms/saleprice/index.vue
  27. 20
      src/views/wms/shift/index.vue
  28. 20
      src/views/wms/supplier/index.vue
  29. 20
      src/views/wms/supplieritem/index.vue
  30. 20
      src/views/wms/systemcalendar/index.vue
  31. 20
      src/views/wms/team/index.vue
  32. 26
      src/views/wms/transactiontype/index.vue
  33. 20
      src/views/wms/warehouse/index.vue
  34. 20
      src/views/wms/workshop/index.vue
  35. 20
      src/views/wms/workstation/index.vue

20
src/views/wms/accountcalendar/index.vue

@ -5,12 +5,17 @@
</ContentWrap>
<!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" />
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="Accountcalendar.allSchemas.tableColumns"
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
@ -65,6 +70,16 @@ defineOptions({ name: 'Accountcalendar' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(Accountcalendar.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
const { tableObject, tableMethods } = useTable({
getListApi: AccountcalendarApi.getAccountcalendarPage //
})
@ -78,6 +93,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:accountcalendar:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:accountcalendar:export'}), //
defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultSetBtn(null), //
// {
// label: '',
// name: 'zdy',

20
src/views/wms/areabasic/index.vue

@ -5,12 +5,17 @@
</ContentWrap>
<!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" />
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="Area.allSchemas.tableColumns"
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
@ -67,6 +72,16 @@ defineOptions({ name: 'Area' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(Area.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
//
const searchTableParams = ref([{
formField: 'warehouseCode',
@ -88,6 +103,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:areabasic:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:areabasic:export'}), //
defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultSetBtn(null), //
// {
// label: '',
// name: 'zdy',

24
src/views/wms/businesstype/index.vue

@ -5,12 +5,17 @@
</ContentWrap>
<!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" />
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="Businesstype.allSchemas.tableColumns"
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
@ -67,6 +72,16 @@ defineOptions({ name: 'Businesstype' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(Businesstype.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
//
const searchTableParams = ref([{
formField: 'outAreaCodes',
@ -90,9 +105,10 @@ const { getList, setSearchParams } = tableMethods
//
const HeadButttondata = [
defaultButtons.defaultAddBtn({hasPermi:'wms:businesstype:create'}), //
defaultButtons.defaultImportBtn({hasPermi:'wms:businesstype:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:businesstype:export'}), //
// defaultButtons.defaultImportBtn({hasPermi:'wms:businesstype:import'}), //
// defaultButtons.defaultExportBtn({hasPermi:'wms:businesstype:export'}), //
defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultSetBtn(null), //
// {
// label: '',
// name: 'zdy',

20
src/views/wms/carrier/index.vue

@ -5,12 +5,17 @@
</ContentWrap>
<!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" />
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="Carrier.allSchemas.tableColumns"
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
@ -65,6 +70,16 @@ defineOptions({ name: 'Carrier' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(Carrier.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
const { tableObject, tableMethods } = useTable({
getListApi: CarrierApi.getCarrierPage //
})
@ -78,6 +93,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:carrier:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:carrier:export'}), //
defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultSetBtn(null), //
// {
// label: '',
// name: 'zdy',

20
src/views/wms/condition/index.vue

@ -5,12 +5,17 @@
</ContentWrap>
<!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" />
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="Condition.allSchemas.tableColumns"
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
@ -68,6 +73,16 @@ defineOptions({ name: 'Condition' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(Condition.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
const { tableObject, tableMethods } = useTable({
getListApi: ConditionApi.getConditionPage //
})
@ -81,6 +96,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:condition:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:condition:export'}), //
defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultSetBtn(null), //
// {
// label: '',
// name: 'zdy',

20
src/views/wms/configuration/index.vue

@ -5,12 +5,17 @@
</ContentWrap>
<!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" />
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="Configuration.allSchemas.tableColumns"
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
@ -68,6 +73,16 @@ defineOptions({ name: 'Configuration' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(Configuration.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
const { tableObject, tableMethods } = useTable({
getListApi: ConfigurationApi.getConfigurationPage //
})
@ -81,6 +96,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:configuration:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:configuration:export'}), //
defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultSetBtn(null), //
// {
// label: '',
// name: 'zdy',

20
src/views/wms/configurationsetting/index.vue

@ -5,12 +5,17 @@
</ContentWrap>
<!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" />
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="Configurationsetting.allSchemas.tableColumns"
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
@ -68,6 +73,16 @@ defineOptions({ name: 'Configurationsetting' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(Configurationsetting.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
const { tableObject, tableMethods } = useTable({
getListApi: ConfigurationsettingApi.getConfigurationsettingPage //
})
@ -81,6 +96,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:configurationsetting:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:configurationsetting:export'}), //
defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultSetBtn(null), //
// {
// label: '',
// name: 'zdy',

20
src/views/wms/currencyexchange/index.vue

@ -5,12 +5,17 @@
</ContentWrap>
<!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" />
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="Currencyexchange.allSchemas.tableColumns"
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
@ -65,6 +70,16 @@ defineOptions({ name: 'Currencyexchange' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(Currencyexchange.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
const { tableObject, tableMethods } = useTable({
getListApi: CurrencyexchangeApi.getCurrencyexchangePage //
})
@ -78,6 +93,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:currencyexchange:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:currencyexchange:export'}), //
defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultSetBtn(null), //
// {
// label: '',
// name: 'zdy',

20
src/views/wms/customer/index.vue

@ -5,12 +5,17 @@
</ContentWrap>
<!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" />
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="Customer.allSchemas.tableColumns"
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
@ -65,6 +70,16 @@ defineOptions({ name: 'Customer' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(Customer.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
const { tableObject, tableMethods } = useTable({
getListApi: CustomerApi.getCustomerPage //
})
@ -78,6 +93,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:customer:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:customer:export'}), //
defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultSetBtn(null), //
// {
// label: '',
// name: 'zdy',

20
src/views/wms/customerdock/index.vue

@ -5,12 +5,17 @@
</ContentWrap>
<!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" />
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="Customerdock.allSchemas.tableColumns"
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
@ -69,6 +74,16 @@ defineOptions({ name: 'Customerdock' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(Customerdock.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
//
const searchTableParams = ref([{
formField: 'customerCode',
@ -100,6 +115,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:customerdock:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:customerdock:export'}), //
defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultSetBtn(null), //
// {
// label: '',
// name: 'zdy',

20
src/views/wms/customeritem/index.vue

@ -5,12 +5,17 @@
</ContentWrap>
<!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" />
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="Customeritem.allSchemas.tableColumns"
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
@ -68,6 +73,16 @@ defineOptions({ name: 'Customeritem' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(Customeritem.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
//
const searchTableParams = ref([{
formField: 'customerCode',
@ -94,6 +109,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:customeritem:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:customeritem:export'}), //
defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultSetBtn(null), //
// {
// label: '',
// name: 'zdy',

20
src/views/wms/dock/index.vue

@ -5,12 +5,17 @@
</ContentWrap>
<!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" />
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="Dock.allSchemas.tableColumns"
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
@ -68,6 +73,16 @@ defineOptions({ name: 'Dock' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(Dock.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
//
const searchTableParams = ref([{
formField: 'warehouseCode',
@ -94,6 +109,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:dock:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:dock:export'}), //
defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultSetBtn(null), //
// {
// label: '',
// name: 'zdy',

24
src/views/wms/documentsetting/index.vue

@ -5,12 +5,17 @@
</ContentWrap>
<!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" />
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="Documentsetting.allSchemas.tableColumns"
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
@ -68,6 +73,16 @@ defineOptions({ name: 'Documentsetting' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(Documentsetting.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
const { tableObject, tableMethods } = useTable({
getListApi: DocumentsettingApi.getDocumentsettingPage //
})
@ -78,9 +93,10 @@ const { getList, setSearchParams } = tableMethods
//
const HeadButttondata = [
defaultButtons.defaultAddBtn({hasPermi:'wms:documentsetting:create'}), //
defaultButtons.defaultImportBtn({hasPermi:'wms:documentsetting:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:documentsetting:export'}), //
// defaultButtons.defaultImportBtn({hasPermi:'wms:documentsetting:import'}), //
// defaultButtons.defaultExportBtn({hasPermi:'wms:documentsetting:export'}), //
defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultSetBtn(null), //
// {
// label: '',
// name: 'zdy',

32
src/views/wms/jobsetting/index.vue

@ -5,12 +5,17 @@
</ContentWrap>
<!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" />
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="Jobsetting.allSchemas.tableColumns"
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
@ -37,9 +42,6 @@
@success="getList"
:rules="JobsettingRules"
:formAllSchemas="Jobsetting.allSchemas"
searchTableTitle="物料基础信息"
:searchTableAllSchemas="Itembasic.allSchemas"
:searchTablePage="ItembasicApi.getItembasicPage"
:apiUpdate="JobsettingApi.updateJobsetting"
:apiCreate="JobsettingApi.createJobsetting"
:isBusiness="false"
@ -55,9 +57,8 @@
<script setup lang="ts">
import download from '@/utils/download'
import * as JobsettingApi from '@/api/wms/jobsetting'
import * as ItembasicApi from '@/api/wms/itembasic'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Jobsetting, JobsettingRules, Itembasic } from '@/utils/disposition/tableColumns'
import { Jobsetting, JobsettingRules } from '@/utils/disposition/tableColumns'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
@ -68,6 +69,16 @@ defineOptions({ name: 'Jobsetting' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(Jobsetting.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
const { tableObject, tableMethods } = useTable({
getListApi: JobsettingApi.getJobsettingPage //
})
@ -78,9 +89,10 @@ const { getList, setSearchParams } = tableMethods
//
const HeadButttondata = [
defaultButtons.defaultAddBtn({hasPermi:'wms:jobsetting:create'}), //
defaultButtons.defaultImportBtn({hasPermi:'wms:jobsetting:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:jobsetting:export'}), //
// defaultButtons.defaultImportBtn({hasPermi:'wms:jobsetting:import'}), //
// defaultButtons.defaultExportBtn({hasPermi:'wms:jobsetting:export'}), //
defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultSetBtn(null), //
// {
// label: '',
// name: 'zdy',
@ -172,7 +184,7 @@ const handleImport = () => {
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: '任务单置导入模版.xls'
templateTitle: '任务单置导入模版.xls'
})
//
const importSuccess = () => {

24
src/views/wms/location/index.vue

@ -5,12 +5,17 @@
</ContentWrap>
<!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" />
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="Location.allSchemas.tableColumns"
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
@ -69,6 +74,16 @@ defineOptions({ name: 'Location' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(Location.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
//
const searchTableParams = ref([{
formField: 'warehouseCode',
@ -100,6 +115,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:location:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:location:export'}), //
defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultSetBtn(null), //
// {
// label: '',
// name: 'zdy',
@ -150,10 +166,6 @@ const openForm = (type: string, row?: any) => {
//
const searchTableSuccess = (formField, searchField, val, formRef) => {
console.log(144, formField)
console.log(145, searchField)
console.log(146, val)
console.log(147, formRef)
nextTick(() => {
const setV = {}
setV[formField] = val[0][searchField]

20
src/views/wms/locationgroup/index.vue

@ -5,12 +5,17 @@
</ContentWrap>
<!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" />
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="Locationgroup.allSchemas.tableColumns"
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
@ -68,6 +73,16 @@ defineOptions({ name: 'Locationgroup' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(Locationgroup.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
//
const searchTableParams = ref([{
formField: 'warehouseCode',
@ -94,6 +109,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:locationgroup:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:locationgroup:export'}), //
defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultSetBtn(null), //
// {
// label: '',
// name: 'zdy',

20
src/views/wms/owner/index.vue

@ -5,12 +5,17 @@
</ContentWrap>
<!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" />
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="Owner.allSchemas.tableColumns"
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
@ -65,6 +70,16 @@ defineOptions({ name: 'Owner' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(Owner.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
const { tableObject, tableMethods } = useTable({
getListApi: OwnerApi.getOwnerPage //
})
@ -78,6 +93,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:owner:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:owner:export'}), //
defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultSetBtn(null), //
// {
// label: '',
// name: 'zdy',

20
src/views/wms/paramsetting/index.vue

@ -5,12 +5,17 @@
</ContentWrap>
<!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" />
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="Paramsetting.allSchemas.tableColumns"
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
@ -68,6 +73,16 @@ defineOptions({ name: 'Paramsetting' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(Paramsetting.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
const { tableObject, tableMethods } = useTable({
getListApi: ParamsettingApi.getParamsettingPage //
})
@ -81,6 +96,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:paramsetting:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:paramsetting:export'}), //
defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultSetBtn(null), //
// {
// label: '',
// name: 'zdy',

20
src/views/wms/process/index.vue

@ -5,12 +5,17 @@
</ContentWrap>
<!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" />
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="Process.allSchemas.tableColumns"
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
@ -68,6 +73,16 @@ defineOptions({ name: 'Process' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(Process.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
//
const searchTableParams = ref([{
formField: 'workshopCode',
@ -94,6 +109,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:process:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:process:export'}), //
defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultSetBtn(null), //
// {
// label: '',
// name: 'zdy',

20
src/views/wms/productionline/index.vue

@ -5,12 +5,17 @@
</ContentWrap>
<!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" />
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="Productionline.allSchemas.tableColumns"
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
@ -68,6 +73,16 @@ defineOptions({ name: 'Productionline' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(Productionline.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
//
const searchTableParams = ref([{
formField: 'workshopCode',
@ -99,6 +114,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:productionline:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:productionline:export'}), //
defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultSetBtn(null), //
// {
// label: '',
// name: 'zdy',

20
src/views/wms/project/index.vue

@ -5,12 +5,17 @@
</ContentWrap>
<!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" />
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="Project.allSchemas.tableColumns"
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
@ -67,6 +72,16 @@ defineOptions({ name: 'Project' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(Project.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
//
const searchTableParams = ref([{
formField: 'customerCode',
@ -88,6 +103,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:project:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:project:export'}), //
defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultSetBtn(null), //
// {
// label: '',
// name: 'zdy',

20
src/views/wms/purchaseprice/index.vue

@ -5,12 +5,17 @@
</ContentWrap>
<!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" />
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="Purchaseprice.allSchemas.tableColumns"
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
@ -68,6 +73,16 @@ defineOptions({ name: 'Purchaseprice' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(Purchaseprice.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
//
const searchTableParams = ref([{
formField: 'supplierCode',
@ -94,6 +109,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:purchaseprice:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:purchaseprice:export'}), //
defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultSetBtn(null), //
// {
// label: '',
// name: 'zdy',

24
src/views/wms/recordsetting/index.vue

@ -5,12 +5,17 @@
</ContentWrap>
<!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" />
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="Recordsetting.allSchemas.tableColumns"
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
@ -68,6 +73,16 @@ defineOptions({ name: 'Recordsetting' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(Recordsetting.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
const { tableObject, tableMethods } = useTable({
getListApi: RecordsettingApi.getRecordsettingPage //
})
@ -78,9 +93,10 @@ const { getList, setSearchParams } = tableMethods
//
const HeadButttondata = [
defaultButtons.defaultAddBtn({hasPermi:'wms:recordsetting:create'}), //
defaultButtons.defaultImportBtn({hasPermi:'wms:recordsetting:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:recordsetting:export'}), //
// defaultButtons.defaultImportBtn({hasPermi:'wms:recordsetting:import'}), //
// defaultButtons.defaultExportBtn({hasPermi:'wms:recordsetting:export'}), //
defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultSetBtn(null), //
// {
// label: '',
// name: 'zdy',

24
src/views/wms/requestsetting/index.vue

@ -5,12 +5,17 @@
</ContentWrap>
<!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" />
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="Requestsetting.allSchemas.tableColumns"
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
@ -68,6 +73,16 @@ defineOptions({ name: 'Requestsetting' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(Requestsetting.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
const { tableObject, tableMethods } = useTable({
getListApi: RequestsettingApi.getRequestsettingPage //
})
@ -78,9 +93,10 @@ const { getList, setSearchParams } = tableMethods
//
const HeadButttondata = [
defaultButtons.defaultAddBtn({hasPermi:'wms:requestsetting:create'}), //
defaultButtons.defaultImportBtn({hasPermi:'wms:requestsetting:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:requestsetting:export'}), //
// defaultButtons.defaultImportBtn({hasPermi:'wms:requestsetting:import'}), //
// defaultButtons.defaultExportBtn({hasPermi:'wms:requestsetting:export'}), //
defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultSetBtn(null), //
// {
// label: '',
// name: 'zdy',

20
src/views/wms/rule/index.vue

@ -5,12 +5,17 @@
</ContentWrap>
<!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" />
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="Rule.allSchemas.tableColumns"
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
@ -68,6 +73,16 @@ defineOptions({ name: 'Rule' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(Rule.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
const { tableObject, tableMethods } = useTable({
getListApi: RuleApi.getRulePage //
})
@ -81,6 +96,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:rule:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:rule:export'}), //
defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultSetBtn(null), //
// {
// label: '',
// name: 'zdy',

30
src/views/wms/saleprice/index.vue

@ -5,12 +5,17 @@
</ContentWrap>
<!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" />
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="Saleprice.allSchemas.tableColumns"
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
@ -20,9 +25,9 @@
v-model:currentPage="tableObject.currentPage"
v-model:sort="tableObject.sort"
>
<template #customercode="{row}">
<el-button type="primary" link @click="openDetail(row, '客户代码', row.customercode)">
<span>{{ row.customercode }}</span>
<template #customerCode="{row}">
<el-button type="primary" link @click="openDetail(row, '客户代码', row.customerCode)">
<span>{{ row.customerCode }}</span>
</el-button>
</template>
<template #action="{ row }">
@ -68,14 +73,24 @@ defineOptions({ name: 'Saleprice' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(Saleprice.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
//
const searchTableParams = ref([{
formField: 'customercode',
formField: 'customerCode',
searchTableTitle: '客户信息',
searchTableAllSchemas: Customer.allSchemas,
searchTablePage: CustomerApi.getCustomerPage
},{
formField: 'itemcode',
formField: 'itemCode',
searchTableTitle: '物料信息',
searchTableAllSchemas: Itembasic.allSchemas,
searchTablePage: ItembasicApi.getItembasicPage
@ -94,6 +109,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:saleprice:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:saleprice:export'}), //
defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultSetBtn(null), //
// {
// label: '',
// name: 'zdy',

20
src/views/wms/shift/index.vue

@ -5,12 +5,17 @@
</ContentWrap>
<!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" />
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="Shift.allSchemas.tableColumns"
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
@ -65,6 +70,16 @@ defineOptions({ name: 'Shift' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(Shift.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
const { tableObject, tableMethods } = useTable({
getListApi: ShiftApi.getShiftPage //
})
@ -78,6 +93,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:shift:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:shift:export'}), //
defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultSetBtn(null), //
// {
// label: '',
// name: 'zdy',

20
src/views/wms/supplier/index.vue

@ -5,12 +5,17 @@
</ContentWrap>
<!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" />
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="Supplier.allSchemas.tableColumns"
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
@ -65,6 +70,16 @@ defineOptions({ name: 'Supplier' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(Supplier.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
const { tableObject, tableMethods } = useTable({
getListApi: SupplierApi.getSupplierPage //
})
@ -78,6 +93,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:supplier:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:supplier:export'}), //
defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultSetBtn(null), //
// {
// label: '',
// name: 'zdy',

20
src/views/wms/supplieritem/index.vue

@ -5,12 +5,17 @@
</ContentWrap>
<!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" />
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="Supplieritem.allSchemas.tableColumns"
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
@ -70,6 +75,16 @@ defineOptions({ name: 'Supplieritem' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(Supplieritem.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
//
const searchTableParams = ref([{
formField: 'supplierCode',
@ -106,6 +121,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:supplieritem:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:supplieritem:export'}), //
defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultSetBtn(null), //
// {
// label: '',
// name: 'zdy',

20
src/views/wms/systemcalendar/index.vue

@ -5,12 +5,17 @@
</ContentWrap>
<!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" />
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="Systemcalendar.allSchemas.tableColumns"
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
@ -65,6 +70,16 @@ defineOptions({ name: 'Systemcalendar' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(Systemcalendar.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
const { tableObject, tableMethods } = useTable({
getListApi: SystemcalendarApi.getSystemcalendarPage //
})
@ -78,6 +93,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:systemcalendar:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:systemcalendar:export'}), //
defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultSetBtn(null), //
// {
// label: '',
// name: 'zdy',

20
src/views/wms/team/index.vue

@ -5,12 +5,17 @@
</ContentWrap>
<!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" />
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="Team.allSchemas.tableColumns"
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
@ -65,6 +70,16 @@ defineOptions({ name: 'Team' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(Team.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
const { tableObject, tableMethods } = useTable({
getListApi: TeamApi.getTeamPage //
})
@ -78,6 +93,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:team:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:team:export'}), //
defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultSetBtn(null), //
// {
// label: '',
// name: 'zdy',

26
src/views/wms/transactiontype/index.vue

@ -5,12 +5,17 @@
</ContentWrap>
<!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" />
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="Transactiontype.allSchemas.tableColumns"
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
@ -68,8 +73,18 @@ defineOptions({ name: 'Transactiontype' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(Transactiontype.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
const { tableObject, tableMethods } = useTable({
getListApi: TransactiontypeApi.getTransactiontype //
getListApi: TransactiontypeApi.getTransactiontypePage //
})
//
@ -78,9 +93,10 @@ const { getList, setSearchParams } = tableMethods
//
const HeadButttondata = [
defaultButtons.defaultAddBtn({hasPermi:'wms:transactiontype:create'}), //
defaultButtons.defaultImportBtn({hasPermi:'wms:transactiontype:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:transactiontype:export'}), //
// defaultButtons.defaultImportBtn({hasPermi:'wms:transactiontype:import'}), //
// defaultButtons.defaultExportBtn({hasPermi:'wms:transactiontype:export'}), //
defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultSetBtn(null), //
// {
// label: '',
// name: 'zdy',

20
src/views/wms/warehouse/index.vue

@ -5,12 +5,17 @@
</ContentWrap>
<!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" />
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="Warehouse.allSchemas.tableColumns"
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
@ -64,6 +69,16 @@ defineOptions({ name: 'Warehouse' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(Warehouse.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
const { tableObject, tableMethods } = useTable({
getListApi: WarehouseApi.getWarehousePage //
})
@ -77,6 +92,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:warehouse:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:warehouse:export'}), //
defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultSetBtn(null), //
// {
// label: '',
// name: 'zdy',

20
src/views/wms/workshop/index.vue

@ -5,12 +5,17 @@
</ContentWrap>
<!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" />
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="Workshop.allSchemas.tableColumns"
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
@ -64,6 +69,16 @@ defineOptions({ name: 'Workshop' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(Workshop.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
const { tableObject, tableMethods } = useTable({
getListApi: WorkshopApi.getWorkshopPage //
})
@ -77,6 +92,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:workshop:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:workshop:export'}), //
defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultSetBtn(null), //
// {
// label: '',
// name: 'zdy',

20
src/views/wms/workstation/index.vue

@ -5,12 +5,17 @@
</ContentWrap>
<!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" />
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:route-name="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="Workstation.allSchemas.tableColumns"
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
@ -69,6 +74,16 @@ defineOptions({ name: 'Workstation' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(Workstation.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
//
const searchTableParams = ref([{
formField: 'workshopCode',
@ -105,6 +120,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:workstation:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:workstation:export'}), //
defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultSetBtn(null), //
// {
// label: '',
// name: 'zdy',

Loading…
Cancel
Save