Browse Source

plm BMM

master
ruanqi 1 year ago
parent
commit
415f1585b4
  1. 9
      src/views/modules/base/propertiesItem/propertiesItem.vue
  2. 72
      src/views/modules/project/projectInfo/com_project_info_quotation.vue
  3. 144
      src/views/modules/project/projectInfo/com_project_puotation.vue
  4. 144
      src/views/modules/project/projectInfo/com_project_sample.vue
  5. 144
      src/views/modules/project/projectInfo/com_project_test.vue
  6. 38
      src/views/modules/project/projectInfo/projectInfo.vue
  7. 20
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_routing.vue
  8. 21
      src/views/modules/sys/user.vue
  9. 26
      src/views/modules/tooling/searchToolApply.vue

9
src/views/modules/base/propertiesItem/propertiesItem.vue

@ -12,6 +12,14 @@
<el-option :value="item.functionType" :label="item.functionTypeDesc" v-for="item in itemTypeList" :key="item.functionType"></el-option>
</el-select>
</el-form-item>
<el-form-item :label="'值类型'">
<el-select v-model="searchData.valueType" style="width: 120px">
<el-option label="全部" value=""></el-option>
<el-option label="文本" value="文本"></el-option>
<el-option label="数字" value="数字"></el-option>
<el-option label="超链接" value="超链接"></el-option>
</el-select>
</el-form-item>
<el-form-item :label="' '">
<el-button type="primary" @click="getDataList()">查询</el-button>
<el-button type="primary" @click="addModal()">新增</el-button>
@ -241,6 +249,7 @@
itemNo: '',
itemDesc: '',
itemType:'',
valueType:'',
page: 1,
limit: 10,
},

72
src/views/modules/project/projectInfo/com_project_info_quotation.vue

