邮寄验证企业审核
This commit is contained in:
@@ -70,6 +70,8 @@ const homePageStatistics = (param) => getAction('/statistics/principalPeople/fir
|
||||
const homePageDataStatistics = (param) => getAction('/home/dataStatistics', param)
|
||||
// 系统催款
|
||||
const sysReminders = (param) => postAction('/reminders/edit', param)
|
||||
// 检测企业审核是否通过
|
||||
const checkCompanyAduit = (param) => getAction('/payMailContract/payMailContract/check', param)
|
||||
|
||||
export {
|
||||
getWorkingGroupById,
|
||||
@@ -106,5 +108,6 @@ export {
|
||||
checkoutWorkingGroupPrincipal,
|
||||
homePageStatistics,
|
||||
homePageDataStatistics,
|
||||
sysReminders
|
||||
sysReminders,
|
||||
checkCompanyAduit
|
||||
}
|
||||
|
||||
@@ -92,6 +92,7 @@ import IconImg from '@/assets/imgs/icon/xin.png'
|
||||
import MailContractModal from './modules/MailContractModal'
|
||||
import { downloadFile } from '@/api/manage'
|
||||
import SelectPrincipal from '@/components/company/SelectPrincipal'
|
||||
import { checkCompanyAduit } from '../../api/incomePaymentsApi'
|
||||
|
||||
export default {
|
||||
name: 'ContractMail',
|
||||
@@ -203,10 +204,19 @@ export default {
|
||||
const com = Number(record.sendMethod) === 1 && 'ems' || 'shunfeng'
|
||||
window.open(`https://www.kuaidi100.com/chaxun?com=${ com }&nu=${ record.postNo }`)
|
||||
},
|
||||
handleAdd: function (id) {
|
||||
this.$refs.modalForm.add(id)
|
||||
this.$refs.modalForm.title = '邮寄'
|
||||
this.$refs.modalForm.disableSubmit = false
|
||||
handleAdd (id) {
|
||||
let param = {
|
||||
id: id
|
||||
}
|
||||
checkCompanyAduit(param).then(res => {
|
||||
if (res.success) {
|
||||
this.$refs.modalForm.add(id)
|
||||
this.$refs.modalForm.title = '邮寄'
|
||||
this.$refs.modalForm.disableSubmit = false
|
||||
} else {
|
||||
this.$message.warn(res.message)
|
||||
}
|
||||
})
|
||||
},
|
||||
handleEdit: function (record) {
|
||||
this.$refs.modalForm.edit(record)
|
||||
|
||||
Reference in New Issue
Block a user