Browse Source

基础数据定义变量名称统一修改

master
陈薪名 1 year ago
parent
commit
b81a02c0e0
  1. 8
      src/utils/disposition/tableColumns.ts
  2. 4
      src/views/wms/accountcalendar/index.vue
  3. 6
      src/views/wms/bom/index.vue
  4. 4
      src/views/wms/carrier/index.vue
  5. 4
      src/views/wms/condition/index.vue
  6. 4
      src/views/wms/configuration/index.vue
  7. 4
      src/views/wms/configurationsetting/index.vue
  8. 4
      src/views/wms/currencyexchange/index.vue
  9. 4
      src/views/wms/customer/index.vue
  10. 4
      src/views/wms/customeritem/index.vue
  11. 4
      src/views/wms/documentsetting/index.vue
  12. 32
      src/views/wms/itembasic/index.vue
  13. 15
      src/views/wms/itempackaging/index.vue
  14. 4
      src/views/wms/jobsetting/index.vue
  15. 4
      src/views/wms/owner/index.vue
  16. 4
      src/views/wms/paramsetting/index.vue
  17. 4
      src/views/wms/productionlineitem/index.vue
  18. 7
      src/views/wms/purchaseclaimRequestMain/index.vue
  19. 4
      src/views/wms/purchaseprice/index.vue
  20. 4
      src/views/wms/recordsetting/index.vue
  21. 4
      src/views/wms/requestsetting/index.vue
  22. 4
      src/views/wms/rule/index.vue
  23. 4
      src/views/wms/saleprice/index.vue
  24. 4
      src/views/wms/shift/index.vue
  25. 4
      src/views/wms/stdcostprice/index.vue
  26. 4
      src/views/wms/supplier/index.vue
  27. 4
      src/views/wms/supplieritem/index.vue
  28. 4
      src/views/wms/systemcalendar/index.vue
  29. 4
      src/views/wms/team/index.vue
  30. 4
      src/views/wms/transactiontype/index.vue

8
src/utils/disposition/tableColumns.ts

@ -3,7 +3,7 @@ import { dateFormatter } from '@/utils/formatTime'
/** /**
* @returns {Array} * @returns {Array}
*/ */
export const ItemBasic = useCrudSchemas(reactive<CrudSchema[]>([ export const Itembasic = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '代码', label: '代码',
field: 'code', field: 'code',
@ -395,7 +395,7 @@ export const ItemBasic = useCrudSchemas(reactive<CrudSchema[]>([
])) ]))
// 表单校验 // 表单校验
export const ItemBasicRules = reactive({ export const ItembasicRules = reactive({
code: [ code: [
{ required: true, message: '请输入代码', trigger: 'blur' } { required: true, message: '请输入代码', trigger: 'blur' }
], ],
@ -10654,6 +10654,10 @@ export const PurchaseclaimRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
} }
])) ]))
// 表单校验
export const PurchaseclaimRequestMainRules = reactive({
})
/** /**
* @returns {Array} * @returns {Array}
*/ */

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

@ -37,7 +37,7 @@
@success="getList" @success="getList"
:rules="AccountcalendarRules" :rules="AccountcalendarRules"
:formAllSchemas="Accountcalendar.allSchemas" :formAllSchemas="Accountcalendar.allSchemas"
:searchTableAllSchemas="ItemBasic.allSchemas" :searchTableAllSchemas="Itembasic.allSchemas"
:apiUpdate="AccountcalendarApi.updateAccountcalendar" :apiUpdate="AccountcalendarApi.updateAccountcalendar"
:apiCreate="AccountcalendarApi.createAccountcalendar" :apiCreate="AccountcalendarApi.createAccountcalendar"
:isBusiness="false" :isBusiness="false"
@ -54,7 +54,7 @@
import download from '@/utils/download' import download from '@/utils/download'
import * as AccountcalendarApi from '@/api/wms/accountcalendar' import * as AccountcalendarApi from '@/api/wms/accountcalendar'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue' import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Accountcalendar, AccountcalendarRules, ItemBasic } from '@/utils/disposition/tableColumns' import { Accountcalendar, AccountcalendarRules, Itembasic } from '@/utils/disposition/tableColumns'
import * as defaultButtons from '@/utils/disposition/defaultButtons' 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 ImportForm from '@/components/ImportForm/src/ImportForm.vue'

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

@ -62,7 +62,7 @@ import download from '@/utils/download'
import * as BomApi from '@/api/wms/bom' import * as BomApi from '@/api/wms/bom'
import * as ItembasicApi from '@/api/wms/itembasic' import * as ItembasicApi from '@/api/wms/itembasic'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue' import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Bom, BomRules, ItemBasic } from '@/utils/disposition/tableColumns' import { Bom, BomRules, Itembasic } from '@/utils/disposition/tableColumns'
import * as defaultButtons from '@/utils/disposition/defaultButtons' 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 ImportForm from '@/components/ImportForm/src/ImportForm.vue'
@ -77,12 +77,12 @@ const { t } = useI18n() // 国际化
const searchTableParams = ref([{ const searchTableParams = ref([{
formField: 'productItemCode', formField: 'productItemCode',
searchTableTitle: '物料信息', searchTableTitle: '物料信息',
searchTableAllSchemas: ItemBasic.allSchemas, searchTableAllSchemas: Itembasic.allSchemas,
searchTablePage: ItembasicApi.getItembasicPage searchTablePage: ItembasicApi.getItembasicPage
},{ },{
formField: 'componentItemCode', formField: 'componentItemCode',
searchTableTitle: '物料信息', searchTableTitle: '物料信息',
searchTableAllSchemas: ItemBasic.allSchemas, searchTableAllSchemas: Itembasic.allSchemas,
searchTablePage: ItembasicApi.getItembasicPage searchTablePage: ItembasicApi.getItembasicPage
}]) }])

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

