28169 9 mesi fa
parent
commit
6ebab17554

+ 5 - 5
src/xt_pages/data/components/consumables.vue Vedi File

@@ -773,11 +773,11 @@
773 773
 
774 774
             this.goodInfo.goodInfoDialog.formValue.is_warehouse = response.data.data.goodInfo.is_warehouse.toString()
775 775
 
776
-            //  if(response.data.data.goodInfo.is_show<=0){
777
-            //    this.goodInfo.goodInfoDialog.formValue.is_show = ''
778
-            //   }else{
779
-            //     this.goodInfo.goodInfoDialog.formValue.is_show =  response.data.data.goodInfo.is_show.toString()
780
-            //   }
776
+             if(response.data.data.goodInfo.is_show<=0){
777
+               this.goodInfo.goodInfoDialog.formValue.is_show = ''
778
+              }else{
779
+                this.goodInfo.goodInfoDialog.formValue.is_show =  response.data.data.goodInfo.is_show.toString()
780
+              }
781 781
 
782 782
             this.$refs.addConsumable.show(row.id, this.goodInfo.goodInfoDialog.formValue)
783 783
 

+ 5 - 5
src/xt_pages/data/components/drugs.vue Vedi File

@@ -742,11 +742,11 @@
742 742
                 this.formValue.is_project = this.formValue.is_project.toString()
743 743
               }
744 744
 
745
-              // if(this.formValue.is_show<=0){
746
-              //     this.formValue.is_show = ''
747
-              // }else{
748
-              //   this.formValue.is_show = this.formValue.is_show.toString()
749
-              // }
745
+              if(this.formValue.is_show<=0){
746
+                  this.formValue.is_show = ''
747
+              }else{
748
+                this.formValue.is_show = this.formValue.is_show.toString()
749
+              }
750 750
 
751 751
 
752 752
               this.$refs.addDrugs.show(id, this.formValue)

+ 5 - 5
src/xt_pages/data/components/editProject.vue Vedi File

@@ -468,11 +468,11 @@ export default {
468 468
                 this.form.is_print = projecDetail.is_print
469 469
               }
470 470
 
471
-              // if(projecDetail.is_show == 0){
472
-              //   this.form.is_show = ""
473
-              // }else{
474
-              //   this.form.is_show = projecDetail.is_show.toString()
475
-              // }
471
+              if(projecDetail.is_show == 0){
472
+                this.form.is_show = ""
473
+              }else{
474
+                this.form.is_show = projecDetail.is_show.toString()
475
+              }
476 476
 
477 477
             }
478 478
          })