huangyw 3 年 前
コミット
42cba68f1c
共有1 個のファイルを変更した97 個の追加10 個の削除を含む
  1. 97 10
      src/xt_pages/supply/components/purchaseOrderPrint.vue

+ 97 - 10
src/xt_pages/supply/components/purchaseOrderPrint.vue ファイルの表示

@@ -106,17 +106,98 @@
106 106
               <div style="width: 100px">供应商签字:</div>
107 107
               <div style="width: 100px"><span></span></div>
108 108
             </div> -->
109
-            <div class="description">
110
-              <div class="content">折扣额:</div>
111
-              <div class="content">折扣金额:</div>
112
-              <div class="content">本次付款:</div>
113
-              <div class="content">本次欠款:</div>
114
-              <div class="content_1">备注:</div>
115
-              <div class="content">制单人:</div>
116
-              <div class="content">收货人签字:</div>
117
-              <div class="content">供应商签字:</div>
109
+          </div>
110
+          <div
111
+            style="
112
+              width: 100%;
113
+              display: flex;
114
+              flex: 1;
115
+              justify-content: flex-start;
116
+              flex-wrap: wrap;
117
+            "
118
+          >
119
+            <div
120
+              style="
121
+                width: 25%;
122
+                text-align: left;
123
+                margin-bottom: 1px;
124
+                font-size: 18px;
125
+              "
126
+            >
127
+              供应商:
128
+            </div>
129
+            <div
130
+              style="
131
+                width: 25%;
132
+                text-align: left;
133
+                margin-bottom: 1px;
134
+                font-size: 18px;
135
+              "
136
+            >
137
+              折扣金额:
138
+            </div>
139
+            <div
140
+              style="
141
+                width: 25%;
142
+                text-align: left;
143
+                margin-bottom: 1px;
144
+                font-size: 18px;
145
+              "
146
+            >
147
+              本次付款:
148
+            </div>
149
+            <div
150
+              style="
151
+                width: 25%;
152
+                text-align: left;
153
+                margin-bottom: 1px;
154
+                font-size: 18px;
155
+              "
156
+            >
157
+              本次欠款:
158
+            </div>
159
+            <div
160
+              style="
161
+                width: 100%;
162
+                text-align: left;
163
+                margin-bottom: 1px;
164
+                font-size: 18px;
165
+              "
166
+            >
167
+              备注:
168
+            </div>
169
+            <div
170
+              style="
171
+                width: 25%;
172
+                text-align: left;
173
+                margin-bottom: 1px;
174
+                font-size: 18px;
175
+              "
176
+            >
177
+              制单人:
178
+            </div>
179
+            <div
180
+              style="
181
+                width: 25%;
182
+                text-align: left;
183
+                margin-bottom: 1px;
184
+                font-size: 18px;
185
+              "
186
+            >
187
+              收货人签字:
188
+            </div>
189
+            <div
190
+              style="
191
+                width: 25%;
192
+                text-align: left;
193
+                margin-bottom: 1px;
194
+                font-size: 18px;
195
+              "
196
+            >
197
+              供应商签字:
118 198
             </div>
119 199
           </div>
200
+     
120 201
         </div>
121 202
       </div>
122 203
     </div>
@@ -177,7 +258,7 @@ export default {
177 258
     btnClickPrint: function () {
178 259
       let LODOP = getLodop(); //调用getLodop获取LODOP对象
179 260
       LODOP.PRINT_INIT("打印控件功能演示_Lodop功能_整页缩放打印输出");
180
-      
261
+
181 262
       LODOP.ADD_PRINT_BARCODE(15, 15, 300, 300, "QRCode", "xxxxxxxxxxxxx");
182 263
       LODOP.SET_PRINT_STYLEA(0, "Stretch", 1); //(可变形)扩展缩放模式
183 264
       LODOP.PREVIEW(); //预览(预览打印无脚标)
@@ -347,9 +428,15 @@ export default {
347 428
   flex-wrap: wrap;
348 429
   .content {
349 430
     width: 25%;
431
+    text-align: left;
432
+    margin-bottom: 1px;
433
+    font-size: 18px;
350 434
   }
351 435
   .content_1 {
352 436
     width: 100%;
437
+    text-align: left;
438
+    margin-bottom: 1px;
439
+    font-size: 18px;
353 440
   }
354 441
   // .content_2{
355 442
   //   width: 33%;