md
This commit is contained in:
parent
9e35dfc285
commit
6ed7c2be71
@ -60,30 +60,34 @@
|
||||
<el-tag type="warning" v-if="settleBillItem.openBillStatus==2">部分开票</el-tag>
|
||||
<el-tag type="warning" v-if="settleBillItem.openBillStatus==3">不开票</el-tag>
|
||||
</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>
|
||||
<InvoiceChRecordListReadOnly :settleBillNo="settleBillNo" > </InvoiceChRecordListReadOnly>
|
||||
<!-- <InvoiceRecordList :settleBillNo="settleBillNo"> </InvoiceRecordList> -->
|
||||
</div>
|
||||
<!--
|
||||
<!--
|
||||
<div>
|
||||
<div>开票单号</div>
|
||||
<div v-if="emisSettleInvoiceRecord!=null">
|
||||
<ApplyInvoiceSubBillRelList :applySeqNo="emisSettleInvoiceRecord.applySeqNo" > </ApplyInvoiceSubBillRelList>
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
</div>
|
||||
-->
|
||||
|
||||
</div>
|
||||
|
||||
<!-- <div style="margin-bottom:20px">
|
||||
<!--
|
||||
<div style="margin-bottom:20px">
|
||||
<div style="font-weight:500;margin-bottom:20px">
|
||||
子账单列表:
|
||||
</div>
|
||||
<div>
|
||||
<SubBillList :settleBillNo="settleBillNo"> </SubBillList>
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
-->
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
@ -44,6 +44,7 @@
|
||||
<!-- <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="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" >
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.emis_invoice_ch_type" :value="scope.row.realInvoiceType" :show-overflow-tooltip="true" />
|
||||
|
||||
@ -991,7 +991,7 @@ export default {
|
||||
var qParam = {...this.queryParams};
|
||||
// 增加导出记录
|
||||
let postExportRecord={
|
||||
menuName: '中心运单查询',
|
||||
menuName: '中心问题件导出',
|
||||
dateRange: qParam.params.beginSendDate+"~"+qParam.params.endSendDate,
|
||||
}
|
||||
|
||||
@ -1001,11 +1001,11 @@ export default {
|
||||
this.exportData(this.selectionList,loadingInstance);
|
||||
}
|
||||
else{
|
||||
this.initQueryParams();
|
||||
let qExportParam=this.initQueryParams();
|
||||
qExportParam.pageNum=1;
|
||||
qExportParam.pageSize=20000;
|
||||
|
||||
qParam.pageNum=1;
|
||||
qParam.pageSize=20000;
|
||||
listEmisWaybill(qParam).then(response => {
|
||||
listEmisWaybill(qExportParam).then(response => {
|
||||
if (response.code === 200) {
|
||||
this.exportData(response.rows,loadingInstance);
|
||||
}
|
||||
@ -1022,7 +1022,7 @@ export default {
|
||||
excel.export_json_to_excel({
|
||||
header: tHeader,
|
||||
data,
|
||||
filename: '中心运单列表',
|
||||
filename: '寄件运单列表',
|
||||
autoWidth: true
|
||||
})
|
||||
loadingInstance.close()
|
||||
@ -1041,6 +1041,15 @@ export default {
|
||||
if (j === 'fjr') {
|
||||
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') {
|
||||
return "";
|
||||
}
|
||||
|
||||
@ -967,8 +967,6 @@ export default {
|
||||
this.$modal.msgSuccess("删除成功");
|
||||
}).catch(() => {});
|
||||
},
|
||||
|
||||
/** 导出按钮操作 */
|
||||
/** 导出按钮操作 */
|
||||
handleExport() {
|
||||
const loadingInstance = this.$loading({
|
||||
@ -978,7 +976,7 @@ export default {
|
||||
var qParam = {...this.queryParams};
|
||||
// 增加导出记录
|
||||
let postExportRecord={
|
||||
menuName: '派件运单查询',
|
||||
menuName: '派件运单查询导出',
|
||||
dateRange: qParam.params.beginSendDate+"~"+qParam.params.endSendDate,
|
||||
}
|
||||
|
||||
@ -988,11 +986,11 @@ export default {
|
||||
this.exportData(this.selectionList,loadingInstance);
|
||||
}
|
||||
else{
|
||||
this.initQueryParams();
|
||||
let qExportParam=this.initQueryParams();
|
||||
qExportParam.pageNum=1;
|
||||
qExportParam.pageSize=20000;
|
||||
|
||||
qParam.pageNum=1;
|
||||
qParam.pageSize=20000;
|
||||
listEmisWaybill(qParam).then(response => {
|
||||
listEmisWaybill(qExportParam).then(response => {
|
||||
if (response.code === 200) {
|
||||
this.exportData(response.rows,loadingInstance);
|
||||
}
|
||||
@ -1009,7 +1007,7 @@ export default {
|
||||
excel.export_json_to_excel({
|
||||
header: tHeader,
|
||||
data,
|
||||
filename: '派件运单列表',
|
||||
filename: '寄件运单列表',
|
||||
autoWidth: true
|
||||
})
|
||||
loadingInstance.close()
|
||||
@ -1028,6 +1026,15 @@ export default {
|
||||
if (j === 'fjr') {
|
||||
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') {
|
||||
return "";
|
||||
}
|
||||
|
||||
@ -985,8 +985,8 @@ export default {
|
||||
this.$modal.msgSuccess("删除成功");
|
||||
}).catch(() => {});
|
||||
},
|
||||
/** 导出按钮操作 */
|
||||
handleExport() {
|
||||
/** 导出按钮操作 */
|
||||
handleExport() {
|
||||
const loadingInstance = this.$loading({
|
||||
text: '正在导出...'
|
||||
})
|
||||
@ -1004,11 +1004,11 @@ export default {
|
||||
this.exportData(this.selectionList,loadingInstance);
|
||||
}
|
||||
else{
|
||||
this.initQueryParams();
|
||||
let qExportParam=this.initQueryParams();
|
||||
qExportParam.pageNum=1;
|
||||
qExportParam.pageSize=20000;
|
||||
|
||||
qParam.pageNum=1;
|
||||
qParam.pageSize=20000;
|
||||
listEmisWaybill(qParam).then(response => {
|
||||
listEmisWaybill(qExportParam).then(response => {
|
||||
if (response.code === 200) {
|
||||
this.exportData(response.rows,loadingInstance);
|
||||
}
|
||||
@ -1019,7 +1019,6 @@ export default {
|
||||
const curList =selData
|
||||
import('@/vendor/Export2Excel').then(excel => {
|
||||
const exportParam=this.$refs.refTable.getExportParam();
|
||||
|
||||
const tHeader = exportParam.header;
|
||||
const filterVal = exportParam.filter;
|
||||
const data = this.formatJson(filterVal, curList, selData)
|
||||
@ -1035,6 +1034,7 @@ export default {
|
||||
formatJson(filterVal, jsonData, resData) {
|
||||
let index = 0
|
||||
return jsonData.map(v => filterVal.map(j => {
|
||||
|
||||
if (j === 'index') {
|
||||
return ++index
|
||||
}
|
||||
@ -1044,6 +1044,15 @@ export default {
|
||||
if (j === 'fjr') {
|
||||
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') {
|
||||
return "";
|
||||
}
|
||||
@ -1098,6 +1107,7 @@ export default {
|
||||
return v[j]
|
||||
}))
|
||||
},
|
||||
|
||||
/** 列索引函数 */
|
||||
getIndex($index) {
|
||||
return (this.queryParams.pageNum - 1) * this.queryParams.pageSize + $index + 1
|
||||
|
||||
@ -1004,6 +1004,9 @@ data() {
|
||||
// sendDate: [
|
||||
// { required: true, message: "发货时间不能为空", trigger: "blur" }
|
||||
// ],
|
||||
destinationCode: [
|
||||
{ required: true, message: "目的地不能为空", trigger: ["blur",'change'] }
|
||||
],
|
||||
dispatchUnderlingSiteCode: [
|
||||
{ required: true, message: "目的地网点代码不能为空", trigger: "blur" }
|
||||
],
|
||||
@ -1021,7 +1024,7 @@ data() {
|
||||
],
|
||||
operateEmployeeCode: [
|
||||
{ required: true, message: "操作员代码不能为空", trigger: ["blur",'change'] }
|
||||
],
|
||||
]
|
||||
}
|
||||
};
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user