Selaa lähdekoodia

fix: 弹窗增加属性:append-to-body="true"

zh 2 vuotta sitten
vanhempi
commit
780c4aa610

+ 3 - 3
src/views/finance/receivable_list.vue

@@ -59,7 +59,7 @@ export default {
             {
               name: '打印发货单',
               click: () => {
-                if (!this.tableSelection.length) {
+                if (!this.recordSelected.length) {
                   this.$message.info('请选择数据!')
                   return
                 }
@@ -323,7 +323,7 @@ export default {
       hiprint.init()
       this.hiprintTemplate = new hiprint.PrintTemplate()
       // 兼容批量打印
-      let params = !type ? this.tableSelection : [row.id]
+      let params = !type ? this.recordSelected : [row.id]
       let len = params.length
       let loadingLen = len
       // 使用 i-- 提升for效率
@@ -424,7 +424,7 @@ export default {
             </table>
           </div>
           <div style="margin:100px 0 0 0">
-            <div>打印</div>
+            <div></div>
           </div>
        </div>
       `

+ 1 - 1
src/views/supply/deliver/components/apply_return_form.vue

@@ -205,7 +205,7 @@
       </div>
     </div>
 
-    <el-dialog title="添加引用" :visible.sync="isShowDialog" width="80%">
+    <el-dialog title="添加引用" :visible.sync="isShowDialog" width="80%" :append-to-body="true">
       <el-form ref="screenForm" :model="screenForm" size="mini" label-position="left" label-width="100px">
         <el-row :gutter="20">
           <el-col :xs="12" :sm="6" :lg="6">

+ 1 - 1
src/views/supply/deliver/components/engin_return_form.vue

@@ -268,7 +268,7 @@
       </div>
     </div>
 
-    <el-dialog title="添加引用" :visible.sync="isShowDialog" width="80%">
+    <el-dialog title="添加引用" :visible.sync="isShowDialog" width="80%" :append-to-body="true">
       <el-form ref="screenForm" :model="screenForm" size="mini" label-position="left" label-width="100px">
         <el-row :gutter="20">
           <el-col :xs="12" :sm="12" :lg="6">

+ 1 - 1
src/views/supply/retail/components/retail_form.vue

@@ -323,7 +323,7 @@
       </div>
     </div>
 
-    <el-dialog v-drag title="添加产品" :visible.sync="isShowDialog" width="80%" :modal="false">
+    <el-dialog v-drag title="添加产品" :visible.sync="isShowDialog" width="80%" :modal="false" :append-to-body="true">
       <el-form ref="screenForm" :model="screenForm" size="small" label-position="left">
         <el-row :gutter="20">
           <el-col :xs="12" :sm="6" :lg="6">

+ 1 - 1
src/views/supply/sales/components/sales_return_form.vue

@@ -194,7 +194,7 @@
       </div>
     </div>
 
-    <el-dialog title="添加产品" :visible.sync="isShowDialog" width="80%">
+    <el-dialog title="添加产品" :visible.sync="isShowDialog" width="80%" :append-to-body="true">
       <el-form ref="screenForm" :model="screenForm" size="mini" label-position="left" label-width="100px">
         <el-row :gutter="20">
           <el-col :xs="12" :sm="6" :lg="6">