Browse Source

2024-10-16

优化
master
fengyuan_yang 1 year ago
parent
commit
9ae283d5d1
  1. 3
      src/views/modules/customer/customerGroupInformation.vue
  2. 14
      src/views/modules/proofing/requestForProofing.vue

3
src/views/modules/customer/customerGroupInformation.vue

@ -14,6 +14,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item :label="'客户组'"> <el-form-item :label="'客户组'">
<!-- <dict-data-select v-if="modalFlag" v-model="modalData.ecnStage" style="width: 95px" dict-type="change_ecn_stage"></dict-data-select>-->
<el-select clearable v-model="searchData.type" style="width: 120px"> <el-select clearable v-model="searchData.type" style="width: 120px">
<el-option label="客户组1" value="1"></el-option> <el-option label="客户组1" value="1"></el-option>
<el-option label="客户组2" value="2"></el-option> <el-option label="客户组2" value="2"></el-option>
@ -132,7 +133,9 @@ import {
} from '@/api/customer/customerGroupInformation.js' } from '@/api/customer/customerGroupInformation.js'
import Chooselist from '@/views/modules/common/Chooselist' import Chooselist from '@/views/modules/common/Chooselist'
import customerGroupInformation from './customerGroupInformation' import customerGroupInformation from './customerGroupInformation'
import DictDataSelect from "../sys/dict-data-select.vue";
export default { export default {
components: {DictDataSelect},
// components: { // components: {
// Chooselist // Chooselist
// }, // },

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

@ -2304,7 +2304,10 @@ export default {
}) })
}, },
created() { created() {
if (this.$route.params.type){
},
activated() {
if (this.$route.params.type === 'tokenLogin'){
let params = { let params = {
site: this.$route.params.site, site: this.$route.params.site,
proofingNo: this.$route.params.docNo, proofingNo: this.$route.params.docNo,
@ -2336,17 +2339,14 @@ export default {
} }
this.dataListLoading = false this.dataListLoading = false
}) })
}else {
this.getDataList();
}
},
activated() {
if (this.$route.params.proofingNo){
}else if (this.$route.params.proofingNo){
this.searchData.proofingNo = this.$route.params.proofingNo this.searchData.proofingNo = this.$route.params.proofingNo
this.getDataList(); this.getDataList();
setTimeout(()=>{ setTimeout(()=>{
this.searchData.proofingNo = '' this.searchData.proofingNo = ''
},200) },200)
}else {
this.getDataList();
} }
}, },
methods: { methods: {

Loading…
Cancel
Save