国内外校验优化

This commit is contained in:
SUNJIABIN
2023-03-26 13:04:43 +08:00
parent d2562746ae
commit ecc1a9d4e7
@@ -1957,6 +1957,11 @@
this.checkIsOnly()
}
},
'form.standName' : {
handler: function() {
this.checkIsOnly()
}
},
'form.standNumber' : {
handler: function() {
this.checkIsOnly()
@@ -2129,10 +2134,11 @@
}
if (this.form.standInData === '0') {
standType = 'INLAND'
if(this.form.standSort && this.form.standNumber && this.form.standYear){
if(this.form.standSort && this.form.standNumber && this.form.standYear && this.form.standName){
this.$http.get('sarStandardsInfo/sar-standards-info/checkIsOnly', {
standType: standType,
standSort: this.form.standSort,
standName: this.form.standName,
standNumber: this.form.standNumber,
standYear: this.form.standYear,
}, {
@@ -2146,10 +2152,11 @@
}
} else {
standType = 'FOREIGN'
if(this.form.standSort && this.form.standNumber){
if(this.form.standSort && this.form.standNumber && this.form.standName){
this.$http.get('sarStandardsInfo/sar-standards-info/checkIsOnly', {
standType: standType,
standSort: this.form.standSort,
standName: this.form.standName,
standNumber: this.form.standNumber,
standYear: this.form.standYear,
}, {
@@ -3680,6 +3687,7 @@
this.$http.get('sarStandardsInfo/sar-standards-info/checkIsOnly', {
standType: standType,
standSort: this.form.standSort,
standName: this.form.standName,
standNumber: this.form.standNumber,
standYear: this.form.standYear,
}, {