cz 1 ano atrás
pai
commit
185ea24bfa

+ 21 - 6
src/components/PDF/jxstContractPDF.vue

@@ -71,15 +71,30 @@
           </tr>
         </table>
         <div>
-          <div style="margin-top: 8px">
-            1、交货期:{{ pdfData.deliveryDateRemark }}
+          <div style="margin-top: 8px; display: flex; align-items: end">
+            <span> 1、交货期:</span>
+            <div style="border-bottom: 1px solid #000; flex: 1">
+              {{ pdfData.deliveryDateRemark }}
+            </div>
           </div>
-          <div style="margin-top: 8px">
-            2、付款方式:{{ pdfData.payMethodRemark }}
+          <div style="margin-top: 8px; display: flex; align-items: end">
+            <span> 2、付款方式: </span>
+            <div style="border-bottom: 1px solid #000; flex: 1">
+              {{ pdfData.payMethodRemark }}
+            </div>
+          </div>
+          <div style="margin-top: 8px; display: flex; align-items: end">
+            <span>3、备注:</span>
+            <div style="border-bottom: 1px solid #000; flex: 1">
+              {{ pdfData.remark }}
+            </div>
           </div>
-          <div style="margin-top: 8px">3、备注:{{ pdfData.remark }}</div>
           <div style="margin-top: 8px">
-            4、运费由{{ pdfData.freightPayer == "0" ? "甲方" : "乙方" }}支付。
+            4、运费由
+            <span style="border-bottom: 1px solid #000">{{
+              pdfData.freightPayer == "0" ? "甲方" : "乙方"
+            }}</span>
+            支付。甲方负责卸货,卸货当中产生的责任由甲方承担。
           </div>
           <div style="margin-top: 8px">
             5、如有质量问题,于货到一星期内以书面形式提出,机器于货到起保修一年(不含机器易损件及人为因素损坏),甲方不得自挪位设备,否则由此产生的一切后果由甲方承担。

+ 13 - 0
src/views/JXSK/production/workOrder/index.vue

@@ -650,6 +650,19 @@ const getDtlOne = (row) => {
       nextTick(() => {
         initSort();
       });
+      proxy
+        .post("/fileInfo/getList", { businessIdList: [row.id] })
+        .then((fileObj) => {
+          if (fileObj[row.id] && fileObj[row.id].length > 0) {
+            formData.dataOne.fileList = fileObj[row.id].map((item) => {
+              return {
+                raw: item,
+                name: item.fileName,
+                url: item.fileUrl,
+              };
+            });
+          }
+        });
     });
 };