|
@@ -91,7 +91,7 @@
|
|
|
</el-button>
|
|
|
<el-button
|
|
|
type="warning"
|
|
|
- v-if="goodsForm.status === 3 && (roleName.indexOf('车队') !== -1 || roleName.indexOf('admin') !== -1) || (roleName.indexOf('平台') !== -1 && roleName.indexOf('分管调度') !== -1)"
|
|
|
+ v-if="goodsForm.status === 3 && ((roleName.indexOf('车队') !== -1 || roleName.indexOf('admin') !== -1) || (roleName.indexOf('平台') !== -1 && roleName.indexOf('分管调度') !== -1))"
|
|
|
size="small"
|
|
|
:loading="type"
|
|
|
@click="cancelScheduling('1')"
|
|
@@ -99,7 +99,7 @@
|
|
|
</el-button>
|
|
|
<el-button
|
|
|
type="warning"
|
|
|
- v-if="goodsForm.status === 6 && (roleName.indexOf('司机') !== -1 || roleName.indexOf('admin') !== -1 || (roleName.indexOf('平台') !== -1 && roleName.indexOf('分管调度') !== -1))"
|
|
|
+ v-if="goodsForm.status === 6 && ((roleName.indexOf('司机') !== -1 || roleName.indexOf('admin') !== -1) || (roleName.indexOf('平台') !== -1 && roleName.indexOf('分管调度') !== -1))"
|
|
|
size="small"
|
|
|
:loading="type"
|
|
|
@click="cancelScheduling('3')"
|
|
@@ -2766,7 +2766,8 @@ export default {
|
|
|
this.typeTwo = true
|
|
|
this.goodsForm.status = 0
|
|
|
if (this.roleName.indexOf('admin') !== -1 || (this.roleName.indexOf('平台') !== -1 && this.roleName.indexOf('分管调度') !== -1)) {
|
|
|
- this.goodsOptionFormTwo.disabled = true
|
|
|
+ // this.goodsOptionFormTwo.disabled = true
|
|
|
+ this.$set(this.goodsOptionFormTwo,'disabled',false)
|
|
|
}
|
|
|
} else {
|
|
|
this.goodsOptionFormC.disabled = false
|
|
@@ -2775,7 +2776,8 @@ export default {
|
|
|
this.typeTwo = true
|
|
|
this.goodsForm.status = 0
|
|
|
if (this.roleName.indexOf('admin') !== -1 || (this.roleName.indexOf('平台') !== -1 && this.roleName.indexOf('分管调度') !== -1)) {
|
|
|
- this.goodsOptionFormTwo.disabled = false
|
|
|
+ // this.goodsOptionFormTwo.disabled = false
|
|
|
+ this.$set(this.goodsOptionFormTwo,'disabled',false)
|
|
|
this.findObject(this.goodsOptionFormTwo.column, "fleetId").disabled = false
|
|
|
this.findObject(this.goodsOptionFormTwo.column, "plateNo").disabled = false
|
|
|
this.findObject(this.goodsOptionFormTwo.column, "driverId").disabled = false
|