md
This commit is contained in:
parent
58bbd53ef5
commit
8efb339311
@ -119,7 +119,7 @@
|
|||||||
<dict-tag :options="dict.type.emis_biz_shipping_method" :value="scope.row.transType"/>
|
<dict-tag :options="dict.type.emis_biz_shipping_method" :value="scope.row.transType"/>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="状态" align="center" prop="blOpen" width="100">
|
<!-- <el-table-column label="状态" align="center" prop="blOpen" width="100">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-switch
|
<el-switch
|
||||||
v-model="scope.row.blOpen"
|
v-model="scope.row.blOpen"
|
||||||
@ -128,7 +128,7 @@
|
|||||||
@change="switchChange(scope.row)">
|
@change="switchChange(scope.row)">
|
||||||
</el-switch>
|
</el-switch>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column> -->
|
||||||
<el-table-column :label="$t('剩余额度')" align="center" prop="curMoney" min-width="100" >
|
<el-table-column :label="$t('剩余额度')" align="center" prop="curMoney" min-width="100" >
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.creditMoney - scope.row.useMoney }}
|
{{ scope.row.creditMoney - scope.row.useMoney }}
|
||||||
@ -280,7 +280,7 @@ export default {
|
|||||||
let item0=row;
|
let item0=row;
|
||||||
this.$router.push(
|
this.$router.push(
|
||||||
{
|
{
|
||||||
path: '/d24/waybillManagement/SendWaybillList',
|
path: '/d24/customerManagement/CreditSendWaybillList',
|
||||||
query: {
|
query: {
|
||||||
action: "queryByCredit",
|
action: "queryByCredit",
|
||||||
custNo: item0.monthlyPayCode,
|
custNo: item0.monthlyPayCode,
|
||||||
|
|||||||
@ -108,7 +108,7 @@
|
|||||||
<dict-tag :options="dict.type.emis_biz_shipping_method" :value="scope.row.transType"/>
|
<dict-tag :options="dict.type.emis_biz_shipping_method" :value="scope.row.transType"/>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="状态" align="center" prop="blOpen" width="100">
|
<!-- <el-table-column label="状态" align="center" prop="blOpen" width="100">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-switch
|
<el-switch
|
||||||
v-model="scope.row.blOpen"
|
v-model="scope.row.blOpen"
|
||||||
@ -117,7 +117,7 @@
|
|||||||
@change="switchChange(scope.row)">
|
@change="switchChange(scope.row)">
|
||||||
</el-switch>
|
</el-switch>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column> -->
|
||||||
<el-table-column :label="$t('剩余额度')" align="center" prop="curMoney" min-width="100" >
|
<el-table-column :label="$t('剩余额度')" align="center" prop="curMoney" min-width="100" >
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.creditMoney - scope.row.useMoney }}
|
{{ scope.row.creditMoney - scope.row.useMoney }}
|
||||||
@ -256,7 +256,7 @@ export default {
|
|||||||
let item0=row;
|
let item0=row;
|
||||||
this.$router.push(
|
this.$router.push(
|
||||||
{
|
{
|
||||||
path: '/d24/waybillManagement/SendWaybillList',
|
path: '/d24/customerManagement/CreditSendWaybillList',
|
||||||
query: {
|
query: {
|
||||||
action: "queryByCredit",
|
action: "queryByCredit",
|
||||||
salesmen: item0.salesmen,
|
salesmen: item0.salesmen,
|
||||||
|
|||||||
@ -820,6 +820,7 @@ export default {
|
|||||||
queryTabType:"1",
|
queryTabType:"1",
|
||||||
querySendType:"1",
|
querySendType:"1",
|
||||||
blUploadGoodsPic:null,
|
blUploadGoodsPic:null,
|
||||||
|
settleType:null,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@ -829,16 +830,21 @@ export default {
|
|||||||
if(this.$route.query.action=='queryByCredit'){
|
if(this.$route.query.action=='queryByCredit'){
|
||||||
if(this.$route.query.custNo!=null){
|
if(this.$route.query.custNo!=null){
|
||||||
this.queryParams.custNo=this.$route.query.custNo;
|
this.queryParams.custNo=this.$route.query.custNo;
|
||||||
|
this.queryParams.paymentType='2,4,5';
|
||||||
}
|
}
|
||||||
|
|
||||||
if(this.$route.query.salesmen!=null){
|
if(this.$route.query.salesmen!=null){
|
||||||
this.queryParams.salesmen=this.$route.query.salesmen;
|
this.queryParams.salesmen=this.$route.query.salesmen;
|
||||||
|
this.queryParams.paymentType='1,3';
|
||||||
}
|
}
|
||||||
|
|
||||||
this.queryParams.paymentStatus='0';
|
this.queryParams.transType=this.$route.query.transType;
|
||||||
|
|
||||||
|
this.queryParams.paymentStatus='0,2';
|
||||||
this.queryParams.params.problemQueryType=2;
|
this.queryParams.params.problemQueryType=2;
|
||||||
this.queryParams.params.problemQueryIds="173,170,151";
|
this.queryParams.params.problemQueryIds="173,170,151";
|
||||||
|
|
||||||
|
|
||||||
let startTime=this.$route.query.startDate;
|
let startTime=this.$route.query.startDate;
|
||||||
let endTime=this.$route.query.endDate;
|
let endTime=this.$route.query.endDate;
|
||||||
this.dateRange=[timeFormat(startTime), timeFormat(endTime)]
|
this.dateRange=[timeFormat(startTime), timeFormat(endTime)]
|
||||||
@ -852,15 +858,20 @@ export default {
|
|||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
if(this.$route.query.action=='queryByCredit'){
|
if(this.$route.query.action=='queryByCredit'){
|
||||||
|
|
||||||
if(this.$route.query.custNo!=null){
|
if(this.$route.query.custNo!=null){
|
||||||
this.queryParams.custNo=this.$route.query.custNo;
|
this.queryParams.custNo=this.$route.query.custNo;
|
||||||
|
this.queryParams.paymentType='2,4,5';
|
||||||
}
|
}
|
||||||
|
|
||||||
if(this.$route.query.salesmen!=null){
|
if(this.$route.query.salesmen!=null){
|
||||||
this.queryParams.salesmen=this.$route.query.salesmen;
|
this.queryParams.salesmen=this.$route.query.salesmen;
|
||||||
|
this.queryParams.paymentType='1,3';
|
||||||
}
|
}
|
||||||
|
|
||||||
this.queryParams.paymentStatus='0';
|
this.queryParams.transType=this.$route.query.transType;
|
||||||
|
|
||||||
|
this.queryParams.paymentStatus='0,2';
|
||||||
this.queryParams.params.problemQueryType=2;
|
this.queryParams.params.problemQueryType=2;
|
||||||
this.queryParams.params.problemQueryIds="173,170,151";
|
this.queryParams.params.problemQueryIds="173,170,151";
|
||||||
|
|
||||||
|
|||||||
@ -138,6 +138,28 @@
|
|||||||
@click="handleDownPDF"
|
@click="handleDownPDF"
|
||||||
>下载pdf</el-button>
|
>下载pdf</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
<!-- v-hasPermi="['emis:emisWaybill:downCustBill']" -->
|
||||||
|
<el-col :span="1.5">
|
||||||
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
plain
|
||||||
|
size="mini"
|
||||||
|
:disabled="multiple"
|
||||||
|
@click="handleDownCustBillPDF"
|
||||||
|
v-hasPermi="['emis:emisWaybill:downCustBill']"
|
||||||
|
>下载客户账单(PDF)</el-button>
|
||||||
|
</el-col>
|
||||||
|
<!-- v-hasPermi="['emis:emisWaybill:downCustTaxBill']" -->
|
||||||
|
<el-col :span="1.5">
|
||||||
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
plain
|
||||||
|
size="mini"
|
||||||
|
:disabled="multiple"
|
||||||
|
@click="handleDownCustTaxBillPDF"
|
||||||
|
v-hasPermi="['emis:emisWaybill:downCustTaxBill']"
|
||||||
|
>下载税金账单(PDF)</el-button>
|
||||||
|
</el-col>
|
||||||
|
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
<TanexPrinterPanel ref="tanexPrinter" :isShowPinters="true" :isShowTpl="true" :isShowSubBillRange="true" @onPrint="handleBatchPrint"></TanexPrinterPanel>
|
<TanexPrinterPanel ref="tanexPrinter" :isShowPinters="true" :isShowTpl="true" :isShowSubBillRange="true" @onPrint="handleBatchPrint"></TanexPrinterPanel>
|
||||||
@ -525,6 +547,27 @@ export default {
|
|||||||
rowKey (row) {
|
rowKey (row) {
|
||||||
return row.id;
|
return row.id;
|
||||||
},
|
},
|
||||||
|
handleDownCustBillPDF() {
|
||||||
|
if(this.currentSelection&&this.currentSelection.length>0){
|
||||||
|
this.currentSelection.forEach(item=>{
|
||||||
|
this.download('emis/emisWaybill/exportCustBillTpl', {
|
||||||
|
billCode:item.billCode,
|
||||||
|
fileType:'pdf'
|
||||||
|
}, `${item.billCode}-custbill.pdf`)
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
handleDownCustTaxBillPDF() {
|
||||||
|
if(this.currentSelection&&this.currentSelection.length>0){
|
||||||
|
this.currentSelection.forEach(item=>{
|
||||||
|
this.download('emis/emisWaybill/exportCustTaxBillTpl', {
|
||||||
|
billCode:item.billCode,
|
||||||
|
fileType:'pdf'
|
||||||
|
}, `${item.billCode}-custTaxBill.pdf`)
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
handleBatchPrint(printCnt){
|
handleBatchPrint(printCnt){
|
||||||
this.$confirm("确定打印?", "提示", {
|
this.$confirm("确定打印?", "提示", {
|
||||||
cancelButtonText: "不打印",
|
cancelButtonText: "不打印",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user