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> </ContentWrap>
<!-- 列表头部 --> <!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" /> <TableHead
:HeadButttondata="HeadButttondata"
@button-base-click="buttonBaseClick"
:routeName="routeName"
@updataTableColumns="updataTableColumns"
/>
<!-- 列表 --> <!-- 列表 -->
<ContentWrap> <ContentWrap>
<Table <Table
:columns="Bom.allSchemas.tableColumns" :columns="tableColumns"
:data="tableObject.tableList" :data="tableObject.tableList"
:loading="tableObject.loading" :loading="tableObject.loading"
:pagination="{ :pagination="{
@ -73,6 +78,16 @@ defineOptions({ name: 'Bom' })
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(Bom.allSchemas.tableColumns)
//
const updataTableColumns = (val) => {
tableColumns.value = val
}
// //
const searchTableParams = ref([{ const searchTableParams = ref([{
formField: 'productItemCode', formField: 'productItemCode',

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

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

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

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

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

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

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

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

Loading…
Cancel
Save