Bläddra i källkod

外销跟单完善

cz 1 år sedan
förälder
incheckning
96fac75407
1 ändrade filer med 24 tillägg och 13 borttagningar
  1. 24 13
      src/views/EHSD/saleContract/exportTracking/index.vue

+ 24 - 13
src/views/EHSD/saleContract/exportTracking/index.vue

@@ -44,7 +44,7 @@
             v-for="(product, index) in item.contractProductList"
             :key="index"
           >
-            {{ product.tradeMethods }}
+            {{ dictValueLabel(product.tradeMethods, tradeMethods) }}
           </div>
         </div>
       </template>
@@ -128,6 +128,12 @@
         </div>
       </template>
 
+      <template #balanceMoney="{ item }">
+        <div style="width: 100%">
+          {{ moneyFormat(item.finalPayment, 2) }}
+        </div>
+      </template>
+
       <!-- 动态插槽 -->
       <template
         v-for="(documentary, index) in contractDocumentary"
@@ -233,11 +239,7 @@
         >
       </div>
       <el-timeline>
-        <el-timeline-item
-          v-for="(activity, index) in recordsData"
-          :key="index"
-          :timestamp="activity.timestamp"
-        >
+        <el-timeline-item v-for="(activity, index) in recordsData" :key="index">
           <div
             style="
               width: 100%;
@@ -409,7 +411,7 @@ const config = computed(() => {
       attrs: {
         label: "客户",
         slot: "customer",
-        "min-width": 160,
+        "min-width": 140,
         fixed: "left",
       },
     },
@@ -417,7 +419,7 @@ const config = computed(() => {
       attrs: {
         label: "产品",
         slot: "contractProduct",
-        "min-width": 140,
+        "min-width": 160,
       },
     },
     {
@@ -441,7 +443,7 @@ const config = computed(() => {
       attrs: {
         label: "定金到账时间",
         prop: "claimTime",
-        width: 155,
+        width: 160,
       },
     },
     {
@@ -460,16 +462,16 @@ const config = computed(() => {
     },
     {
       attrs: {
-        label: "订单号",
+        label: "采购订单号",
         slot: "purchaseCode",
-        "min-width": 180,
+        width: 160,
       },
     },
     {
       attrs: {
         label: "供应商",
         slot: "supplyName",
-        width: 150,
+        "min-width": 140,
       },
     },
     {
@@ -539,6 +541,15 @@ const getDict = () => {
         });
       }
     }
+    let attrs = {
+      label: "尾款金额",
+      slot: "balanceMoney",
+      isNeedHeaderSlot: false,
+      width: 120,
+    };
+    config.value.push({
+      attrs,
+    });
   });
 };
 const getList = async (req) => {
@@ -619,7 +630,7 @@ const handleClickLookRemarks = (row) => {
     })
     .then((fileObj) => {
       if (fileObj[id] && fileObj[id].length > 0) {
-        formData.filesFormData.fileList = fileObj[id]
+        formData.remarksFormData.remarkFileList = fileObj[id]
           .filter((x) => x.businessType === "30")
           .map((x) => ({ raw: x, name: x.fileName, url: x.fileUrl }));
       }