This commit is contained in:
linfso 2025-03-13 08:02:14 +08:00
parent 39b2d9498c
commit 0e6e2c0aeb
3 changed files with 57 additions and 3 deletions

View File

@ -64,6 +64,7 @@
@queryTable="getList"
@selection-change="handleSelectionChange"
@sort-change="handleSortChange"
@row-dblclick="handleShowBillList"
>
<div slot="toolbar">
@ -275,6 +276,21 @@ export default {
this.$modal.msgSuccess("已保存");
});
},
handleShowBillList(row){
let item0=row;
this.$router.push(
{
path: '/d24/waybillManagement/SendWaybillList',
query: {
action: "queryByCredit",
custNo: item0.monthlyPayCode,
startDate: item0.startDate,
endDate: item0.endDate,
'_t':(new Date()).getTime()
}
}
);
},
/** 搜索按钮操作 */
handleQuery() {

View File

@ -36,8 +36,8 @@
<XdTable v-loading="loading"
ref="refTable"
storageName="emisCreditSalesmenList_main_250309"
ref="refTable"
storageName="emisCreditSalesmenList_main_250309"
border stripe
size="small"
@ -48,6 +48,8 @@
@queryTable="getList"
@selection-change="handleSelectionChange"
@sort-change="handleSortChange"
@row-dblclick="handleShowBillList"
>
<div slot="toolbar">
@ -248,8 +250,23 @@ export default {
this.total = response.total;
this.loading = false;
});
},
},
handleShowBillList(row){
let item0=row;
this.$router.push(
{
path: '/d24/waybillManagement/SendWaybillList',
query: {
action: "queryByCredit",
salemen: item0.salemen,
startDate: item0.startDate,
endDate: item0.endDate,
'_t':(new Date()).getTime()
}
}
);
},
/** 搜索按钮操作 */
handleQuery() {
this.queryParams.pageNum = 1;

View File

@ -824,6 +824,27 @@ export default {
},
};
},
watch: {
$route () {
if(this.$route.action=='queryByCredit'){
if(this.$route.query.custNo!=null){
this.queryParams.custNo=this.$route.query.custNo;
}
if(this.$route.query.salesmen!=null){
this.queryParams.salesmen=this.$route.query.salesmen;
}
let startTime=this.$route.query.startDate;
let endTime=this.$route.query.endDate;
this.dateRange=[timeFormat(startTime), timeFormat(endTime)]
this.queryOrderType="1";
this.queryOrderDateType="1";
this.getList();
}
}
},
created() {
if(this.$store.getters.ownerSiteCode!='88888'){
this.queryParams.sendSiteCode=this.$store.getters.ownerSiteCode;