|
@@ -648,15 +648,6 @@ export default {
|
|
|
},
|
|
|
// 表单校验
|
|
|
rules: {
|
|
|
- fBilltype: [
|
|
|
- { required: true, message: ' ', trigger: 'change' }
|
|
|
- ],
|
|
|
- fBillstatus: [
|
|
|
- { required: true, message: ' ', trigger: 'blur' }
|
|
|
- ],
|
|
|
- fDeptid: [
|
|
|
- { required: true, message: ' ', trigger: 'blur' }
|
|
|
- ],
|
|
|
fToCorpid: [
|
|
|
{ required: true, message: ' ', trigger: 'blur' }
|
|
|
],
|
|
@@ -938,7 +929,10 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
charGe() {
|
|
|
- this.queryParameter.fToCorpid = this.queryParams.fCorpid
|
|
|
+ this.queryParameter = {
|
|
|
+ fToCorpid: this.queryParams.fCorpid,
|
|
|
+ }
|
|
|
+ // this.queryParameter.fToCorpid = this.queryParams.fCorpid
|
|
|
this.innerVisible = true
|
|
|
},
|
|
|
getSummaries(param) {
|
|
@@ -1088,13 +1082,34 @@ export default {
|
|
|
// console.log(this.queryParameter[0].fFeeid.join(','))
|
|
|
// .join(',')
|
|
|
this.chargeList_s = []
|
|
|
- this.$refs['form'].validate(valid => {
|
|
|
- if (valid) {
|
|
|
- search(this.queryParameter).then(response => {
|
|
|
- this.chargeList_s = response.rows
|
|
|
+ if(this.queryParameter.fStatementNo){
|
|
|
+ this.rules = {}
|
|
|
+ search(this.queryParameter).then(response => {
|
|
|
+ this.chargeList_s = response.rows
|
|
|
+ this.$message.success('查询成功');
|
|
|
+ })
|
|
|
+ }else {
|
|
|
+ this.rules = {
|
|
|
+ fToCorpid: [
|
|
|
+ { required: true, message: ' ', trigger: 'blur' }
|
|
|
+ ],
|
|
|
+ timeExamine: [
|
|
|
+ { required: true, message: ' ', trigger: 'blur' }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ if (this.rules){
|
|
|
+ this.$refs['form'].validate(valid => {
|
|
|
+ if (valid) {
|
|
|
+ search(this.queryParameter).then(response => {
|
|
|
+ this.chargeList_s = response.rows
|
|
|
+ this.$message.success('查询成功');
|
|
|
+ })
|
|
|
+ }
|
|
|
})
|
|
|
+ }else {
|
|
|
+ this.$message.error('操作频繁');
|
|
|
}
|
|
|
- })
|
|
|
+ }
|
|
|
},
|
|
|
/** 远程模糊查询用户 */
|
|
|
corpsRemoteMethod(name) {
|