企业税号不显示问题
This commit is contained in:
parent
08ebfad92b
commit
cb4cc3bbe3
@ -93,3 +93,13 @@ export function batchImportEnterprise(data) {
|
|||||||
data: data
|
data: data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// 查询快递客户用户列表
|
||||||
|
export function listMonthUserAll(query) {
|
||||||
|
return request({
|
||||||
|
url: '/emis/emisCustomerUser/listMonthUserAll',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
})
|
||||||
|
}
|
||||||
@ -838,7 +838,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import { realMatchWaybill,getTotalAvailablePag } from "@/api/emis/emisCommon";
|
import { realMatchWaybill,getTotalAvailablePag } from "@/api/emis/emisCommon";
|
||||||
import { checkWaybillIsExists,getWaybillDetail,realSubmitOrder,calcWaybillFee,calcSetteldWeight,calcVolumeWeight} from "@/api/emis/emisWaybill";
|
import { checkWaybillIsExists,getWaybillDetail,realSubmitOrder,calcWaybillFee,calcSetteldWeight,calcVolumeWeight} from "@/api/emis/emisWaybill";
|
||||||
import { listMonthUser } from "@/api/emis/emisCustomerUser";
|
import { listMonthUser,listMonthUserAll } from "@/api/emis/emisCustomerUser";
|
||||||
import { parseTime } from "@/utils/custom";
|
import { parseTime } from "@/utils/custom";
|
||||||
import { debounce } from 'throttle-debounce'
|
import { debounce } from 'throttle-debounce'
|
||||||
import { getDestSite } from "@/api/emis/emisDestination";
|
import { getDestSite } from "@/api/emis/emisDestination";
|
||||||
@ -1719,7 +1719,7 @@ methods: {
|
|||||||
// });
|
// });
|
||||||
// 获取企业税号
|
// 获取企业税号
|
||||||
if(['2', '4', '5'].includes(this.form.paymentType)){ // 月结
|
if(['2', '4', '5'].includes(this.form.paymentType)){ // 月结
|
||||||
const res = await listMonthUser({monthlyPayCode: this.form.custNo ,pageNum: 1,pageSize: 1,customerType:2});
|
const res = await listMonthUserAll({monthlyPayCode: this.form.custNo ,pageNum: 1,pageSize: 1,customerType:2});
|
||||||
if(res.rows.length > 0){
|
if(res.rows.length > 0){
|
||||||
this.form.sender.enterpriseName = res.rows[0].enterpriseName;
|
this.form.sender.enterpriseName = res.rows[0].enterpriseName;
|
||||||
this.form.sender.enterpriseTaxId = res.rows[0].enterpriseTaxId;
|
this.form.sender.enterpriseTaxId = res.rows[0].enterpriseTaxId;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user