This commit is contained in:
linfso 2024-09-05 06:51:09 +08:00
parent 9e35dfc285
commit 6ed7c2be71
6 changed files with 62 additions and 28 deletions

View File

@ -60,30 +60,34 @@
<el-tag type="warning" v-if="settleBillItem.openBillStatus==2">部分开票</el-tag> <el-tag type="warning" v-if="settleBillItem.openBillStatus==2">部分开票</el-tag>
<el-tag type="warning" v-if="settleBillItem.openBillStatus==3">不开票</el-tag> <el-tag type="warning" v-if="settleBillItem.openBillStatus==3">不开票</el-tag>
</div> </div>
<!-- <div>最高可开票金额:<span style="color:red;font-weight:500;">{{ settleBillItem.recMoney }}</span>,已开票:<span style="color:blue;font-weight:500;"></span></div> --> <!--
<div>最高可开票金额:<span style="color:red;font-weight:500;">{{ settleBillItem.recMoney }}</span>,已开票:<span style="color:blue;font-weight:500;"></span></div>
-->
<div> <div>
<InvoiceChRecordListReadOnly :settleBillNo="settleBillNo" > </InvoiceChRecordListReadOnly> <InvoiceChRecordListReadOnly :settleBillNo="settleBillNo" > </InvoiceChRecordListReadOnly>
<!-- <InvoiceRecordList :settleBillNo="settleBillNo"> </InvoiceRecordList> --> <!-- <InvoiceRecordList :settleBillNo="settleBillNo"> </InvoiceRecordList> -->
</div> </div>
<!-- <!--
<div> <div>
<div>开票单号</div> <div>开票单号</div>
<div v-if="emisSettleInvoiceRecord!=null"> <div v-if="emisSettleInvoiceRecord!=null">
<ApplyInvoiceSubBillRelList :applySeqNo="emisSettleInvoiceRecord.applySeqNo" > </ApplyInvoiceSubBillRelList> <ApplyInvoiceSubBillRelList :applySeqNo="emisSettleInvoiceRecord.applySeqNo" > </ApplyInvoiceSubBillRelList>
</div> </div>
</div> --> </div>
-->
</div> </div>
<!-- <div style="margin-bottom:20px"> <!--
<div style="margin-bottom:20px">
<div style="font-weight:500;margin-bottom:20px"> <div style="font-weight:500;margin-bottom:20px">
子账单列表: 子账单列表:
</div> </div>
<div> <div>
<SubBillList :settleBillNo="settleBillNo"> </SubBillList> <SubBillList :settleBillNo="settleBillNo"> </SubBillList>
</div> </div>
</div> --> </div>
-->
</div> </div>
</template> </template>

View File

@ -44,6 +44,7 @@
<!-- <el-table-column :label="$t('发票申请序号')" align="center" prop="applySeqNo" width="100" /> --> <!-- <el-table-column :label="$t('发票申请序号')" align="center" prop="applySeqNo" width="100" /> -->
<!-- <el-table-column :label="$t('是否电子发票')" align="center" prop="blEcinv" width="100" /> --> <!-- <el-table-column :label="$t('是否电子发票')" align="center" prop="blEcinv" width="100" /> -->
<!-- <el-table-column :label="$t('申请开票类型')" align="center" prop="invoiceType" width="100" :show-overflow-tooltip="true" /> --> <!-- <el-table-column :label="$t('申请开票类型')" align="center" prop="invoiceType" width="100" :show-overflow-tooltip="true" /> -->
<el-table-column label="开票日期" align="center" prop="createTime" width="170"/>
<el-table-column :label="$t('开票类型')" align="center" prop="realInvoiceType" min-width="80" :show-overflow-tooltip="true" > <el-table-column :label="$t('开票类型')" align="center" prop="realInvoiceType" min-width="80" :show-overflow-tooltip="true" >
<template slot-scope="scope"> <template slot-scope="scope">
<dict-tag :options="dict.type.emis_invoice_ch_type" :value="scope.row.realInvoiceType" :show-overflow-tooltip="true" /> <dict-tag :options="dict.type.emis_invoice_ch_type" :value="scope.row.realInvoiceType" :show-overflow-tooltip="true" />

