diff --git a/src/views/jhzxgl/sljhD.vue b/src/views/jhzxgl/sljhD.vue
index a49dc7d..e35db33 100644
--- a/src/views/jhzxgl/sljhD.vue
+++ b/src/views/jhzxgl/sljhD.vue
@@ -91,6 +91,7 @@
保存
打印
+ 直接打印
导出
@@ -360,6 +361,7 @@ import {
getydjhByid,
getKcAndSljh1,
slPrint,
+ slPrintD,
kcAdnSlBd1,
kcAdnSlBd2, slPrintqx, kcAdnSlBdQX
} from '@/api/jhzxgl/pgd'
@@ -1035,6 +1037,27 @@ export default {
}
},
+
+ printzj(){
+ if(this.queryParam.rqopt!=='03'){
+ return
+ }else {
+ this.$message({ message: '请在已打印中打印', type: 'warning' })
+ }
+ let selectRecords = this.$refs.xGrid.getCheckboxRecords()
+ if(selectRecords.length>0){
+ slPrintD(selectRecords).then(res=>{
+ this.sljhPrintData=res.data
+ console.log(this.sljhPrintData)
+ this.wgzyprintFlag=true
+ setTimeout(() => {
+ this.$print(this.$refs.print)
+ this.wgzyprintFlag = false
+ this.initList()
+ }, 50)
+ })
+ }
+ },
print(){
diff --git a/src/views/sjzx/bomwh.vue b/src/views/sjzx/bomwh.vue
index 608c17f..84ad14e 100644
--- a/src/views/sjzx/bomwh.vue
+++ b/src/views/sjzx/bomwh.vue
@@ -1023,9 +1023,11 @@ export default {
// this.xclqList=[],
// this.bctjList=[],
// this.xctjList=[],
- // this.tltList=[],
+ this.tltList=[],
+ this.tltList2=[],
// this.ljList=[],
this.tableupload=[],
+
this.$nextTick(() => {
// if (this.queryParam.dcch === ''|| this.queryParam.dcpl === '' ) {
// this.filedis=true
@@ -1240,6 +1242,7 @@ export default {
this.$message({ message: '导入成功', type: 'success' })
this.dialogVisible=false;
this.tableData=res.data.data;
+ this.tableupload=[]
// if (res.data.zt == "01") {
// this.$message({ message: '导入成功', type: 'success' })
// this.dialogVisible=false;