@ -37,7 +37,7 @@
@success="getList" @success="getList"
:rules="CarrierRules" :rules="CarrierRules"
:formAllSchemas="Carrier.allSchemas" :formAllSchemas="Carrier.allSchemas"
:searchTableAllSchemas="ItemBasic.allSchemas" :searchTableAllSchemas="Itembasic.allSchemas"
:apiUpdate="CarrierApi.updateCarrier" :apiUpdate="CarrierApi.updateCarrier"
:apiCreate="CarrierApi.createCarrier" :apiCreate="CarrierApi.createCarrier"
:isBusiness="false" :isBusiness="false"
@ -54,7 +54,7 @@
import download from '@/utils/download' import download from '@/utils/download'
import * as CarrierApi from '@/api/wms/carrier' import * as CarrierApi from '@/api/wms/carrier'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue' import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Carrier, CarrierRules, ItemBasic } from '@/utils/disposition/tableColumns' import { Carrier, CarrierRules, Itembasic } from '@/utils/disposition/tableColumns'
import * as defaultButtons from '@/utils/disposition/defaultButtons' 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 ImportForm from '@/components/ImportForm/src/ImportForm.vue'

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

@ -38,7 +38,7 @@
:rules="ConditionRules" :rules="ConditionRules"
:formAllSchemas="Condition.allSchemas" :formAllSchemas="Condition.allSchemas"
searchTableTitle="物料基础信息" searchTableTitle="物料基础信息"
:searchTableAllSchemas="ItemBasic.allSchemas" :searchTableAllSchemas="Itembasic.allSchemas"
:searchTablePage="ItembasicApi.getItembasicPage" :searchTablePage="ItembasicApi.getItembasicPage"
:apiUpdate="ConditionApi.updateCondition" :apiUpdate="ConditionApi.updateCondition"
:apiCreate="ConditionApi.createCondition" :apiCreate="ConditionApi.createCondition"
@ -57,7 +57,7 @@ import download from '@/utils/download'
import * as ConditionApi from '@/api/wms/condition' import * as ConditionApi from '@/api/wms/condition'
import * as ItembasicApi from '@/api/wms/itembasic' import * as ItembasicApi from '@/api/wms/itembasic'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue' import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Condition, ConditionRules, ItemBasic } from '@/utils/disposition/tableColumns' import { Condition, ConditionRules, Itembasic } from '@/utils/disposition/tableColumns'
import * as defaultButtons from '@/utils/disposition/defaultButtons' 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 ImportForm from '@/components/ImportForm/src/ImportForm.vue'

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

@ -38,7 +38,7 @@
:rules="ConfigurationRules" :rules="ConfigurationRules"
:formAllSchemas="Configuration.allSchemas" :formAllSchemas="Configuration.allSchemas"
searchTableTitle="物料基础信息" searchTableTitle="物料基础信息"
:searchTableAllSchemas="ItemBasic.allSchemas" :searchTableAllSchemas="Itembasic.allSchemas"
:searchTablePage="ItembasicApi.getItembasicPage" :searchTablePage="ItembasicApi.getItembasicPage"
:apiUpdate="ConfigurationApi.updateConfiguration" :apiUpdate="ConfigurationApi.updateConfiguration"
:apiCreate="ConfigurationApi.createConfiguration" :apiCreate="ConfigurationApi.createConfiguration"
@ -57,7 +57,7 @@ import download from '@/utils/download'
import * as ConfigurationApi from '@/api/wms/configuration' import * as ConfigurationApi from '@/api/wms/configuration'
import * as ItembasicApi from '@/api/wms/itembasic' import * as ItembasicApi from '@/api/wms/itembasic'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue' import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Configuration, ConfigurationRules, ItemBasic } from '@/utils/disposition/tableColumns' import { Configuration, ConfigurationRules, Itembasic } from '@/utils/disposition/tableColumns'
import * as defaultButtons from '@/utils/disposition/defaultButtons' 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 ImportForm from '@/components/ImportForm/src/ImportForm.vue'

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

@ -38,7 +38,7 @@
:rules="ConfigurationsettingRules" :rules="ConfigurationsettingRules"
:formAllSchemas="Configurationsetting.allSchemas" :formAllSchemas="Configurationsetting.allSchemas"
searchTableTitle="物料基础信息" searchTableTitle="物料基础信息"
:searchTableAllSchemas="ItemBasic.allSchemas" :searchTableAllSchemas="Itembasic.allSchemas"
:searchTablePage="ItembasicApi.getItembasicPage" :searchTablePage="ItembasicApi.getItembasicPage"
:apiUpdate="ConfigurationsettingApi.updateConfigurationsetting" :apiUpdate="ConfigurationsettingApi.updateConfigurationsetting"
:apiCreate="ConfigurationsettingApi.createConfigurationsetting" :apiCreate="ConfigurationsettingApi.createConfigurationsetting"
@ -57,7 +57,7 @@ import download from '@/utils/download'
import * as ConfigurationsettingApi from '@/api/wms/configurationsetting' import * as ConfigurationsettingApi from '@/api/wms/configurationsetting'
import * as ItembasicApi from '@/api/wms/itembasic' import * as ItembasicApi from '@/api/wms/itembasic'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue' import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Configurationsetting, ConfigurationsettingRules, ItemBasic } from '@/utils/disposition/tableColumns' import { Configurationsetting, ConfigurationsettingRules, Itembasic } from '@/utils/disposition/tableColumns'
import * as defaultButtons from '@/utils/disposition/defaultButtons' 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 ImportForm from '@/components/ImportForm/src/ImportForm.vue'

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

