Jelajahi Sumber

修改状态

Qukaidi 4 tahun lalu
induk
melakukan
1bbd6a593b

+ 3 - 3
src/views/fleet/scheduling/AddOrUpdate.vue

@@ -732,7 +732,7 @@
                       type="text"
                       icon="el-icon-document-checked"
                       @click.native.prevent="addplansRow(scope.row)"
-                      :disabled="scope.row.disabled"
+                      :disabled="scope.row.disabled==3||scope.row.disabled==6"
                       >提交</el-button
                     >
                     <el-button
@@ -750,7 +750,7 @@
                       type="text"
                       icon="el-icon-refresh"
                       @click.native.prevent="changeplansRow(scope.row)"
-                      :disabled="scope.row.billStatus < 6"
+                      :disabled="scope.row.disabled < 6"
                       >变更</el-button
                     >
                   </template>
@@ -1663,7 +1663,7 @@ export default {
             const data = { id: this.form.id, actId: 1010 };
             allowChangesFtmsorderbills(data).then((response) => {
               if (response.code == 200) {
-                this.$emit("fixDisabled", "false");
+                // this.$emit("fixDisabled", "false");
                 this.$emit("fixDisabled2", "false");
                 this.msgSuccess("允许修改");
                 this.$set(this.form, "billStatus", 5);

+ 1 - 1
src/views/fleet/sendcar/AddOrUpdate.vue

@@ -712,7 +712,7 @@
                       @click.native.prevent="
                         delscarsRow(scope.$index, vehicleList, scope.row)
                       "
-                      :disabled="scope.row.billStatus == 6||scope.row.billStatus == 3"
+                      :disabled="scope.row.billStatus == 6||scope.row.billStatus == 5"
                       >删除</el-button
                     >
                     <el-button