|
@@ -581,12 +581,14 @@ export default {
|
|
|
return this.selectDictLabel(this.dict.type[type], value);
|
|
|
},
|
|
|
changeTime(){
|
|
|
-
|
|
|
if(this.form.tfyf){
|
|
|
this.checkTfsjEdit({tfyf:this.form.tfyf,sqrZjhm:this.formXq.sqrZjhm})
|
|
|
}
|
|
|
},
|
|
|
checkTfsjEdit(obj){
|
|
|
+ if(!obj.tfyf||!obj.sqrZjhm){
|
|
|
+ return
|
|
|
+ }
|
|
|
checkTfsj(obj).then(res=>{
|
|
|
if(res.msg)
|
|
|
{
|
|
@@ -764,14 +766,17 @@ export default {
|
|
|
|
|
|
this.getSqShrxm();
|
|
|
this.open = true;
|
|
|
- checkTfsj({tfyf:this.formXq.tfyf,sqrZjhm:this.formXq.sqrZjhm}).then(res=>{
|
|
|
- if(res.msg)
|
|
|
- {
|
|
|
- // this.$modal.confirm(res.msg)
|
|
|
- // this.$modal
|
|
|
- this.zyMsg=res.msg;
|
|
|
- }
|
|
|
- })
|
|
|
+ if(this.formXq.tfyf&&this.formXq.sqrZjhm)
|
|
|
+ {
|
|
|
+ checkTfsj({tfyf:this.formXq.tfyf,sqrZjhm:this.formXq.sqrZjhm}).then(res=>{
|
|
|
+ if(res.msg)
|
|
|
+ {
|
|
|
+ // this.$modal.confirm(res.msg)
|
|
|
+ // this.$modal
|
|
|
+ this.zyMsg=res.msg;
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
}
|
|
|
if(type===2)
|
|
|
{
|