Explorar el Código

销售出库打印标题修改为单选

wangzhuo hace 1 año
padre
commit
35936ab019
Se han modificado 1 ficheros con 11 adiciones y 6 borrados
  1. 11 6
      src/views/purchaseIssue/index.vue

+ 11 - 6
src/views/purchaseIssue/index.vue

@@ -116,11 +116,19 @@
     ></approval-comments>
     <div class="print_div">
       <el-dialog
+        :title="`打印${reverse}`"
         :visible.sync="dialogVisible"
         :fullscreen="true"
         width="70%"
-        style="background-color: #1c84c6"
+        style="background-color: #1c84c6;padding: 0;margin:0;"
       >
+        <div style="margin-bottom: 5px">
+          标题切换:
+          <el-radio-group v-model="reverse">
+            <el-radio label="出库单">出库单</el-radio>
+            <el-radio label="送货单">送货单</el-radio>
+          </el-radio-group>
+        </div>
         <div ref="print" style="color: #000000">
           <div v-if="formList.fsbuName === '青岛安品餐饮服务有限公司'">
             <h1 style="text-align: center; font-weight: bold">
@@ -165,7 +173,7 @@
           </div>
           <div v-else-if="formList.fsbuName === '青岛安品餐饮管理有限公司'">
             <h1 style="text-align: center; font-weight: bold">
-              {{ formList.fsbuName }}-送货单
+              {{ formList.fsbuName }}-{{ reverse }}
             </h1>
             <div
               style="
@@ -538,6 +546,7 @@ export default {
   name: "index",
   data() {
     return {
+      reverse: '出库单',
       form: {},
       before: "",
       hasPermi: {
@@ -2382,10 +2391,6 @@ export default {
   z-index: 2;
 }
 
-.print_div ::v-deep .el-dialog__header {
-  padding: 0;
-}
-
 .print_div ::v-deep .el-dialog__body {
   padding: 0 20px;
 }