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

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

@ -37,7 +37,7 @@
@success="getList"
:rules="AccountcalendarRules"
:formAllSchemas="Accountcalendar.allSchemas"
:searchTableAllSchemas="ItemBasic.allSchemas"
:searchTableAllSchemas="Itembasic.allSchemas"
:apiUpdate="AccountcalendarApi.updateAccountcalendar"
:apiCreate="AccountcalendarApi.createAccountcalendar"
:isBusiness="false"
@ -54,7 +54,7 @@
import download from '@/utils/download'
import * as AccountcalendarApi from '@/api/wms/accountcalendar'
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 TableHead from '@/components/TableHead/src/TableHead.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 ItembasicApi from '@/api/wms/itembasic'
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 TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
@ -77,12 +77,12 @@ const { t } = useI18n() // 国际化
const searchTableParams = ref([{
formField: 'productItemCode',
searchTableTitle: '物料信息',
searchTableAllSchemas: ItemBasic.allSchemas,
searchTableAllSchemas: Itembasic.allSchemas,
searchTablePage: ItembasicApi.getItembasicPage
},{
formField: 'componentItemCode',
searchTableTitle: '物料信息',
searchTableAllSchemas: ItemBasic.allSchemas,
searchTableAllSchemas: Itembasic.allSchemas,
searchTablePage: ItembasicApi.getItembasicPage
}])

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

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

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

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

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

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

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

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

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

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

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

@ -37,7 +37,7 @@
@success="getList"
:rules="CustomerRules"
:formAllSchemas="Customer.allSchemas"
:searchTableAllSchemas="ItemBasic.allSchemas"
:searchTableAllSchemas="Itembasic.allSchemas"
:apiUpdate="CustomerApi.updateCustomer"
:apiCreate="CustomerApi.createCustomer"
:isBusiness="false"
@ -54,7 +54,7 @@
import download from '@/utils/download'
import * as CustomerApi from '@/api/wms/customer'
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 TableHead from '@/components/TableHead/src/TableHead.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 CustomerApi from '@/api/wms/customer'
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 TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
@ -77,7 +77,7 @@ const searchTableParams = ref([{
},{
formField: 'itemCode',
searchTableTitle: '物料信息',
searchTableAllSchemas: ItemBasic.allSchemas,
searchTableAllSchemas: Itembasic.allSchemas,
searchTablePage: ItembasicApi.getItembasicPage
}])

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

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

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

@ -1,15 +1,21 @@
<template>
<ContentWrap>
<!-- 搜索工作栏 -->
<Search :schema="ItemBasic.allSchemas.searchSchema" @search="setSearchParams" @reset="setSearchParams" />
<Search :schema="Itembasic.allSchemas.searchSchema" @search="setSearchParams" @reset="setSearchParams" />
</ContentWrap>
<!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" />
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:tableColumns="tableColumns"
:routeName="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 -->
<ContentWrap>
<Table :columns="ItemBasic.allSchemas.tableColumns" :data="tableObject.tableList" :loading="tableObject.loading"
<Table :columns="tableColumns" :data="tableObject.tableList" :loading="tableObject.loading"
:pagination="{
total: tableObject.total
}" v-model:pageSize="tableObject.pageSize" v-model:currentPage="tableObject.currentPage">
@ -31,15 +37,15 @@
<BasicForm
ref="basicFormRef"
@success="getList"
:rules="ItemBasicRules"
:formAllSchemas="ItemBasic.allSchemas"
:rules="ItembasicRules"
:formAllSchemas="Itembasic.allSchemas"
:apiUpdate="ItembasicApi.updateItembasic"
:apiCreate="ItembasicApi.createItembasic"
: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" />
@ -50,7 +56,7 @@ import download from '@/utils/download'
import * as ItembasicApi from '@/api/wms/itembasic'
import Detail from '@/components/Detail/src/Detail.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 { ItemBasicTabsList } from '@/utils/disposition/tabsList'
defineOptions({ name: 'Itembasic' })
@ -84,6 +90,18 @@ const { getList, setSearchParams } = tableMethods
const message = useMessage() //
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) //
//

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

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

@ -38,7 +38,7 @@
:rules="JobsettingRules"
:formAllSchemas="Jobsetting.allSchemas"
searchTableTitle="物料基础信息"
:searchTableAllSchemas="ItemBasic.allSchemas"
:searchTableAllSchemas="Itembasic.allSchemas"
:searchTablePage="ItembasicApi.getItembasicPage"
:apiUpdate="JobsettingApi.updateJobsetting"
:apiCreate="JobsettingApi.createJobsetting"
@ -57,7 +57,7 @@ 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, Itembasic } 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'

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

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

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

