国内外校验优化
This commit is contained in:
@@ -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,
|
||||
}, {
|
||||
|
||||
Reference in New Issue
Block a user