@ -37,7 +37,7 @@
@success="getList" @success="getList"
:rules="CurrencyexchangeRules" :rules="CurrencyexchangeRules"
:formAllSchemas="Currencyexchange.allSchemas" :formAllSchemas="Currencyexchange.allSchemas"
:searchTableAllSchemas="ItemBasic.allSchemas" :searchTableAllSchemas="Itembasic.allSchemas"
:apiUpdate="CurrencyexchangeApi.updateCurrencyexchange" :apiUpdate="CurrencyexchangeApi.updateCurrencyexchange"
:apiCreate="CurrencyexchangeApi.createCurrencyexchange" :apiCreate="CurrencyexchangeApi.createCurrencyexchange"
:isBusiness="false" :isBusiness="false"
@ -54,7 +54,7 @@
import download from '@/utils/download' import download from '@/utils/download'
import * as CurrencyexchangeApi from '@/api/wms/currencyexchange' import * as CurrencyexchangeApi from '@/api/wms/currencyexchange'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue' import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Currencyexchange, CurrencyexchangeRules, ItemBasic } from '@/utils/disposition/tableColumns' import { Currencyexchange, CurrencyexchangeRules, Itembasic } from '@/utils/disposition/tableColumns'
import * as defaultButtons from '@/utils/disposition/defaultButtons' 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 ImportForm from '@/components/ImportForm/src/ImportForm.vue'

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

@ -37,7 +37,7 @@
@success="getList" @success="getList"
:rules="CustomerRules" :rules="CustomerRules"
:formAllSchemas="Customer.allSchemas" :formAllSchemas="Customer.allSchemas"
:searchTableAllSchemas="ItemBasic.allSchemas" :searchTableAllSchemas="Itembasic.allSchemas"
:apiUpdate="CustomerApi.updateCustomer" :apiUpdate="CustomerApi.updateCustomer"
:apiCreate="CustomerApi.createCustomer" :apiCreate="CustomerApi.createCustomer"
:isBusiness="false" :isBusiness="false"
@ -54,7 +54,7 @@
import download from '@/utils/download' import download from '@/utils/download'
import * as CustomerApi from '@/api/wms/customer' import * as CustomerApi from '@/api/wms/customer'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue' import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Customer, CustomerRules, ItemBasic } from '@/utils/disposition/tableColumns' import { Customer, CustomerRules, Itembasic } from '@/utils/disposition/tableColumns'
import * as defaultButtons from '@/utils/disposition/defaultButtons' 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 ImportForm from '@/components/ImportForm/src/ImportForm.vue'

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

@ -57,7 +57,7 @@ import * as CustomeritemApi from '@/api/wms/customeritem'
import * as ItembasicApi from '@/api/wms/itembasic' import * as ItembasicApi from '@/api/wms/itembasic'
import * as CustomerApi from '@/api/wms/customer' import * as CustomerApi from '@/api/wms/customer'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue' import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Customer, Customeritem, CustomeritemRules, ItemBasic } from '@/utils/disposition/tableColumns' import { Customer, Customeritem, CustomeritemRules, Itembasic } from '@/utils/disposition/tableColumns'
import * as defaultButtons from '@/utils/disposition/defaultButtons' 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 ImportForm from '@/components/ImportForm/src/ImportForm.vue'
@ -77,7 +77,7 @@ const searchTableParams = ref([{
},{ },{
formField: 'itemCode', formField: 'itemCode',
searchTableTitle: '物料信息', searchTableTitle: '物料信息',
searchTableAllSchemas: ItemBasic.allSchemas, searchTableAllSchemas: Itembasic.allSchemas,
searchTablePage: ItembasicApi.getItembasicPage searchTablePage: ItembasicApi.getItembasicPage
}]) }])

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

@ -38,7 +38,7 @@
:rules="DocumentsettingRules" :rules="DocumentsettingRules"
:formAllSchemas="Documentsetting.allSchemas" :formAllSchemas="Documentsetting.allSchemas"
searchTableTitle="物料基础信息" searchTableTitle="物料基础信息"
:searchTableAllSchemas="ItemBasic.allSchemas" :searchTableAllSchemas="Itembasic.allSchemas"
:searchTablePage="ItembasicApi.getItembasicPage" :searchTablePage="ItembasicApi.getItembasicPage"
:apiUpdate="DocumentsettingApi.updateDocumentsetting" :apiUpdate="DocumentsettingApi.updateDocumentsetting"
:apiCreate="DocumentsettingApi.createDocumentsetting" :apiCreate="DocumentsettingApi.createDocumentsetting"
@ -57,7 +57,7 @@ import download from '@/utils/download'
import * as DocumentsettingApi from '@/api/wms/documentsetting' import * as DocumentsettingApi from '@/api/wms/documentsetting'
import * as ItembasicApi from '@/api/wms/itembasic' import * as ItembasicApi from '@/api/wms/itembasic'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue' import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Documentsetting, DocumentsettingRules, ItemBasic } from '@/utils/disposition/tableColumns' import { Documentsetting, DocumentsettingRules, Itembasic } from '@/utils/disposition/tableColumns'
import * as defaultButtons from '@/utils/disposition/defaultButtons' 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 ImportForm from '@/components/ImportForm/src/ImportForm.vue'

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

@ -1,15 +1,21 @@
<template> <template>
<ContentWrap> <ContentWrap>
<!-- 搜索工作栏 --> <!-- 搜索工作栏 -->
<Search :schema="ItemBasic.allSchemas.searchSchema" @search="setSearchParams" @reset="setSearchParams" /> <Search :schema="Itembasic.allSchemas.searchSchema" @search="setSearchParams" @reset="setSearchParams" />
</ContentWrap> </ContentWrap>
<!-- 列表头部 --> <!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" /> <TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:tableColumns="tableColumns"
:routeName="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 --> <!-- 列表 -->
<ContentWrap> <ContentWrap>
<Table :columns="ItemBasic.allSchemas.tableColumns" :data="tableObject.tableList" :loading="tableObject.loading" <Table :columns="tableColumns" :data="tableObject.tableList" :loading="tableObject.loading"
:pagination="{ :pagination="{
total: tableObject.total total: tableObject.total
}" v-model:pageSize="tableObject.pageSize" v-model:currentPage="tableObject.currentPage"> }" v-model:pageSize="tableObject.pageSize" v-model:currentPage="tableObject.currentPage">
@ -31,15 +37,15 @@
<BasicForm <BasicForm
ref="basicFormRef" ref="basicFormRef"
@success="getList" @success="getList"
:rules="ItemBasicRules" :rules="ItembasicRules"
:formAllSchemas="ItemBasic.allSchemas" :formAllSchemas="Itembasic.allSchemas"
:apiUpdate="ItembasicApi.updateItembasic" :apiUpdate="ItembasicApi.updateItembasic"
:apiCreate="ItembasicApi.createItembasic" :apiCreate="ItembasicApi.createItembasic"
:isBusiness="false" :isBusiness="false"
/> />
<!-- 详情 --> <!-- 详情 -->
<Detail ref="detailRef" :tabs="ItemBasicTabsList" :isBasic="true" :allSchemas="ItemBasic.allSchemas" /> <Detail ref="detailRef" :tabs="ItemBasicTabsList" :isBasic="true" :allSchemas="Itembasic.allSchemas" />
<!-- 导入 --> <!-- 导入 -->
<ImportForm ref="importFormRef" :url="ItembasicApi.importUrl" :importTemplateData="importTemplateData" @success="importSuccess" /> <ImportForm ref="importFormRef" :url="ItembasicApi.importUrl" :importTemplateData="importTemplateData" @success="importSuccess" />
@ -50,7 +56,7 @@ import download from '@/utils/download'
import * as ItembasicApi from '@/api/wms/itembasic' import * as ItembasicApi from '@/api/wms/itembasic'
import Detail from '@/components/Detail/src/Detail.vue' import Detail from '@/components/Detail/src/Detail.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue' import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
import { ItemBasic, ItemBasicRules } from '@/utils/disposition/tableColumns' import { Itembasic, ItembasicRules } from '@/utils/disposition/tableColumns'
import * as defaultButtons from '@/utils/disposition/defaultButtons' import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { ItemBasicTabsList } from '@/utils/disposition/tabsList' import { ItemBasicTabsList } from '@/utils/disposition/tabsList'
defineOptions({ name: 'Itembasic' }) defineOptions({ name: 'Itembasic' })
@ -84,6 +90,18 @@ const { getList, setSearchParams } = tableMethods
const message = useMessage() // const message = useMessage() //
const { t } = useI18n() // const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(Itembasic.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
console.log(101, val)
tableColumns.value = val
}
const exportLoading = ref(false) // const exportLoading = ref(false) //
// //

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

