Commit be4f635b by linjinhong

预览视图不可打印

parent 2e41b556
...@@ -73,6 +73,10 @@ export default { ...@@ -73,6 +73,10 @@ export default {
default: false, default: false,
type: Boolean, type: Boolean,
}, },
isDisabled: {
default: false,
type: Boolean,
},
byPlatenSize: { byPlatenSize: {
default: 0, default: 0,
type: Number, type: Number,
...@@ -967,6 +971,7 @@ export default { ...@@ -967,6 +971,7 @@ export default {
</div> </div>
<el-button <el-button
@click="getPrintCmd" @click="getPrintCmd"
:disabled="isDisabled"
type="primary" type="primary"
style="width: 98%; height: 50px" style="width: 98%; height: 50px"
>打印 >打印
......
...@@ -1327,6 +1327,7 @@ export default { ...@@ -1327,6 +1327,7 @@ export default {
</div> </div>
</div> </div>
<print-dialog <print-dialog
:isDisabled="isView"
:visible="printDialogShow" :visible="printDialogShow"
:imgList="imgList" :imgList="imgList"
:byPlatenSize="gridWH.v" :byPlatenSize="gridWH.v"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment