|
@@ -177,10 +177,7 @@
|
|
|
icon="el-icon-edit"
|
|
|
style="padding: 0; margin-left: 6px"
|
|
|
@click="editDate(scope.row)"
|
|
|
- v-if="
|
|
|
- $checkBtnRole('date', $route.meta.roles) &&
|
|
|
- (scope.row.examineStatus === 'SAVE' || scope.row.examineStatus === 'WAIT')
|
|
|
- "
|
|
|
+ v-if="$checkBtnRole('date', $route.meta.roles) && !isCustomer && scope.row.examineStatus !== 'SAVE'"
|
|
|
></el-button>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -599,6 +596,9 @@ export default {
|
|
|
|
|
|
enginOrderType: 'TRADE' // TRADE=商用 HOME=家用
|
|
|
}
|
|
|
+ },
|
|
|
+ isCustomer() {
|
|
|
+ return this.$store.getters.customerId && this.$store.getters.customerNumber
|
|
|
}
|
|
|
},
|
|
|
|