|
@@ -683,7 +683,7 @@
|
|
|
type="text"
|
|
|
icon="el-icon-document-delete"
|
|
|
@click.native.prevent="
|
|
|
- revokescarsRow(scope.$index, schedulingList, scope.row)
|
|
|
+ revokescarsRow(scope.$index, vehicleList, scope.row)
|
|
|
"
|
|
|
:disabled="true"
|
|
|
>撤销</el-button
|
|
@@ -1221,10 +1221,6 @@ export default {
|
|
|
type: Boolean,
|
|
|
default: false,
|
|
|
},
|
|
|
- disabled2: {
|
|
|
- type: Boolean,
|
|
|
- default: false,
|
|
|
- },
|
|
|
DList: {
|
|
|
type: Array,
|
|
|
default: [],
|
|
@@ -1318,6 +1314,7 @@ export default {
|
|
|
fWbuOptions: [],
|
|
|
ffeeunitidList: [],
|
|
|
carManages: [],
|
|
|
+ disabled2:false
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
@@ -1559,7 +1556,6 @@ export default {
|
|
|
|
|
|
//单条订单调度提交
|
|
|
addscarsRow(row) {
|
|
|
- console.log(row);
|
|
|
if (row.id == null) {
|
|
|
this.$confirm("车辆存在未保存数据,是否保存?", "提示", {
|
|
|
confirmButtonText: "确定",
|
|
@@ -1569,6 +1565,7 @@ export default {
|
|
|
.then(() => {
|
|
|
this.submitSave();
|
|
|
if (row.billStatus != 6) {
|
|
|
+ this.$set(row, "billStatus", 6);
|
|
|
this.msgSuccess("保存成功");
|
|
|
} else {
|
|
|
this.msgSuccess("请勿重复提交");
|
|
@@ -1585,7 +1582,6 @@ export default {
|
|
|
singleaddFtmsorderbillscars(row).then((response) => {
|
|
|
this.msgSuccess("成功提交");
|
|
|
if (response.code == 200) {
|
|
|
- this.$set(row, "id", response.data.id);
|
|
|
this.$set(row, "billStatus", 6);
|
|
|
}
|
|
|
});
|
|
@@ -1623,7 +1619,7 @@ export default {
|
|
|
this.msgSuccess("允许变更");
|
|
|
this.$set(row, "billStatus", 5);
|
|
|
} else {
|
|
|
- this.msgSuccess("请勿重复变更变更");
|
|
|
+ this.msgSuccess("请勿重复变更");
|
|
|
}
|
|
|
},
|
|
|
},
|