View File

@ -991,7 +991,7 @@ export default {
var qParam = {...this.queryParams}; var qParam = {...this.queryParams};
// 增加导出记录 // 增加导出记录
let postExportRecord={ let postExportRecord={
menuName: '中心运单查询', menuName: '中心问题件导出',
dateRange: qParam.params.beginSendDate+"~"+qParam.params.endSendDate, dateRange: qParam.params.beginSendDate+"~"+qParam.params.endSendDate,
} }
@ -1001,11 +1001,11 @@ export default {
this.exportData(this.selectionList,loadingInstance); this.exportData(this.selectionList,loadingInstance);
} }
else{ else{
this.initQueryParams(); let qExportParam=this.initQueryParams();
qExportParam.pageNum=1;
qExportParam.pageSize=20000;
qParam.pageNum=1; listEmisWaybill(qExportParam).then(response => {
qParam.pageSize=20000;
listEmisWaybill(qParam).then(response => {
if (response.code === 200) { if (response.code === 200) {
this.exportData(response.rows,loadingInstance); this.exportData(response.rows,loadingInstance);
} }
@ -1022,7 +1022,7 @@ export default {
excel.export_json_to_excel({ excel.export_json_to_excel({
header: tHeader, header: tHeader,
data, data,
filename: '中心运单列表', filename: '寄件运单列表',
autoWidth: true autoWidth: true
}) })
loadingInstance.close() loadingInstance.close()
@ -1041,6 +1041,15 @@ export default {
if (j === 'fjr') { if (j === 'fjr') {
return v['sendName']+'--'+v['receiveName']; return v['sendName']+'--'+v['receiveName'];
} }
if (j === 'custName') {
let paymentType=v['paymentType'];
if(paymentType==2 || paymentType==4 || paymentType==5 ){
return v['custName'];
}else{
return "";
}
}
if (j === 'sendMobile') { if (j === 'sendMobile') {
return ""; return "";
} }

View File

@ -967,8 +967,6 @@ export default {
this.$modal.msgSuccess("删除成功"); this.$modal.msgSuccess("删除成功");
}).catch(() => {}); }).catch(() => {});
}, },
/** 导出按钮操作 */
/** 导出按钮操作 */ /** 导出按钮操作 */
handleExport() { handleExport() {
const loadingInstance = this.$loading({ const loadingInstance = this.$loading({
@ -978,7 +976,7 @@ export default {
var qParam = {...this.queryParams}; var qParam = {...this.queryParams};
// 增加导出记录 // 增加导出记录
let postExportRecord={ let postExportRecord={
menuName: '派件运单查询', menuName: '派件运单查询导出',
dateRange: qParam.params.beginSendDate+"~"+qParam.params.endSendDate, dateRange: qParam.params.beginSendDate+"~"+qParam.params.endSendDate,
} }
@ -988,11 +986,11 @@ export default {
this.exportData(this.selectionList,loadingInstance); this.exportData(this.selectionList,loadingInstance);
} }
else{ else{
this.initQueryParams(); let qExportParam=this.initQueryParams();
qExportParam.pageNum=1;
qExportParam.pageSize=20000;
qParam.pageNum=1; listEmisWaybill(qExportParam).then(response => {
qParam.pageSize=20000;
listEmisWaybill(qParam).then(response => {
if (response.code === 200) { if (response.code === 200) {
this.exportData(response.rows,loadingInstance); this.exportData(response.rows,loadingInstance);
} }
@ -1009,7 +1007,7 @@ export default {
excel.export_json_to_excel({ excel.export_json_to_excel({
header: tHeader, header: tHeader,
data, data,
filename: '派件运单列表', filename: '寄件运单列表',
autoWidth: true autoWidth: true
}) })
loadingInstance.close() loadingInstance.close()
@ -1028,6 +1026,15 @@ export default {
if (j === 'fjr') { if (j === 'fjr') {
return v['sendName']+'--'+v['receiveName']; return v['sendName']+'--'+v['receiveName'];
} }
if (j === 'custName') {
let paymentType=v['paymentType'];
if(paymentType==2 || paymentType==4 || paymentType==5 ){
return v['custName'];
}else{
return "";
}
}
if (j === 'sendMobile') { if (j === 'sendMobile') {
return ""; return "";
} }

View File

@ -985,8 +985,8 @@ export default {
this.$modal.msgSuccess("删除成功"); this.$modal.msgSuccess("删除成功");
}).catch(() => {}); }).catch(() => {});
}, },
/** 导出按钮操作 */ /** 导出按钮操作 */
handleExport() { handleExport() {
const loadingInstance = this.$loading({ const loadingInstance = this.$loading({
text: '正在导出...' text: '正在导出...'
}) })
@ -1004,11 +1004,11 @@ export default {
this.exportData(this.selectionList,loadingInstance); this.exportData(this.selectionList,loadingInstance);
} }
else{ else{
this.initQueryParams(); let qExportParam=this.initQueryParams();
qExportParam.pageNum=1;
qExportParam.pageSize=20000;
qParam.pageNum=1; listEmisWaybill(qExportParam).then(response => {
qParam.pageSize=20000;
listEmisWaybill(qParam).then(response => {
if (response.code === 200) { if (response.code === 200) {
this.exportData(response.rows,loadingInstance); this.exportData(response.rows,loadingInstance);
} }
@ -1019,7 +1019,6 @@ export default {
const curList =selData const curList =selData
import('@/vendor/Export2Excel').then(excel => { import('@/vendor/Export2Excel').then(excel => {
const exportParam=this.$refs.refTable.getExportParam(); const exportParam=this.$refs.refTable.getExportParam();
const tHeader = exportParam.header; const tHeader = exportParam.header;
const filterVal = exportParam.filter; const filterVal = exportParam.filter;
const data = this.formatJson(filterVal, curList, selData) const data = this.formatJson(filterVal, curList, selData)
@ -1035,6 +1034,7 @@ export default {
formatJson(filterVal, jsonData, resData) { formatJson(filterVal, jsonData, resData) {
let index = 0 let index = 0
return jsonData.map(v => filterVal.map(j => { return jsonData.map(v => filterVal.map(j => {
if (j === 'index') { if (j === 'index') {
return ++index return ++index
} }
@ -1044,6 +1044,15 @@ export default {
if (j === 'fjr') { if (j === 'fjr') {
return v['sendName']+'--'+v['receiveName']; return v['sendName']+'--'+v['receiveName'];
} }
if (j === 'custName') {
let paymentType=v['paymentType'];
if(paymentType==2 || paymentType==4 || paymentType==5 ){
return v['custName'];
}else{
return "";
}
}
if (j === 'sendMobile') { if (j === 'sendMobile') {
return ""; return "";
} }
@ -1098,6 +1107,7 @@ export default {
return v[j] return v[j]
})) }))
}, },
/** 列索引函数 */ /** 列索引函数 */
getIndex($index) { getIndex($index) {
return (this.queryParams.pageNum - 1) * this.queryParams.pageSize + $index + 1 return (this.queryParams.pageNum - 1) * this.queryParams.pageSize + $index + 1

View File

@ -1004,6 +1004,9 @@ data() {
// sendDate: [ // sendDate: [
// { required: true, message: "发货时间不能为空", trigger: "blur" } // { required: true, message: "发货时间不能为空", trigger: "blur" }
// ], // ],
destinationCode: [
{ required: true, message: "目的地不能为空", trigger: ["blur",'change'] }
],
dispatchUnderlingSiteCode: [ dispatchUnderlingSiteCode: [
{ required: true, message: "目的地网点代码不能为空", trigger: "blur" } { required: true, message: "目的地网点代码不能为空", trigger: "blur" }
], ],
@ -1021,7 +1024,7 @@ data() {
], ],
operateEmployeeCode: [ operateEmployeeCode: [
{ required: true, message: "操作员代码不能为空", trigger: ["blur",'change'] } { required: true, message: "操作员代码不能为空", trigger: ["blur",'change'] }
], ]
} }
}; };
}, },