Browse Source

2025-06-03

master
fengyuan_yang 7 months ago
parent
commit
32fae4e51c
  1. 46
      src/views/modules/part/partCatalogInformation.vue

46
src/views/modules/part/partCatalogInformation.vue

@ -128,8 +128,8 @@
<el-form :inline="true" label-position="top" :model="modalData" :rules="rules" style="margin-left: 7px;margin-top: -5px;">
<!-- 2025-05-31 Master part增加字段新增编辑主页面接口同步调整 -->
<el-form-item>
<span style="cursor: pointer" slot="label" @click="getBaseList(109)"><a herf="#">物料分组</a></span>
<el-input v-model="modalData.partMainGroup" @blur="groupIdBlur(109)" style="width: 120px"></el-input>
<span style="cursor: pointer" slot="label" @click="getBaseList(1004)"><a herf="#">物料分组</a></span>
<el-input v-model="modalData.partMainGroup" @blur="groupIdBlur(1004)" style="width: 120px"></el-input>
<el-input v-model="modalData.groupName" disabled style="width: 330px"></el-input>
</el-form-item>
<el-form-item label="批量规则">
@ -687,24 +687,24 @@
fixed: '',
columnWidth: 100
},
// {
// userId: this.$store.state.user.name,
// functionId: 104001,
// serialNumber: '104001Table1GroupName',
// tableId: '104001Table1',
// tableName: '',
// columnProp: 'groupName',
// headerAlign: 'center',
// align: 'center',
// columnLabel: '',
// columnHidden: false,
// columnImage: false,
// columnSortable: false,
// sortLv: 0,
// status: true,
// fixed: '',
// columnWidth: 100
// },
{
userId: this.$store.state.user.name,
functionId: 104001,
serialNumber: '104001Table1GroupName',
tableId: '104001Table1',
tableName: '物料信息表',
columnProp: 'groupName',
headerAlign: 'center',
align: 'left',
columnLabel: '物料分组',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 100
},
{
userId: this.$store.state.user.name,
functionId: 104001,
@ -713,7 +713,7 @@
tableName: '物料信息表',
columnProp: 'codeDesc',
headerAlign: 'center',
align: 'center',
align: 'left',
columnLabel: '属性模板',
columnHidden: false,
columnImage: false,
@ -1622,7 +1622,7 @@
let strVal = ''
if (val === 1007) {
strVal = this.modalData.umId
} else if (val === 109) {
} else if (val === 1004) {
strVal = this.modalData.partMainGroup
} else if (val === 22) {
strVal = this.modalData.codeNo
@ -1636,7 +1636,7 @@
if (this.tagNo === 1007) {
this.modalData.umId = val.um_id
this.modalData.umName = val.um_name
} else if (this.tagNo === 109) {
} else if (this.tagNo === 1004) {
this.modalData.partMainGroup = val.group_id
this.modalData.groupName = val.group_name
} else if (this.tagNo === 22) {

Loading…
Cancel
Save