be89298d by zhaoqian

权限控制

1 parent 0c405cd7
...@@ -389,7 +389,7 @@ ...@@ -389,7 +389,7 @@
389 getDzDetailByBsm(data).then((res)=>{ 389 getDzDetailByBsm(data).then((res)=>{
390 if(res.code===200) { 390 if(res.code===200) {
391 this.form = res.result; 391 this.form = res.result;
392 if(this.form.bblx === 0 && this.form.qszt === 0 && this.form.bhqkbsm == null){ 392 if(this.form.bblx === 0 && this.form.qszt === '0' && this.form.bhqkbsm == null){
393 this.disabled = false 393 this.disabled = false
394 }else { 394 }else {
395 this.disabled = true 395 this.disabled = true
......
...@@ -498,9 +498,11 @@ ...@@ -498,9 +498,11 @@
498 .then((res) => { 498 .then((res) => {
499 if (res.result) { 499 if (res.result) {
500 this.formData = res.result; 500 this.formData = res.result;
501 if(this.formData.bblx === 0 && this.formData.qszt === 0 && this.formData.bhqkbsm == null){ 501 if(this.formData.bblx === 0 && this.formData.qszt === '0' && this.formData.bhqkbsm == null){
502 console.log("12345")
502 this.disabled = false 503 this.disabled = false
503 }else { 504 }else {
505 console.log("1234567890")
504 this.disabled = true 506 this.disabled = true
505 } 507 }
506 console.log(res.result, 'res.result'); 508 console.log(res.result, 'res.result');
......
...@@ -600,7 +600,7 @@ ...@@ -600,7 +600,7 @@
600 if(res.code===200){ 600 if(res.code===200){
601 this.form = res.result; 601 this.form = res.result;
602 this.hbsm = res.result.bsm; 602 this.hbsm = res.result.bsm;
603 if(this.form.bblx === 0 && this.form.qszt === 0 && this.form.bhqkbsm == null){ 603 if(this.form.bblx === 0 && this.form.qszt === '0' && this.form.bhqkbsm == null){
604 this.disableFlag = false 604 this.disableFlag = false
605 }else { 605 }else {
606 this.disableFlag = true 606 this.disableFlag = true
......
...@@ -663,7 +663,7 @@ ...@@ -663,7 +663,7 @@
663 // if(res.result.zddm == null){ 663 // if(res.result.zddm == null){
664 // this.generatorCode() 664 // this.generatorCode()
665 // } 665 // }
666 if(this.form.bblx === 0 && this.form.qszt === 0 && this.form.bhqkbsm == null){ 666 if(this.form.bblx === 0 && this.form.qszt === '0' && this.form.bhqkbsm == null){
667 this.disabled = false 667 this.disabled = false
668 }else { 668 }else {
669 this.disabled = true 669 this.disabled = true
......