@ -62,12 +62,11 @@ import download from '@/utils/download'
import * as ItempackagingApi from '@/api/wms/itempackaging' import * as ItempackagingApi from '@/api/wms/itempackaging'
import * as ItembasicApi from '@/api/wms/itembasic' import * as ItembasicApi from '@/api/wms/itembasic'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue' import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Itempackaging, ItempackagingRules, ItemBasic } from '@/utils/disposition/tableColumns' import { Itempackaging, ItempackagingRules, Itembasic } from '@/utils/disposition/tableColumns'
import * as defaultButtons from '@/utils/disposition/defaultButtons' 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 ImportForm from '@/components/ImportForm/src/ImportForm.vue'
import Detail from '@/components/Detail/src/Detail.vue' import Detail from '@/components/Detail/src/Detail.vue'
import * as RedisApi from '@/api/redis'
defineOptions({ name: 'Itempackaging' }) defineOptions({ name: 'Itempackaging' })
@ -77,12 +76,12 @@ const { t } = useI18n() // 国际化
const route = useRoute() // const route = useRoute() //
const routeName = ref() const routeName = ref()
routeName.value = route.name routeName.value = route.name
const tableColumns = ref(Itempackaging.allSchemas.tableColumns) const tableColumns = ref()
// //
const updataTableColumns = (val) => { const updataTableColumns = (val) => {
console.log(84, val)
tableColumns.value = val tableColumns.value = val
} }
@ -90,7 +89,7 @@ const updataTableColumns = (val) => {
const searchTableParams = ref([{ const searchTableParams = ref([{
formField: 'itemCode', formField: 'itemCode',
searchTableTitle: '物料信息', searchTableTitle: '物料信息',
searchTableAllSchemas: ItemBasic.allSchemas, searchTableAllSchemas: Itembasic.allSchemas,
searchTablePage: ItembasicApi.getItembasicPage searchTablePage: ItembasicApi.getItembasicPage
}]) }])
@ -219,6 +218,12 @@ const importSuccess = () => {
/** 初始化 **/ /** 初始化 **/
onMounted(async () => { onMounted(async () => {
console.log('222222222222222222222')
nextTick(() => {
tableColumns.value = Itempackaging.allSchemas.tableColumns
})
// console.log('111111111111111111111111111', tableColumns.value)
// console.log('1111111111111111111111111112222222222', Itempackaging.allSchemas.tableColumns)
getList() getList()
importTemplateData.templateUrl = await ItempackagingApi.importTemplate() importTemplateData.templateUrl = await ItempackagingApi.importTemplate()
}) })

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

@ -38,7 +38,7 @@
:rules="JobsettingRules" :rules="JobsettingRules"
:formAllSchemas="Jobsetting.allSchemas" :formAllSchemas="Jobsetting.allSchemas"
searchTableTitle="物料基础信息" searchTableTitle="物料基础信息"
:searchTableAllSchemas="ItemBasic.allSchemas" :searchTableAllSchemas="Itembasic.allSchemas"
:searchTablePage="ItembasicApi.getItembasicPage" :searchTablePage="ItembasicApi.getItembasicPage"
:apiUpdate="JobsettingApi.updateJobsetting" :apiUpdate="JobsettingApi.updateJobsetting"
:apiCreate="JobsettingApi.createJobsetting" :apiCreate="JobsettingApi.createJobsetting"
@ -57,7 +57,7 @@ import download from '@/utils/download'
import * as JobsettingApi from '@/api/wms/jobsetting' import * as JobsettingApi from '@/api/wms/jobsetting'
import * as ItembasicApi from '@/api/wms/itembasic' import * as ItembasicApi from '@/api/wms/itembasic'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue' import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Jobsetting, JobsettingRules, ItemBasic } from '@/utils/disposition/tableColumns' import { Jobsetting, JobsettingRules, Itembasic } from '@/utils/disposition/tableColumns'
import * as defaultButtons from '@/utils/disposition/defaultButtons' 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 ImportForm from '@/components/ImportForm/src/ImportForm.vue'

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

@ -37,7 +37,7 @@
@success="getList" @success="getList"
:rules="OwnerRules" :rules="OwnerRules"
:formAllSchemas="Owner.allSchemas" :formAllSchemas="Owner.allSchemas"
:searchTableAllSchemas="ItemBasic.allSchemas" :searchTableAllSchemas="Itembasic.allSchemas"
:apiUpdate="OwnerApi.updateOwner" :apiUpdate="OwnerApi.updateOwner"
:apiCreate="OwnerApi.createOwner" :apiCreate="OwnerApi.createOwner"
:isBusiness="false" :isBusiness="false"
@ -54,7 +54,7 @@
import download from '@/utils/download' import download from '@/utils/download'
import * as OwnerApi from '@/api/wms/owner' import * as OwnerApi from '@/api/wms/owner'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue' import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Owner, OwnerRules, ItemBasic } from '@/utils/disposition/tableColumns' import { Owner, OwnerRules, Itembasic } from '@/utils/disposition/tableColumns'
import * as defaultButtons from '@/utils/disposition/defaultButtons' 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 ImportForm from '@/components/ImportForm/src/ImportForm.vue'

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

@ -38,7 +38,7 @@
:rules="ParamsettingRules" :rules="ParamsettingRules"
:formAllSchemas="Paramsetting.allSchemas" :formAllSchemas="Paramsetting.allSchemas"
searchTableTitle="物料基础信息" searchTableTitle="物料基础信息"
:searchTableAllSchemas="ItemBasic.allSchemas" :searchTableAllSchemas="Itembasic.allSchemas"
:searchTablePage="ItembasicApi.getItembasicPage" :searchTablePage="ItembasicApi.getItembasicPage"
:apiUpdate="ParamsettingApi.updateParamsetting" :apiUpdate="ParamsettingApi.updateParamsetting"
:apiCreate="ParamsettingApi.createParamsetting" :apiCreate="ParamsettingApi.createParamsetting"
@ -57,7 +57,7 @@ import download from '@/utils/download'
import * as ParamsettingApi from '@/api/wms/paramsetting' import * as ParamsettingApi from '@/api/wms/paramsetting'
import * as ItembasicApi from '@/api/wms/itembasic' import * as ItembasicApi from '@/api/wms/itembasic'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue' import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Paramsetting, ParamsettingRules, ItemBasic } from '@/utils/disposition/tableColumns' import { Paramsetting, ParamsettingRules, Itembasic } from '@/utils/disposition/tableColumns'
import * as defaultButtons from '@/utils/disposition/defaultButtons' 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 ImportForm from '@/components/ImportForm/src/ImportForm.vue'

4
src/views/wms/productionlineitem/index.vue

@ -58,7 +58,7 @@ import * as ProductionlineitemApi from '@/api/wms/productionlineitem'
import * as ItembasicApi from '@/api/wms/itembasic' import * as ItembasicApi from '@/api/wms/itembasic'
import * as ProductionLineCodeApi from '@/api/wms/productionline' import * as ProductionLineCodeApi from '@/api/wms/productionline'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue' import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Productionlineitem, ProductionlineitemRules, ItemBasic, Productionline, Location } from '@/utils/disposition/tableColumns' import { Productionlineitem, ProductionlineitemRules, Itembasic, Productionline, Location } from '@/utils/disposition/tableColumns'
import * as defaultButtons from '@/utils/disposition/defaultButtons' 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 ImportForm from '@/components/ImportForm/src/ImportForm.vue'
@ -78,7 +78,7 @@ const searchTableParams = ref([{
},{ },{
formField: 'itemCode', formField: 'itemCode',
searchTableTitle: '物料信息', searchTableTitle: '物料信息',
searchTableAllSchemas: ItemBasic.allSchemas, searchTableAllSchemas: Itembasic.allSchemas,
searchTablePage: ItembasicApi.getItembasicPage searchTablePage: ItembasicApi.getItembasicPage
},{ },{
formField: 'productionLineCode', formField: 'productionLineCode',

7
src/views/wms/purchaseclaimRequestMain/index.vue

@ -31,18 +31,15 @@
@success="getList" @success="getList"
:rules="PurchaseclaimRequestMainRules" :rules="PurchaseclaimRequestMainRules"
:formAllSchemas="PurchaseclaimRequestMain.allSchemas" :formAllSchemas="PurchaseclaimRequestMain.allSchemas"
:apiUpdate="PurchaseclaimRequestMain.updateItempackaging" :apiUpdate="PurchaseclaimRequestMainApi.updatePurchaseclaimRequestMain"
:apiCreate="PurchaseclaimRequestMain.createItempackaging" :apiCreate="PurchaseclaimRequestMainApi.createPurchaseclaimRequestMain"
:isBusiness="false" :isBusiness="false"
/> />
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import { DICT_TYPE, getStrDictOptions } from '@/utils/dict'
import { dateFormatter } from '@/utils/formatTime'
import download from '@/utils/download' import download from '@/utils/download'
import * as PurchaseclaimRequestMainApi from '@/api/wms/purchaseclaimRequestMain' import * as PurchaseclaimRequestMainApi from '@/api/wms/purchaseclaimRequestMain'
import PurchaseclaimRequestMainForm from './PurchaseclaimRequestMainForm.vue'
import { PurchaseclaimRequestMain, PurchaseclaimRequestMainRules } from '@/utils/disposition/tableColumns' import { PurchaseclaimRequestMain, PurchaseclaimRequestMainRules } from '@/utils/disposition/tableColumns'
import * as defaultButtons from '@/utils/disposition/defaultButtons' import * as defaultButtons from '@/utils/disposition/defaultButtons'

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

@ -57,7 +57,7 @@ import * as PurchasepriceApi from '@/api/wms/purchaseprice'
import * as ItembasicApi from '@/api/wms/itembasic' import * as ItembasicApi from '@/api/wms/itembasic'
import * as SupplierApi from '@/api/wms/supplier' import * as SupplierApi from '@/api/wms/supplier'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue' import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Purchaseprice, PurchasepriceRules, ItemBasic, Supplier } from '@/utils/disposition/tableColumns' import { Purchaseprice, PurchasepriceRules, Itembasic, Supplier } from '@/utils/disposition/tableColumns'
import * as defaultButtons from '@/utils/disposition/defaultButtons' 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 ImportForm from '@/components/ImportForm/src/ImportForm.vue'
@ -77,7 +77,7 @@ const searchTableParams = ref([{
},{ },{
formField: 'itemCode', formField: 'itemCode',
searchTableTitle: '物料信息', searchTableTitle: '物料信息',
searchTableAllSchemas: ItemBasic.allSchemas, searchTableAllSchemas: Itembasic.allSchemas,
searchTablePage: ItembasicApi.getItembasicPage searchTablePage: ItembasicApi.getItembasicPage
}]) }])

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

@ -38,7 +38,7 @@
:rules="RecordsettingRules" :rules="RecordsettingRules"
:formAllSchemas="Recordsetting.allSchemas" :formAllSchemas="Recordsetting.allSchemas"
searchTableTitle="物料基础信息" searchTableTitle="物料基础信息"
:searchTableAllSchemas="ItemBasic.allSchemas" :searchTableAllSchemas="Itembasic.allSchemas"
:searchTablePage="ItembasicApi.getItembasicPage" :searchTablePage="ItembasicApi.getItembasicPage"
:apiUpdate="RecordsettingApi.updateRecordsetting" :apiUpdate="RecordsettingApi.updateRecordsetting"
:apiCreate="RecordsettingApi.createRecordsetting" :apiCreate="RecordsettingApi.createRecordsetting"
@ -57,7 +57,7 @@ import download from '@/utils/download'
import * as RecordsettingApi from '@/api/wms/recordsetting' import * as RecordsettingApi from '@/api/wms/recordsetting'
import * as ItembasicApi from '@/api/wms/itembasic' import * as ItembasicApi from '@/api/wms/itembasic'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue' import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Recordsetting, RecordsettingRules, ItemBasic } from '@/utils/disposition/tableColumns' import { Recordsetting, RecordsettingRules, Itembasic } from '@/utils/disposition/tableColumns'
import * as defaultButtons from '@/utils/disposition/defaultButtons' 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 ImportForm from '@/components/ImportForm/src/ImportForm.vue'

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

@ -38,7 +38,7 @@
:rules="RequestsettingRules" :rules="RequestsettingRules"
:formAllSchemas="Requestsetting.allSchemas" :formAllSchemas="Requestsetting.allSchemas"
searchTableTitle="物料基础信息" searchTableTitle="物料基础信息"
:searchTableAllSchemas="ItemBasic.allSchemas" :searchTableAllSchemas="Itembasic.allSchemas"
:searchTablePage="ItembasicApi.getItembasicPage" :searchTablePage="ItembasicApi.getItembasicPage"
:apiUpdate="RequestsettingApi.updateRequestsetting" :apiUpdate="RequestsettingApi.updateRequestsetting"
:apiCreate="RequestsettingApi.createRequestsetting" :apiCreate="RequestsettingApi.createRequestsetting"
@ -57,7 +57,7 @@ import download from '@/utils/download'
import * as RequestsettingApi from '@/api/wms/requestsetting' import * as RequestsettingApi from '@/api/wms/requestsetting'
import * as ItembasicApi from '@/api/wms/itembasic' import * as ItembasicApi from '@/api/wms/itembasic'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue' import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Requestsetting, RequestsettingRules, ItemBasic } from '@/utils/disposition/tableColumns' import { Requestsetting, RequestsettingRules, Itembasic } from '@/utils/disposition/tableColumns'
import * as defaultButtons from '@/utils/disposition/defaultButtons' 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 ImportForm from '@/components/ImportForm/src/ImportForm.vue'

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

@ -38,7 +38,7 @@
:rules="RuleRules" :rules="RuleRules"
:formAllSchemas="Rule.allSchemas" :formAllSchemas="Rule.allSchemas"
searchTableTitle="物料基础信息" searchTableTitle="物料基础信息"
:searchTableAllSchemas="ItemBasic.allSchemas" :searchTableAllSchemas="Itembasic.allSchemas"
:searchTablePage="ItembasicApi.getItembasicPage" :searchTablePage="ItembasicApi.getItembasicPage"
:apiUpdate="RuleApi.updateRule" :apiUpdate="RuleApi.updateRule"
:apiCreate="RuleApi.createRule" :apiCreate="RuleApi.createRule"
@ -57,7 +57,7 @@ import download from '@/utils/download'
import * as RuleApi from '@/api/wms/rule' import * as RuleApi from '@/api/wms/rule'
import * as ItembasicApi from '@/api/wms/itembasic' import * as ItembasicApi from '@/api/wms/itembasic'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue' import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Rule, RuleRules, ItemBasic } from '@/utils/disposition/tableColumns' import { Rule, RuleRules, Itembasic } from '@/utils/disposition/tableColumns'
import * as defaultButtons from '@/utils/disposition/defaultButtons' 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 ImportForm from '@/components/ImportForm/src/ImportForm.vue'

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

@ -57,7 +57,7 @@ import * as SalepriceApi from '@/api/wms/saleprice'
import * as ItembasicApi from '@/api/wms/itembasic' import * as ItembasicApi from '@/api/wms/itembasic'
import * as CustomerApi from '@/api/wms/customer' import * as CustomerApi from '@/api/wms/customer'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue' import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Saleprice, SalepriceRules, ItemBasic, Customer } from '@/utils/disposition/tableColumns' import { Saleprice, SalepriceRules, Itembasic, Customer } from '@/utils/disposition/tableColumns'
import * as defaultButtons from '@/utils/disposition/defaultButtons' 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 ImportForm from '@/components/ImportForm/src/ImportForm.vue'
@ -77,7 +77,7 @@ const searchTableParams = ref([{
},{ },{
formField: 'itemcode', formField: 'itemcode',
searchTableTitle: '物料信息', searchTableTitle: '物料信息',
searchTableAllSchemas: ItemBasic.allSchemas, searchTableAllSchemas: Itembasic.allSchemas,
searchTablePage: ItembasicApi.getItembasicPage searchTablePage: ItembasicApi.getItembasicPage
}]) }])

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

