|
@@ -419,7 +419,7 @@
|
|
<el-button type="primary" @click="submitDialogForm">确 定</el-button>
|
|
<el-button type="primary" @click="submitDialogForm">确 定</el-button>
|
|
</div>
|
|
</div>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
- <print-preview ref="preView" :add-print="addPrint" :get-oval-dateil="getOvalDateil" :get-new-detail-print-dis-string="getNewDetailPrintDisString" @initPrint="handleInitPrint" @refreshList="handleRefreshList" />
|
|
|
|
|
|
+ <print-preview ref="preView" :add-print="addPrint" :get-oval-dateil="getOvalDateil" :get-new-detail-print-dis-string="getNewDetailPrintDisString" @refreshTableSelection="refreshTableSelection" @initPrint="handleInitPrint" @refreshList="handleRefreshList" />
|
|
|
|
|
|
<!-- <PickupPrint :listItem="queryItem" v-if="isShowPrint" @backListFormDetail="backList" /> -->
|
|
<!-- <PickupPrint :listItem="queryItem" v-if="isShowPrint" @backListFormDetail="backList" /> -->
|
|
</div>
|
|
</div>
|
|
@@ -764,11 +764,13 @@ export default {
|
|
},
|
|
},
|
|
getOvalDateil() {
|
|
getOvalDateil() {
|
|
this.getDateil(this.tableSelection, 'getDtailPrintDis', this.check).then(res => {
|
|
this.getDateil(this.tableSelection, 'getDtailPrintDis', this.check).then(res => {
|
|
- this.tableSelection = []
|
|
|
|
this.$endLoading()
|
|
this.$endLoading()
|
|
this.$refs.preView.show(this.hiprintTemplate, this.outputData)
|
|
this.$refs.preView.show(this.hiprintTemplate, this.outputData)
|
|
})
|
|
})
|
|
},
|
|
},
|
|
|
|
+ refreshTableSelection() {
|
|
|
|
+ this.tableSelection = []
|
|
|
|
+ },
|
|
async getNewDetailPrintDisString() {
|
|
async getNewDetailPrintDisString() {
|
|
const params = []
|
|
const params = []
|
|
const len = this.tableSelection.length
|
|
const len = this.tableSelection.length
|
|
@@ -779,6 +781,7 @@ export default {
|
|
invoiceId: this.tableSelection[i - 1].invoiceId
|
|
invoiceId: this.tableSelection[i - 1].invoiceId
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
+ console.log(params, this.tableSelection)
|
|
return await getDetailPrintDisString(params)
|
|
return await getDetailPrintDisString(params)
|
|
},
|
|
},
|
|
// 关闭弹窗
|
|
// 关闭弹窗
|