Explorar o código

修改只读状态

qukaidi %!s(int64=4) %!d(string=hai) anos
pai
achega
4bea635da1
Modificáronse 1 ficheiros con 7 adicións e 2 borrados
  1. 7 2
      src/views/fleet/scheduling/index.vue

+ 7 - 2
src/views/fleet/scheduling/index.vue

@@ -465,7 +465,7 @@ export default {
           name: "提单号",
           checked: 0,
           width: 100,
-           fixed: "left",
+          fixed: "left",
         },
         {
           surface: "8",
@@ -900,7 +900,12 @@ export default {
     getSave(data) {
       if (data.data.length != 0) {
         data.data.cntrId = data.data.map((e) => {
-          return (e.cntrId = e.cntrId.toString());
+          if (e.cntrId) {
+            e.cntrId = e.cntrId.toString();
+          }
+          if (e.billStatus >= 6) {
+            e.disabled = true;
+          }
         });
       }
       this.schedulingList = data.data;