@ -43,42 +43,42 @@ export default {
fixed: '',
columnWidth: 100
},
{
userId: this.$store.state.user.name,
functionId: 101002001,
serialNumber: '101002001Table5CustomerNo',
tableId: '101002001Table5',
tableName: '报价信息表',
columnProp: 'customerNo',
headerAlign: 'center',
align: 'center',
columnLabel: '客户编码',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 120
},
{
userId: this.$store.state.user.name,
functionId: 101002001,
serialNumber: '101002001Table5CustomerName',
tableId: '101002001Table5',
tableName: '报价信息表',
columnProp: 'customerName',
headerAlign: 'center',
align: 'center',
columnLabel: '客户名称',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 120
},
// {
// userId: this.$store.state.user.name,
// functionId: 101002001,
// serialNumber: '101002001Table5CustomerNo',
// tableId: '101002001Table5',
// tableName: '',
// columnProp: 'customerNo',
// headerAlign: 'center',
// align: 'center',
// columnLabel: '',
// columnHidden: false,
// columnImage: false,
// columnSortable: false,
// sortLv: 0,
// status: true,
// fixed: '',
// columnWidth: 120
// },
// {
// userId: this.$store.state.user.name,
// functionId: 101002001,
// serialNumber: '101002001Table5CustomerName',
// tableId: '101002001Table5',
// tableName: '',
// columnProp: 'customerName',
// headerAlign: 'center',
// align: 'center',
// columnLabel: '',
// columnHidden: false,
// columnImage: false,
// columnSortable: false,
// sortLv: 0,
// status: true,
// fixed: '',
// columnWidth: 120
// },
{
userId: this.$store.state.user.name,
functionId: 101002001,

144
src/views/modules/project/projectInfo/com_project_puotation.vue

@ -140,78 +140,78 @@
fixed: '',
columnWidth: 60
},
{
userId: this.$store.state.user.name,
functionId: 102001,
serialNumber: '102001Table1CustomerNo',
tableId: '102001Table1',
tableName: '询价信息表',
columnProp: 'customerNo',
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: 102001,
serialNumber: '102001Table1CustomerDesc',
tableId: '102001Table1',
tableName: '询价信息表',
columnProp: 'customerDesc',
headerAlign: 'center',
align: 'left',
columnLabel: '客户名称',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 120
},
{
userId: this.$store.state.user.name,
functionId: 102001,
serialNumber: '102001Table1ProjectId',
tableId: '102001Table1',
tableName: '询价信息表',
columnProp: 'projectId',
headerAlign: 'center',
align: 'center',
columnLabel: '项目编码',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 120
},
{
userId: this.$store.state.user.name,
functionId: 102001,
serialNumber: '102001Table1ProjectName',
tableId: '102001Table1',
tableName: '询价信息表',
columnProp: 'projectName',
headerAlign: 'center',
align: 'left',
columnLabel: '项目名称',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 120
},
// {
// userId: this.$store.state.user.name,
// functionId: 102001,
// serialNumber: '102001Table1CustomerNo',
// tableId: '102001Table1',
// tableName: '',
// columnProp: 'customerNo',
// 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: 102001,
// serialNumber: '102001Table1CustomerDesc',
// tableId: '102001Table1',
// tableName: '',
// columnProp: 'customerDesc',
// headerAlign: 'center',
// align: 'left',
// columnLabel: '',
// columnHidden: false,
// columnImage: false,
// columnSortable: false,
// sortLv: 0,
// status: true,
// fixed: '',
// columnWidth: 120
// },
// {
// userId: this.$store.state.user.name,
// functionId: 102001,
// serialNumber: '102001Table1ProjectId',
// tableId: '102001Table1',
// tableName: '',
// columnProp: 'projectId',
// headerAlign: 'center',
// align: 'center',
// columnLabel: '',
// columnHidden: false,
// columnImage: false,
// columnSortable: false,
// sortLv: 0,
// status: true,
// fixed: '',
// columnWidth: 120
// },
// {
// userId: this.$store.state.user.name,
// functionId: 102001,
// serialNumber: '102001Table1ProjectName',
// tableId: '102001Table1',
// tableName: '',
// columnProp: 'projectName',
// headerAlign: 'center',
// align: 'left',
// columnLabel: '',
// columnHidden: false,
// columnImage: false,
// columnSortable: false,
// sortLv: 0,
// status: true,
// fixed: '',
// columnWidth: 120
// },
{
userId: this.$store.state.user.name,
functionId: 102001,

144
src/views/modules/project/projectInfo/com_project_sample.vue

@ -105,78 +105,78 @@
fixed: '',
columnWidth: 120
},
{
userId: this.$store.state.user.name,
functionId: 103001,
serialNumber: '103001Table1CustomerNo',
tableId: '103001Table1',
tableName: '打样信息表',
columnProp: 'customerNo',
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: 103001,
serialNumber: '103001Table1CustomerDesc',
tableId: '103001Table1',
tableName: '打样信息表',
columnProp: 'customerDesc',
headerAlign: 'center',
align: 'center',
columnLabel: '客户名称',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 120
},
{
userId: this.$store.state.user.name,
functionId: 103001,
serialNumber: '103001Table1ProjectId',
tableId: '103001Table1',
tableName: '打样信息表',
columnProp: 'projectId',
headerAlign: 'center',
align: 'center',
columnLabel: '项目编码',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 110
},
{
userId: this.$store.state.user.name,
functionId: 103001,
serialNumber: '103001Table1ProjectName',
tableId: '103001Table1',
tableName: '打样信息表',
columnProp: 'projectName',
headerAlign: 'center',
align: 'center',
columnLabel: '项目名称',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 120
},
// {
// userId: this.$store.state.user.name,
// functionId: 103001,
// serialNumber: '103001Table1CustomerNo',
// tableId: '103001Table1',
// tableName: '',
// columnProp: 'customerNo',
// 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: 103001,
// serialNumber: '103001Table1CustomerDesc',
// tableId: '103001Table1',
// tableName: '',
// columnProp: 'customerDesc',
// headerAlign: 'center',
// align: 'center',
// columnLabel: '',
// columnHidden: false,
// columnImage: false,
// columnSortable: false,
// sortLv: 0,
// status: true,
// fixed: '',
// columnWidth: 120
// },
// {
// userId: this.$store.state.user.name,
// functionId: 103001,
// serialNumber: '103001Table1ProjectId',
// tableId: '103001Table1',
// tableName: '',
// columnProp: 'projectId',
// headerAlign: 'center',
// align: 'center',
// columnLabel: '',
// columnHidden: false,
// columnImage: false,
// columnSortable: false,
// sortLv: 0,
// status: true,
// fixed: '',
// columnWidth: 110
// },
// {
// userId: this.$store.state.user.name,
// functionId: 103001,
// serialNumber: '103001Table1ProjectName',
// tableId: '103001Table1',
// tableName: '',
// columnProp: 'projectName',
// headerAlign: 'center',
// align: 'center',
// columnLabel: '',
// columnHidden: false,
// columnImage: false,
// columnSortable: false,
// sortLv: 0,
// status: true,
// fixed: '',
// columnWidth: 120
// },
{
userId: this.$store.state.user.name,
functionId: 103001,

144
src/views/modules/project/projectInfo/com_project_test.vue

@ -87,78 +87,78 @@ export default {
fixed: '',
columnWidth: 120
},
{
userId: this.$store.state.user.name,
functionId: 103001,
serialNumber: '103001Table1CustomerNo',
tableId: '103001Table1',
tableName: '测试信息表',
columnProp: 'customerNo',
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: 103001,
serialNumber: '103001Table1CustomerDesc',
tableId: '103001Table1',
tableName: '测试信息表',
columnProp: 'customerDesc',
headerAlign: 'center',
align: 'center',
columnLabel: '客户名称',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 120
},
{
userId: this.$store.state.user.name,
functionId: 103001,
serialNumber: '103001Table1ProjectId',
tableId: '103001Table1',
tableName: '测试信息表',
columnProp: 'projectId',
headerAlign: 'center',
align: 'center',
columnLabel: '项目编码',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 110
},
{
userId: this.$store.state.user.name,
functionId: 103001,
serialNumber: '103001Table1ProjectName',
tableId: '103001Table1',
tableName: '测试信息表',
columnProp: 'projectName',
headerAlign: 'center',
align: 'center',
columnLabel: '项目名称',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 120
},
// {
// userId: this.$store.state.user.name,
// functionId: 103001,
// serialNumber: '103001Table1CustomerNo',
// tableId: '103001Table1',
// tableName: '',
// columnProp: 'customerNo',
// 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: 103001,
// serialNumber: '103001Table1CustomerDesc',
// tableId: '103001Table1',
// tableName: '',
// columnProp: 'customerDesc',
// headerAlign: 'center',
// align: 'center',
// columnLabel: '',
// columnHidden: false,
// columnImage: false,
// columnSortable: false,
// sortLv: 0,
// status: true,
// fixed: '',
// columnWidth: 120
// },
// {
// userId: this.$store.state.user.name,
// functionId: 103001,
// serialNumber: '103001Table1ProjectId',
// tableId: '103001Table1',
// tableName: '',
// columnProp: 'projectId',
// headerAlign: 'center',
// align: 'center',
// columnLabel: '',
// columnHidden: false,
// columnImage: false,
// columnSortable: false,
// sortLv: 0,
// status: true,
// fixed: '',
// columnWidth: 110
// },
// {
// userId: this.$store.state.user.name,
// functionId: 103001,
// serialNumber: '103001Table1ProjectName',
// tableId: '103001Table1',
// tableName: '',
// columnProp: 'projectName',
// headerAlign: 'center',
// align: 'center',
// columnLabel: '',
// columnHidden: false,
// columnImage: false,
// columnSortable: false,
// sortLv: 0,
// status: true,
// fixed: '',
// columnWidth: 120
// },
{
userId: this.$store.state.user.name,
functionId: 103001,

38
src/views/modules/project/projectInfo/projectInfo.vue

@ -253,7 +253,7 @@
</el-row>
</el-form>
</el-tab-pane>
<el-tab-pane label="客户联系人" name="customer_contact">
<el-tab-pane label="项目联系人" name="customer_contact">
<el-form label-position="top" style="margin-top: 1px; margin-left: 0px;">
<el-form :inline="true" label-position="top" style="margin-top: 0px">
<el-button type="primary" @click="contactChooseModal()">编辑</el-button>
@ -809,24 +809,24 @@
},
],
columnList2: [
{
userId: this.$store.state.user.name,
functionId: 101002001,
serialNumber: '101002001Table2ContactName',
tableId: '101002001Table2',
tableName: '项目联系人表',
columnProp: 'contactId',
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: 101002001,
// serialNumber: '101002001Table2ContactName',
// tableId: '101002001Table2',
// tableName: '',
// columnProp: 'contactId',
// 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: 101002001,

20
src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_routing.vue

@ -797,6 +797,24 @@
fixed: '',
columnWidth: 80
},
{
userId: this.$store.state.user.name,
functionId: 104003,
serialNumber: '104003Table2WorkCenterNo',
tableId: '104003Table2',
tableName: 'Routing工序表',
columnProp: 'workCenterNo',
headerAlign: 'center',
align: 'center',
columnLabel: '加工中心编码',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 85
},
{
userId: this.$store.state.user.name,
functionId: 104003,
@ -813,7 +831,7 @@
sortLv: 0,
status: true,
fixed: '',
columnWidth: 120
columnWidth: 100
},
{
userId: this.$store.state.user.name,

21
src/views/modules/sys/user.vue

@ -77,6 +77,12 @@
align="center"
:label="'岗位'">
</el-table-column>
<el-table-column
prop="domainControlAccount"
header-align="center"
align="center"
:label="'域控账号'">
</el-table-column>
<el-table-column
prop="email"
header-align="center"
@ -973,6 +979,21 @@ export default {
//end
//
saveUserAssessSite() {
let flag=true
if( this.selectSitList.length==0){
this.$message.warning("至少授权一个工厂")
return false;
}
for (let i = 0; i < this.selectSitList.length ; i++) {
if(this.selectSitList[i]===this.selectUser.site){
flag=false
}
}
if(flag){
this.$message.warning("默认工厂不能取消授权")
return false;
}
let accessSiteList = this.selectSitList.map(item => {
let itemSite = {
userid: this.selectUser.username,

26
src/views/modules/tooling/searchToolApply.vue

@ -1808,7 +1808,33 @@
},
},
activated() {
if (this.$route.params.type === 'tokenLogin') {
if (this.$route.params.docNo) {
this.searchData.applyNo = this.$route.params.docNo
}
this.searchData.limit = this.pageSize
this.searchData.page = this.pageIndex
searchProjectToolApplyHeader(this.searchData).then(({data}) => {
if (data.code == 0) {
this.dataList1 = data.page.list
this.pageIndex = data.page.currPage
this.pageSize = data.page.pageSize
this.totalPage = data.page.totalCount
if(this.dataList1.length>0){
this.$refs.mainTable.setCurrentRow(this.dataList1[0]);
this.currentRow = JSON.parse( JSON.stringify(this.dataList1[0]));
this.editModal(this.dataList1[0])
}else {
this.currentRow ={}
}
this.refreshCurrentTabTable ()
}
this.dataListLoading = false
})
} else {
}
},
}
</script>

Loading…
Cancel
Save