|
@@ -146,10 +146,26 @@
|
|
|
<span class="link-bule" v-else>--</span>
|
|
|
</div>
|
|
|
</template>
|
|
|
+ <!-- 收款打印状态 -->
|
|
|
+ <template slot="note" slot-scope="text, record">
|
|
|
+ <span v-if="record.printStatus!='NO_PRINT'&&record.printStatus!='PRINT'">{{record.printStatusDictValue}}</span>
|
|
|
+ <span @click="handlePrint(record)" class="link-bule" v-else>{{record.printStatusDictValue}}</span>
|
|
|
+ </template>
|
|
|
+ <!-- 备注 -->
|
|
|
+ <template slot="note" slot-scope="text, record">
|
|
|
+ <div @click="handleNote(record)">
|
|
|
+ <span v-if="record.explainInfo" class="link-bule">备注可修改</span>
|
|
|
+ <span class="link-bule" v-else>--</span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
</s-table>
|
|
|
</a-spin>
|
|
|
<!-- 开票日期弹窗 -->
|
|
|
<invoiceModal v-drag :show="invoiceIsShow" :info="invoiceInfo" @cancel="invoiceIsShow=false"></invoiceModal>
|
|
|
+ <!-- 备注弹窗 -->
|
|
|
+ <noteModal v-drag :show="noteIsShow" :info="noteInfo" @cancel="noteIsShow=false"></noteModal>
|
|
|
+ <!-- 收款打印状态 -->
|
|
|
+ <printModal v-drag :show="printIsShow" :info="printInfo" @cancel="printIsShow=false"></printModal>
|
|
|
</a-card>
|
|
|
</template>
|
|
|
|
|
@@ -164,11 +180,13 @@ import { hdExportExcel } from '@/libs/exportExcel'
|
|
|
import employee from '../../expenseManagement/expenseReimbursement/employee.js'
|
|
|
import dealerSubareaScopeList from '@/views/common/dealerSubareaScopeList.vue'
|
|
|
import invoiceModal from './invoiceModal.vue'
|
|
|
+import noteModal from './noteModal.vue'
|
|
|
+import printModal from './printModal.vue'
|
|
|
import { financeBookDetailQueryPage, financeBookDetailExport, financeBookReportDetailCount } from '@/api/financeBook.js'
|
|
|
export default {
|
|
|
name: 'CollectionDetailStaticList',
|
|
|
mixins: [commonMixin],
|
|
|
- components: { STable, VSelect, rangeDate, employee, dealerSubareaScopeList, subarea, Area,invoiceModal },
|
|
|
+ components: { STable, VSelect, rangeDate, employee, dealerSubareaScopeList, subarea, Area,invoiceModal,noteModal,printModal },
|
|
|
data () {
|
|
|
return {
|
|
|
spinning: false,
|
|
@@ -192,6 +210,8 @@ export default {
|
|
|
invoiceDateType:undefined
|
|
|
},
|
|
|
invoiceIsShow:false,
|
|
|
+ noteIsShow:false,
|
|
|
+ printIsShow:false,
|
|
|
disabled: false, // 查询、重置按钮是否可操作
|
|
|
receiptDate: [], // 收款时间
|
|
|
auditDate: [
|
|
@@ -241,7 +261,9 @@ export default {
|
|
|
}
|
|
|
],
|
|
|
bankNameList: [],
|
|
|
- invoiceInfo:null
|
|
|
+ invoiceInfo:null,
|
|
|
+ noteInfo:null,
|
|
|
+ printInfo:null
|
|
|
}
|
|
|
},
|
|
|
// 根据权限显示列表字段
|
|
@@ -267,8 +289,10 @@ export default {
|
|
|
{ title: '户名', dataIndex: 'bankAccount', align: 'center', width: '5%', customRender: function (text) { return text || '--' } },
|
|
|
{ title: '汇入银行', dataIndex: 'bankName', align: 'center', width: '5%', customRender: function (text) { return text || '--' } },
|
|
|
{ title: '足额打款', dataIndex: 'fullPaymentFlagDictValue', align: 'center', width: '5%',customRender: function (text) { return (text == 0 || text) ? text : '--' }},
|
|
|
+ { title: '说明', dataIndex: 'remarks', align: 'center', width: '8%', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
|
{ title: '开票日期', scopedSlots: { customRender: 'draftDate' },align: 'center', width: '8%'},
|
|
|
- { title: '备注', dataIndex: 'remarks', align: 'center', width: '8%', customRender: function (text) { return text || '--' }, ellipsis: true }
|
|
|
+ { title: '收款打印状态', scopedSlots: { customRender: 'printStatus' },align: 'center', width: '8%'},
|
|
|
+ { title: '备注', scopedSlots: { customRender: 'note' },align: 'center', width: '8%'},
|
|
|
]
|
|
|
return arr
|
|
|
}
|
|
@@ -357,7 +381,31 @@ export default {
|
|
|
this.$nextTick(()=>{
|
|
|
this.invoiceIsShow = true
|
|
|
})
|
|
|
- }
|
|
|
+ },
|
|
|
+ handleNote(info){
|
|
|
+ let obj={
|
|
|
+ no:info.bookNo,
|
|
|
+ payerName:info.dealerName,
|
|
|
+ id:info.id,
|
|
|
+ remarks:info.remarks
|
|
|
+ }
|
|
|
+ this.noteInfo=obj;
|
|
|
+ this.$nextTick(()=>{
|
|
|
+ this.noteIsShow = true
|
|
|
+ })
|
|
|
+ },
|
|
|
+ handlePrint(item){
|
|
|
+ let obj={
|
|
|
+ no:item.bookNo,
|
|
|
+ payerName:item.dealerName,
|
|
|
+ id:item.id,
|
|
|
+ printStatus:item.printStatus
|
|
|
+ }
|
|
|
+ this.printInfo=obj;
|
|
|
+ this.$nextTick(()=>{
|
|
|
+ this.printIsShow = true
|
|
|
+ })
|
|
|
+ },
|
|
|
},
|
|
|
watch: {
|
|
|
advanced (newValue, oldValue) {
|