@ -37,7 +37,7 @@
@success="getList" @success="getList"
:rules="ShiftRules" :rules="ShiftRules"
:formAllSchemas="Shift.allSchemas" :formAllSchemas="Shift.allSchemas"
:searchTableAllSchemas="ItemBasic.allSchemas" :searchTableAllSchemas="Itembasic.allSchemas"
:apiUpdate="ShiftApi.updateShift" :apiUpdate="ShiftApi.updateShift"
:apiCreate="ShiftApi.createShift" :apiCreate="ShiftApi.createShift"
:isBusiness="false" :isBusiness="false"
@ -54,7 +54,7 @@
import download from '@/utils/download' import download from '@/utils/download'
import * as ShiftApi from '@/api/wms/shift' import * as ShiftApi from '@/api/wms/shift'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue' import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Shift, ShiftRules, ItemBasic } from '@/utils/disposition/tableColumns' import { Shift, ShiftRules, Itembasic } from '@/utils/disposition/tableColumns'
import * as defaultButtons from '@/utils/disposition/defaultButtons' 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 ImportForm from '@/components/ImportForm/src/ImportForm.vue'

4
src/views/wms/stdcostprice/index.vue

@ -57,7 +57,7 @@ import * as StdcostpriceApi from '@/api/wms/stdcostprice'
import * as SupplierApi from '@/api/wms/supplier' import * as SupplierApi from '@/api/wms/supplier'
import * as ItembasicApi from '@/api/wms/itembasic' import * as ItembasicApi from '@/api/wms/itembasic'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue' import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Stdcostprice, StdcostpriceRules, Supplier, ItemBasic } from '@/utils/disposition/tableColumns' import { Stdcostprice, StdcostpriceRules, Supplier, Itembasic } from '@/utils/disposition/tableColumns'
import * as defaultButtons from '@/utils/disposition/defaultButtons' 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 ImportForm from '@/components/ImportForm/src/ImportForm.vue'
@ -77,7 +77,7 @@ const searchTableParams = ref([{
},{ },{
formField: 'itemCode', formField: 'itemCode',
searchTableTitle: '物料信息', searchTableTitle: '物料信息',
searchTableAllSchemas: ItemBasic.allSchemas, searchTableAllSchemas: Itembasic.allSchemas,
searchTablePage: ItembasicApi.getItembasicPage searchTablePage: ItembasicApi.getItembasicPage
}]) }])

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

