Преглед на файлове

change: Cargo Consolidation船货凑期.互换负责人申请人字段.

peter преди 1 ден
родител
ревизия
361f664f84
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      src/pages/cargo-consolidation-request/index.vue

+ 3 - 3
src/pages/cargo-consolidation-request/index.vue

@@ -378,7 +378,7 @@
         >
           <template #default="scope">
             <el-input
-              v-model="scope.row.Sales_Person"
+              v-model="scope.row.Requester.name"
               size="small"
               disabled
             ></el-input>
@@ -391,7 +391,7 @@
         >
           <template #default="scope">
             <el-input
-              v-model="scope.row.Requester.name"
+              v-model="scope.row.Sales_Person"
               size="small"
               disabled
             ></el-input>
@@ -707,7 +707,7 @@ const generateSubList = () => {
         (i: any) =>
           i.Parent_Id.id === currentRow.value.id &&
           (currentTab.value === 'my_request'
-            ? i.Requester.id === currentUser.value
+            ? i.Sales_Person === currentUserName.value
             : true),
       )
       .map((i: any) => ({