|
@@ -7,7 +7,7 @@
|
|
|
v-model="isShow"
|
|
|
:title="modalTit"
|
|
|
:bodyStyle="{padding: modalTit?'25px 32px 20px':'50px 32px 15px'}"
|
|
|
- @cancle="isShow=false"
|
|
|
+ @cancel="handleCommonCancel"
|
|
|
width="80%">
|
|
|
<a-spin :spinning="spinning" tip="Loading...">
|
|
|
<div class="common-main" v-if="detail">
|
|
@@ -65,15 +65,14 @@
|
|
|
</template>
|
|
|
</a-table>
|
|
|
</div>
|
|
|
+ <div class="btn-box">
|
|
|
+ <a-button @click="handleCommonCancel" v-if="isCancel">{{ cancelText }}</a-button>
|
|
|
+ <a-button :loading="spinning" type="primary" @click="handlePrint()">收款打印</a-button>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- <div class="btn-box">
|
|
|
- <a-button @click="handleCommonCancel" v-if="isCancel">{{ cancelText }}</a-button>
|
|
|
- <a-button :loading="spinning" type="primary" @click="handlePrint()">收款打印</a-button>
|
|
|
- </div>
|
|
|
-
|
|
|
<!-- 收款打印 -->
|
|
|
<commonModal
|
|
|
- modalTit="收款打印"
|
|
|
+ modalTit="收款打印预览"
|
|
|
bodyPadding="10px"
|
|
|
width="1024px"
|
|
|
:showFooter="false"
|
|
@@ -155,19 +154,13 @@ export default {
|
|
|
this.$nextTick(() => {
|
|
|
this.$refs.printModel.getData(this.detail, true)
|
|
|
})
|
|
|
- },
|
|
|
- // 删除
|
|
|
- handleDel (row) {
|
|
|
-
|
|
|
- },
|
|
|
- // 选择
|
|
|
- handleChoose (row) {
|
|
|
-
|
|
|
},
|
|
|
// 取消
|
|
|
handleCommonCancel () {
|
|
|
this.$emit('cancel')
|
|
|
this.detail = null
|
|
|
+ this.tableData = []
|
|
|
+ this.$refs.printModel.handleCommonCancel()
|
|
|
}
|
|
|
},
|
|
|
watch: {
|
|
@@ -188,6 +181,7 @@ export default {
|
|
|
<style lang="less">
|
|
|
.collection-detail-modal{
|
|
|
.common-main{
|
|
|
+ min-height:20vh;
|
|
|
.toolsBar{
|
|
|
display: flex;
|
|
|
align-items: center;
|