Browse Source

2024-10-16

master
qiezi 1 year ago
parent
commit
8ebb2c43c2
  1. 2
      src/views/modules/project/projectInfo/com_project_info_quotation.vue
  2. 9
      src/views/modules/project/projectInfo/projectInfo.vue
  3. 7
      src/views/modules/proofing/requestForProofing.vue
  4. 13
      src/views/modules/quotation/requestForQuote.vue
  5. 6
      src/views/modules/quotation/toBeQuoted.vue
  6. 2
      src/views/modules/sys/dict-data.vue
  7. 13
      src/views/modules/test/requestForTest.vue

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

@ -221,7 +221,7 @@ export default {
if (this.$router.resolve(`/quotation-sellForQuotation`).resolved.name === '404'){
this.$alert('权限不足,访问失败', '警告', {confirmButtonText: '确定',});
}else {
this.$router.push({name:`quotation-sellForQuotation`,params:{quotationNo:row.quotationNo,versionCode:row.versionCode},})
this.$router.push({name:`quotation-sellForQuotation`,params:{quotationNo:row.quotationNo+"-"+row.versionCode},})
}
}
}

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

@ -1618,6 +1618,7 @@
let inData={
site: this.currentRow.site,
projectId: this.currentRow.projectId,
userName:this.$store.state.user.name,
page: 1,
limit: 1000
}
@ -1627,7 +1628,7 @@
let inData={
site: this.currentRow.site,
projectId: this.currentRow.projectId,
username:this.$store.state.user.name,
createBy:this.$store.state.user.name,
no: 1,
size: 1000
}
@ -1637,7 +1638,7 @@
let inData={
site: this.currentRow.site,
projectId: this.currentRow.projectId,
username:this.$store.state.user.name,
createBy:this.$store.state.user.name,
page: 1,
limit: 1000
}
@ -1647,7 +1648,7 @@
let inData={
site: this.currentRow.site,
projectId: this.currentRow.projectId,
// username:this.$store.state.user.name,
createBy:this.$store.state.user.name,
page: 1,
limit: 1000
}
@ -1657,7 +1658,7 @@
let inData={
site: this.currentRow.site,
projectId: this.currentRow.projectId,
username:this.$store.state.user.name,
createBy:this.$store.state.user.name,
page: 1,
limit: 1000
}

7
src/views/modules/proofing/requestForProofing.vue

@ -2304,9 +2304,13 @@ export default {
})
},
created() {
this.handleRouteQuery();
},
activated() {
this.handleRouteQuery();
},
methods: {
handleRouteQuery(){
if (this.$route.params.type === 'tokenLogin'){
let params = {
site: this.$route.params.site,
@ -2349,7 +2353,6 @@ export default {
this.getDataList();
}
},
methods: {
// ======== ========
/**
* 每页数

13
src/views/modules/quotation/requestForQuote.vue

@ -2111,9 +2111,13 @@ export default {
})
},
created() {
this.getDataList()
this.handleRouteQuery()
},
activated () {
this.handleRouteQuery()
},
methods: {
handleRouteQuery(){
if (this.$route.params.type === 'tokenLogin') {
if (this.$route.params.docNo) {
this.searchData.quotationBatchNo = this.$route.params.docNo
@ -2143,8 +2147,7 @@ export default {
}
}
})
}else {
if (this.$route.params.quotationNo) {
}else if (this.$route.params.quotationNo) {
this.searchData.quotationNo = this.$route.params.quotationNo
this.searchData.limit = this.pageSize
this.searchData.page = this.pageIndex
@ -2172,10 +2175,10 @@ export default {
}
}
})
}
}else {
this.getDataList()
}
},
methods: {
// ======== ========
/**
* 每页数

6
src/views/modules/quotation/toBeQuoted.vue

@ -142,7 +142,7 @@
@size-change="sizeChangeHandle"
@current-change="currentChangeHandle"
:current-page="pageIndex"
:page-sizes="[50, 100, 200, 500]"
:page-sizes="[20,50, 100, 200, 500]"
:page-size="pageSize"
:total="totalPage"
layout="total, sizes, prev, pager, next, jumper">
@ -181,7 +181,7 @@ export default {
trackerName: '',
testPartNo: '',
partName: '',
quotationStatus: '已完成',
quotationStatus: '审批中',
quotationResultStatus: '',
startDate: '',
endDate: '',
@ -194,7 +194,7 @@ export default {
},
//
pageIndex: 1,//
pageSize:50,//
pageSize:20,//
totalPage:0,//
//
dataList:[],//

2
src/views/modules/sys/dict-data.vue

@ -330,7 +330,7 @@ export default {
<el-table-column header-align="center" align="center" label="操作" width="160">
<template slot-scope="{row,$index}">
<el-button type="text" :disabled="row.isSystem === 'Y'" @click="openDictTypeDialog(1,row)" icon="el-icon-edit">修改</el-button>
<el-button type="text" :disabled="row.isSystem === 'Y'" v-if="false" @click="delDictData(row)" icon="el-icon-delete">删除</el-button>
<el-button type="text" :disabled="row.isSystem === 'Y'" @click="delDictData(row)" icon="el-icon-delete">删除</el-button>
</template>
</el-table-column>
</el-table>

13
src/views/modules/test/requestForTest.vue

@ -2179,9 +2179,13 @@
})
},
created () {
this.getDataList()
this.handleRouteQuery()
},
activated () {
this.handleRouteQuery()
},
methods: {
handleRouteQuery(){
if (this.$route.params.type === 'tokenLogin') {
if (this.$route.params.docNo) {
this.searchData.testNo = this.$route.params.docNo
@ -2216,17 +2220,16 @@
}
}
})
}else {
if (this.$route.params.testNo){
}else if(this.$route.params.testNo){
this.searchData.testNo = this.$route.params.testNo
this.getDataList()
setTimeout(()=>{
this.searchData.testNo = ''
},200)
}
}else{
this.getDataList();
}
},
methods: {
searchTestPropertiesItem(){
let params={
site:this.$store.state.user.site,

Loading…
Cancel
Save