瀏覽代碼

单证报关单添加样式

cz 1 年之前
父節點
當前提交
5e78b394ff
共有 1 個文件被更改,包括 11 次插入8 次删除
  1. 11 8
      src/views/salesMange/shipmentMange/document/index.vue

+ 11 - 8
src/views/salesMange/shipmentMange/document/index.vue

@@ -2268,9 +2268,9 @@ const changeContract = (val) => {
     } else {
       formData.data.documentsProductList = [];
     }
-    proxy.post('/contract/detail',{id:val}).then(res=>{
-      formData.data.countryId = res.buyCountryId
-    })
+    proxy.post("/contract/detail", { id: val }).then((res) => {
+      formData.data.countryId = res.buyCountryId;
+    });
   } else {
     formData.data.documentsProductList = [];
   }
@@ -2502,11 +2502,11 @@ const clickSave = () => {
     textShow.value = true;
     let data = proxy.deepClone(printCustomsDeclaration.value);
     data.content = JSON.stringify(data.content);
-    proxy.post("/documentsPdf/add", data).then((res)=>{
-       ElMessage({
-          message: "保存成功",
-          type: "success",
-        });
+    proxy.post("/documentsPdf/add", data).then((res) => {
+      ElMessage({
+        message: "保存成功",
+        type: "success",
+      });
     });
   }
 };
@@ -2602,6 +2602,7 @@ const getAllMoney = (num) => {
   line-height: 18px;
   border-right: 1px solid black;
   border-bottom: 1px solid black;
+  padding: 4px;
 }
 .two {
   width: 100%;
@@ -2616,12 +2617,14 @@ const getAllMoney = (num) => {
   border-right: 1px solid black;
   border-bottom: 1px solid black;
   background-color: #dce6f1;
+  padding: 4px;
 }
 .two td {
   border: 0;
   line-height: 18px;
   border-right: 1px solid black;
   border-bottom: 1px solid black;
+  padding: 4px;
 }
 :deep(#pdfDom .el-textarea__inner) {
   background: transparent !important;