caojunjie il y a 3 ans
Parent
commit
8f557112dd

+ 1 - 1
src/views/landTransportation/bulkCargo/detailPage.vue

@@ -72,7 +72,7 @@
               || (roleName.indexOf('车队') !== -1 && goodsForm.status === 2)
               || (roleName.indexOf('司机') !== -1 && goodsForm.status === 3)
               || (roleName.indexOf('司机') !== -1 && goodsForm.status === 4)
-              || (roleName.indexOf('司机') !== -1 && goodsForm.status === 6)"
+              || (roleName.indexOf('司机') !== -1 && goodsForm.status === 6) || roleName.indexOf('admin') !== -1"
               @click="modifyState"
           >
             {{

+ 1 - 1
src/views/wel/home/landTransportation/components/sales-trend.vue

@@ -526,7 +526,7 @@ export default {
     this.key++
     await this.getsalesTrend()
     this.init()
-    if (this.roleName.indexOf('平台') !== -1 || this.roleName.indexOf('总调度') !== -1 || this.roleName.indexOf('分管调度') !== -1) {
+    if (this.roleName.indexOf('平台') !== -1 || this.roleName.indexOf('总调度') !== -1 || this.roleName.indexOf('分管调度') !== -1 || this.roleName.indexOf('admin') !== -1) {
       for (let item of this.option.column) {
         if (item.prop === 'extraAmountC') return
       }