@ -38,7 +38,7 @@
:rules="ParamsettingRules"
:formAllSchemas="Paramsetting.allSchemas"
searchTableTitle="物料基础信息"
:searchTableAllSchemas="ItemBasic.allSchemas"
:searchTableAllSchemas="Itembasic.allSchemas"
:searchTablePage="ItembasicApi.getItembasicPage"
:apiUpdate="ParamsettingApi.updateParamsetting"
:apiCreate="ParamsettingApi.createParamsetting"
@ -57,7 +57,7 @@ import download from '@/utils/download'
import * as ParamsettingApi from '@/api/wms/paramsetting'
import * as ItembasicApi from '@/api/wms/itembasic'
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 TableHead from '@/components/TableHead/src/TableHead.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 ProductionLineCodeApi from '@/api/wms/productionline'
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 TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
@ -78,7 +78,7 @@ const searchTableParams = ref([{
},{
formField: 'itemCode',
searchTableTitle: '物料信息',
searchTableAllSchemas: ItemBasic.allSchemas,
searchTableAllSchemas: Itembasic.allSchemas,
searchTablePage: ItembasicApi.getItembasicPage
},{
formField: 'productionLineCode',

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

@ -31,18 +31,15 @@
@success="getList"
:rules="PurchaseclaimRequestMainRules"
:formAllSchemas="PurchaseclaimRequestMain.allSchemas"
:apiUpdate="PurchaseclaimRequestMain.updateItempackaging"
:apiCreate="PurchaseclaimRequestMain.createItempackaging"
:apiUpdate="PurchaseclaimRequestMainApi.updatePurchaseclaimRequestMain"
:apiCreate="PurchaseclaimRequestMainApi.createPurchaseclaimRequestMain"
:isBusiness="false"
/>
</template>
<script setup lang="ts">
import { DICT_TYPE, getStrDictOptions } from '@/utils/dict'
import { dateFormatter } from '@/utils/formatTime'
import download from '@/utils/download'
import * as PurchaseclaimRequestMainApi from '@/api/wms/purchaseclaimRequestMain'
import PurchaseclaimRequestMainForm from './PurchaseclaimRequestMainForm.vue'
import { PurchaseclaimRequestMain, PurchaseclaimRequestMainRules } from '@/utils/disposition/tableColumns'
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 SupplierApi from '@/api/wms/supplier'
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 TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
@ -77,7 +77,7 @@ const searchTableParams = ref([{
},{
formField: 'itemCode',
searchTableTitle: '物料信息',
searchTableAllSchemas: ItemBasic.allSchemas,
searchTableAllSchemas: Itembasic.allSchemas,
searchTablePage: ItembasicApi.getItembasicPage
}])

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

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

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

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

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

@ -38,7 +38,7 @@
:rules="RuleRules"
:formAllSchemas="Rule.allSchemas"
searchTableTitle="物料基础信息"
:searchTableAllSchemas="ItemBasic.allSchemas"
:searchTableAllSchemas="Itembasic.allSchemas"
:searchTablePage="ItembasicApi.getItembasicPage"
:apiUpdate="RuleApi.updateRule"
:apiCreate="RuleApi.createRule"
@ -57,7 +57,7 @@ import download from '@/utils/download'
import * as RuleApi from '@/api/wms/rule'
import * as ItembasicApi from '@/api/wms/itembasic'
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 TableHead from '@/components/TableHead/src/TableHead.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 CustomerApi from '@/api/wms/customer'
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 TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
@ -77,7 +77,7 @@ const searchTableParams = ref([{
},{
formField: 'itemcode',
searchTableTitle: '物料信息',
searchTableAllSchemas: ItemBasic.allSchemas,
searchTableAllSchemas: Itembasic.allSchemas,
searchTablePage: ItembasicApi.getItembasicPage
}])

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

@ -37,7 +37,7 @@
@success="getList"
:rules="ShiftRules"
:formAllSchemas="Shift.allSchemas"
:searchTableAllSchemas="ItemBasic.allSchemas"
:searchTableAllSchemas="Itembasic.allSchemas"
:apiUpdate="ShiftApi.updateShift"
:apiCreate="ShiftApi.createShift"
:isBusiness="false"
@ -54,7 +54,7 @@
import download from '@/utils/download'
import * as ShiftApi from '@/api/wms/shift'
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 TableHead from '@/components/TableHead/src/TableHead.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 ItembasicApi from '@/api/wms/itembasic'
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 TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
@ -77,7 +77,7 @@ const searchTableParams = ref([{
},{
formField: 'itemCode',
searchTableTitle: '物料信息',
searchTableAllSchemas: ItemBasic.allSchemas,
searchTableAllSchemas: Itembasic.allSchemas,
searchTablePage: ItembasicApi.getItembasicPage
}])

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

@ -37,7 +37,7 @@
@success="getList"
:rules="SupplierRules"
:formAllSchemas="Supplier.allSchemas"
:searchTableAllSchemas="ItemBasic.allSchemas"
:searchTableAllSchemas="Itembasic.allSchemas"
:apiUpdate="SupplierApi.updateSupplier"
:apiCreate="SupplierApi.createSupplier"
:isBusiness="false"
@ -54,7 +54,7 @@
import download from '@/utils/download'
import * as SupplierApi from '@/api/wms/supplier'
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 TableHead from '@/components/TableHead/src/TableHead.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 WarehouseApi from '@/api/wms/warehouse'
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 TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
@ -79,7 +79,7 @@ const searchTableParams = ref([{
},{
formField: 'itemCode',
searchTableTitle: '物料信息',
searchTableAllSchemas: ItemBasic.allSchemas,
searchTableAllSchemas: Itembasic.allSchemas,
searchTablePage: ItembasicApi.getItembasicPage
},{
formField: 'defaultWarehouseCode',

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

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

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

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

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

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

Loading…
Cancel
Save