@ -37,7 +37,7 @@
@success="getList" @success="getList"
:rules="SupplierRules" :rules="SupplierRules"
:formAllSchemas="Supplier.allSchemas" :formAllSchemas="Supplier.allSchemas"
:searchTableAllSchemas="ItemBasic.allSchemas" :searchTableAllSchemas="Itembasic.allSchemas"
:apiUpdate="SupplierApi.updateSupplier" :apiUpdate="SupplierApi.updateSupplier"
:apiCreate="SupplierApi.createSupplier" :apiCreate="SupplierApi.createSupplier"
:isBusiness="false" :isBusiness="false"
@ -54,7 +54,7 @@
import download from '@/utils/download' import download from '@/utils/download'
import * as SupplierApi from '@/api/wms/supplier' import * as SupplierApi from '@/api/wms/supplier'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue' import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Supplier, SupplierRules, ItemBasic } from '@/utils/disposition/tableColumns' import { Supplier, SupplierRules, Itembasic } from '@/utils/disposition/tableColumns'
import * as defaultButtons from '@/utils/disposition/defaultButtons' 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 ImportForm from '@/components/ImportForm/src/ImportForm.vue'

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

@ -59,7 +59,7 @@ import * as SupplierApi from '@/api/wms/supplier'
import * as LocationApi from '@/api/wms/location' import * as LocationApi from '@/api/wms/location'
import * as WarehouseApi from '@/api/wms/warehouse' import * as WarehouseApi from '@/api/wms/warehouse'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue' import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Supplieritem, SupplieritemRules, ItemBasic, Supplier, Warehouse ,Location} from '@/utils/disposition/tableColumns' import { Supplieritem, SupplieritemRules, Itembasic, Supplier, Warehouse ,Location} from '@/utils/disposition/tableColumns'
import * as defaultButtons from '@/utils/disposition/defaultButtons' 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 ImportForm from '@/components/ImportForm/src/ImportForm.vue'
@ -79,7 +79,7 @@ const searchTableParams = ref([{
},{ },{
formField: 'itemCode', formField: 'itemCode',
searchTableTitle: '物料信息', searchTableTitle: '物料信息',
searchTableAllSchemas: ItemBasic.allSchemas, searchTableAllSchemas: Itembasic.allSchemas,
searchTablePage: ItembasicApi.getItembasicPage searchTablePage: ItembasicApi.getItembasicPage
},{ },{
formField: 'defaultWarehouseCode', formField: 'defaultWarehouseCode',

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

@ -37,7 +37,7 @@
@success="getList" @success="getList"
:rules="SystemcalendarRules" :rules="SystemcalendarRules"
:formAllSchemas="Systemcalendar.allSchemas" :formAllSchemas="Systemcalendar.allSchemas"
:searchTableAllSchemas="ItemBasic.allSchemas" :searchTableAllSchemas="Itembasic.allSchemas"
:apiUpdate="SystemcalendarApi.updateSystemcalendar" :apiUpdate="SystemcalendarApi.updateSystemcalendar"
:apiCreate="SystemcalendarApi.createSystemcalendar" :apiCreate="SystemcalendarApi.createSystemcalendar"
:isBusiness="false" :isBusiness="false"
@ -54,7 +54,7 @@
import download from '@/utils/download' import download from '@/utils/download'
import * as SystemcalendarApi from '@/api/wms/systemcalendar' import * as SystemcalendarApi from '@/api/wms/systemcalendar'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue' import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Systemcalendar, SystemcalendarRules, ItemBasic } from '@/utils/disposition/tableColumns' import { Systemcalendar, SystemcalendarRules, Itembasic } from '@/utils/disposition/tableColumns'
import * as defaultButtons from '@/utils/disposition/defaultButtons' 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 ImportForm from '@/components/ImportForm/src/ImportForm.vue'

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

@ -37,7 +37,7 @@
@success="getList" @success="getList"
:rules="TeamRules" :rules="TeamRules"
:formAllSchemas="Team.allSchemas" :formAllSchemas="Team.allSchemas"
:searchTableAllSchemas="ItemBasic.allSchemas" :searchTableAllSchemas="Itembasic.allSchemas"
:apiUpdate="TeamApi.updateTeam" :apiUpdate="TeamApi.updateTeam"
:apiCreate="TeamApi.createTeam" :apiCreate="TeamApi.createTeam"
:isBusiness="false" :isBusiness="false"
@ -54,7 +54,7 @@
import download from '@/utils/download' import download from '@/utils/download'
import * as TeamApi from '@/api/wms/team' import * as TeamApi from '@/api/wms/team'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue' import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Team, TeamRules, ItemBasic } from '@/utils/disposition/tableColumns' import { Team, TeamRules, Itembasic } from '@/utils/disposition/tableColumns'
import * as defaultButtons from '@/utils/disposition/defaultButtons' 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 ImportForm from '@/components/ImportForm/src/ImportForm.vue'

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

@ -38,7 +38,7 @@
:rules="TransactiontypeRules" :rules="TransactiontypeRules"
:formAllSchemas="Transactiontype.allSchemas" :formAllSchemas="Transactiontype.allSchemas"
searchTableTitle="物料基础信息" searchTableTitle="物料基础信息"
:searchTableAllSchemas="ItemBasic.allSchemas" :searchTableAllSchemas="Itembasic.allSchemas"
:searchTablePage="ItembasicApi.getItembasicPage" :searchTablePage="ItembasicApi.getItembasicPage"
:apiUpdate="TransactiontypeApi.updateTransactiontype" :apiUpdate="TransactiontypeApi.updateTransactiontype"
:apiCreate="TransactiontypeApi.createTransactiontype" :apiCreate="TransactiontypeApi.createTransactiontype"
@ -57,7 +57,7 @@ import download from '@/utils/download'
import * as TransactiontypeApi from '@/api/wms/transactiontype' import * as TransactiontypeApi from '@/api/wms/transactiontype'
import * as ItembasicApi from '@/api/wms/itembasic' import * as ItembasicApi from '@/api/wms/itembasic'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue' import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import { Transactiontype, TransactiontypeRules, ItemBasic } from '@/utils/disposition/tableColumns' import { Transactiontype, TransactiontypeRules, Itembasic } from '@/utils/disposition/tableColumns'
import * as defaultButtons from '@/utils/disposition/defaultButtons' 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 ImportForm from '@/components/ImportForm/src/ImportForm.vue'

Loading…
Cancel
Save