Browse Source

物料管理修改字段设置

master
陈薪名 1 year ago
parent
commit
e99dd2fffa
  1. 19
      src/views/wms/bom/index.vue
  2. 1
      src/views/wms/itembasic/index.vue
  3. 11
      src/views/wms/itempackaging/index.vue
  4. 19
      src/views/wms/productionlineitem/index.vue
  5. 19
      src/views/wms/stdcostprice/index.vue

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

@ -5,12 +5,17 @@
</ContentWrap>
<!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" />
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:routeName="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="Bom.allSchemas.tableColumns"
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
@ -73,6 +78,16 @@ defineOptions({ name: 'Bom' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(Bom.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
//
const searchTableParams = ref([{
formField: 'productItemCode',

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

@ -98,7 +98,6 @@ const tableColumns = ref(Itembasic.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
console.log(101, val)
tableColumns.value = val
}

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

@ -8,7 +8,6 @@
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:tableColumns="tableColumns"
:routeName="routeName"
@updataTableColumns="updataTableColumns"
/>
@ -76,9 +75,7 @@ const { t } = useI18n() // 国际化
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref()
const tableColumns = ref(Itempackaging.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
@ -218,12 +215,6 @@ 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()
})

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

@ -5,12 +5,17 @@
</ContentWrap>
<!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" />
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:routeName="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="Productionlineitem.allSchemas.tableColumns"
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
@ -69,6 +74,16 @@ defineOptions({ name: 'Productionlineitem' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(Productionlineitem.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
//
const searchTableParams = ref([{
formField: 'fgLocationCode',

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

@ -5,12 +5,17 @@
</ContentWrap>
<!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" />
<TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:routeName="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 -->
<ContentWrap>
<Table
:columns="Stdcostprice.allSchemas.tableColumns"
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
:pagination="{
@ -68,6 +73,16 @@ defineOptions({ name: 'Stdcostprice' })
const message = useMessage() //
const { t } = useI18n() //
const route = useRoute() //
const routeName = ref()
routeName.value = route.name
const tableColumns = ref(Stdcostprice.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
//
const searchTableParams = ref([{
formField: 'supplierCode',

Loading…
Cancel
Save