|
@@ -56,7 +56,7 @@
|
|
|
<el-button
|
|
|
type="success"
|
|
|
v-if="goodsForm.status === 0 && typeTwo === false"
|
|
|
- v-show="roleName.indexOf('业务员') !== -1 || (roleName.indexOf('平台') !== -1 && roleName.indexOf('分管调度') !== -1)"
|
|
|
+ v-show="roleName.indexOf('admin') !== -1 || roleName.indexOf('业务员') !== -1 || (roleName.indexOf('平台') !== -1 && roleName.indexOf('分管调度') !== -1)"
|
|
|
size="small"
|
|
|
:loading="type"
|
|
|
@click="submit(true)"
|
|
@@ -1044,7 +1044,7 @@ export default {
|
|
|
this.goodsOptionFormTwo.disabled = true
|
|
|
}else if (this.goodsForm.status === 1){
|
|
|
this.goodsOptionFormTwo.disabled = false
|
|
|
- if (this.roleName.indexOf('平台') !== -1){
|
|
|
+ if (this.roleName.indexOf('平台') !== -1 || this.roleName.indexOf('admin') !== -1){
|
|
|
this.findObject(this.goodsOptionFormTwo.column, "fleetId").disabled = false
|
|
|
this.findObject(this.goodsOptionFormTwo.column, "plateNo").disabled = false
|
|
|
this.findObject(this.goodsOptionFormTwo.column, "driverId").disabled = false
|
|
@@ -1053,7 +1053,7 @@ export default {
|
|
|
}
|
|
|
}else if (this.goodsForm.status === 2){
|
|
|
this.goodsOptionFormTwo.disabled = false
|
|
|
- if (this.roleName.indexOf('车队') !== -1){
|
|
|
+ if (this.roleName.indexOf('车队') !== -1 || this.roleName.indexOf('admin') !== -1){
|
|
|
this.findObject(this.goodsOptionFormTwo.column, "fleetId").disabled = true
|
|
|
this.findObject(this.goodsOptionFormTwo.column, "plateNo").disabled = false
|
|
|
this.findObject(this.goodsOptionFormTwo.column, "driverId").disabled = false
|
|
@@ -1568,7 +1568,7 @@ export default {
|
|
|
format: 'yyyy-MM-dd HH:mm',
|
|
|
valueFormat: 'yyyy-MM-dd HH:mm:ss',
|
|
|
}, {
|
|
|
- label: '车体积',
|
|
|
+ label: '车型',
|
|
|
span: 6,
|
|
|
prop: 'fleetVolum'
|
|
|
}, {
|