Browse Source

扫码更新

zhongtianhaoyuan 3 years ago
parent
commit
ca44f9523c
1 changed files with 10 additions and 5 deletions
  1. 10 5
      src/layout/index/top/index.vue

+ 10 - 5
src/layout/index/top/index.vue

@@ -581,15 +581,20 @@
             let _status3 = response.paymentManagement?response.paymentManagement.status:''
             let _status3 = response.paymentManagement?response.paymentManagement.status:''
             if (_status2 == '已初检' && _status1 == '已质检') {
             if (_status2 == '已初检' && _status1 == '已质检') {
               this.btnStatus.status1 = true
               this.btnStatus.status1 = true
-            } else if ((_status1 == '已称毛重' || _status1 == '已质检')) {
+            } 
+            if ((_status1 == '已称毛重' || _status1 == '已质检')) {
               this.btnStatus.status2 = true
               this.btnStatus.status2 = true
-            } else if (this.toPageData.qualityInspectionManagement.confirm != '1' && (_status1 == '已称毛重' || _status1 == '已质检')) {
+            } 
+            if (this.toPageData.qualityInspectionManagement.confirm != '1' && (_status1 == '已称毛重' || _status1 == '已质检')) {
               this.btnStatus.status3 = true
               this.btnStatus.status3 = true
-            } else if (  (_status1 == '已称毛重' || _status1 == '已质检')) {
+            } 
+            if (  (_status1 == '已称毛重' || _status1 == '已质检')) {
               this.btnStatus.status4 = true
               this.btnStatus.status4 = true
-            } else if ( this.toPageData.qualityInspectionManagement.confirm != '0' &&  (_status1 == '已称毛重' || _status1 == '已称皮重') && _status3 == '') {
+            } 
+            if ( this.toPageData.qualityInspectionManagement.confirm != '0' &&  (_status1 == '已称毛重' || _status1 == '已称皮重') && _status3 == '') {
               this.btnStatus.status5 = true
               this.btnStatus.status5 = true
-            } else if ( this.toPageData.qualityInspectionManagement.confirm != '0' &&   _status1 == '已称皮重' && _status3 == '待结算')  {
+            } 
+            if ( this.toPageData.qualityInspectionManagement.confirm != '0' &&   _status1 == '已称皮重' && _status3 == '待结算')  {
               this.btnStatus.status6 = true
               this.btnStatus.status6 = true
             }
             }
             if (_status3 == '已结算') {
             if (_status3 == '已结算') {