|
@@ -57,6 +57,7 @@
|
|
|
<span v-if="scope.row.Type=='4'" style="color:#E6A23C">信息变更-{{scope.row.TaskName}}</span>
|
|
<span v-if="scope.row.Type=='4'" style="color:#E6A23C">信息变更-{{scope.row.TaskName}}</span>
|
|
|
<span v-if="scope.row.Type=='5'" style="color:#E6A23C">企业注册-待审批</span>
|
|
<span v-if="scope.row.Type=='5'" style="color:#E6A23C">企业注册-待审批</span>
|
|
|
<span v-if="scope.row.Type=='7'" style="color:#E6A23C">准入-{{scope.row.TaskName}}</span>
|
|
<span v-if="scope.row.Type=='7'" style="color:#E6A23C">准入-{{scope.row.TaskName}}</span>
|
|
|
|
|
+ <span v-if="scope.row.Type=='8'" style="color:#E6A23C">发票</span>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
|
|
|
@@ -123,6 +124,7 @@
|
|
|
<span v-if="scope.row.Type=='3'" style="color:#E6A23C">年审-{{scope.row.TaskName}}</span>
|
|
<span v-if="scope.row.Type=='3'" style="color:#E6A23C">年审-{{scope.row.TaskName}}</span>
|
|
|
<span v-if="scope.row.Type=='4'" style="color:#E6A23C">信息变更-{{scope.row.TaskName}}</span>
|
|
<span v-if="scope.row.Type=='4'" style="color:#E6A23C">信息变更-{{scope.row.TaskName}}</span>
|
|
|
<span v-if="scope.row.Type=='5'" style="color:#E6A23C">企业注册-待审批</span>
|
|
<span v-if="scope.row.Type=='5'" style="color:#E6A23C">企业注册-待审批</span>
|
|
|
|
|
+ <span v-if="scope.row.Type=='8'" style="color:#E6A23C">发票</span>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
<el-table-column label="类别" prop="SupplierTypeCode">
|
|
<el-table-column label="类别" prop="SupplierTypeCode">
|
|
@@ -258,6 +260,69 @@
|
|
|
<el-button type="primary" size="mini" @click="ComAudit" v-if="formData.CheckStatus == 0">审核</el-button>
|
|
<el-button type="primary" size="mini" @click="ComAudit" v-if="formData.CheckStatus == 0">审核</el-button>
|
|
|
</div>
|
|
</div>
|
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
|
+ <el-dialog title="待开发票" :visible.sync="invoiceVisible">
|
|
|
|
|
+ <el-card class="box-card">
|
|
|
|
|
+ <div slot="header">
|
|
|
|
|
+ <span>
|
|
|
|
|
+ <i class="icon icon-table2"></i> 待开发票
|
|
|
|
|
+ </span>
|
|
|
|
|
+ <span style="float: right;">
|
|
|
|
|
+ <el-form ref="form" :inline="true" style="margin-top: -10px">
|
|
|
|
|
+ <el-form-item>
|
|
|
|
|
+ <el-button type="primary" size="mini" style="margin-right: 15px" @click="confirmIsInvoice()" v-if="this.formDataInvoice.IsInvoice == '0'">确认</el-button>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-form>
|
|
|
|
|
+ </span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="table-layout" style="margin-top: 0px">
|
|
|
|
|
+ <el-row>
|
|
|
|
|
+ <el-col :span="6" class="table-cell-title">单位名称</el-col>
|
|
|
|
|
+ <el-col :span="6" class="table-cell-title">税号</el-col>
|
|
|
|
|
+ <el-col :span="12" class="table-cell-title">注册地址</el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+
|
|
|
|
|
+ <el-row>
|
|
|
|
|
+ <el-col :span="6" class="table-cell">{{this.formDataInvoice.SupplierName}}</el-col>
|
|
|
|
|
+ <el-col :span="6" class="table-cell">{{this.formDataInvoice.CommercialNo}}</el-col>
|
|
|
|
|
+ <el-col :span="12" class="table-cell">{{this.formDataInvoice.Address}}</el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+ <el-row>
|
|
|
|
|
+ <el-col :span="12" class="table-cell-title">开户银行</el-col>
|
|
|
|
|
+ <el-col :span="12" class="table-cell-title">银行账号</el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+
|
|
|
|
|
+ <el-row>
|
|
|
|
|
+ <el-col :span="12" class="table-cell">{{this.formDataInvoice.DepositBank}}</el-col>
|
|
|
|
|
+ <el-col :span="12" class="table-cell">{{this.formDataInvoice.BankAccount}}</el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </el-card>
|
|
|
|
|
+ <el-card class="box-card" style="margin-top: 5px"> <!--v-if="entityList && entityList.length > 0"-->
|
|
|
|
|
+ <div slot="header">
|
|
|
|
|
+ <span>
|
|
|
|
|
+ <span style="font-weight: bold;">
|
|
|
|
|
+ 金额合计: <font color="red">{{this.formDataInvoice.Amount}} 元</font>
|
|
|
|
|
+ </span>
|
|
|
|
|
+ </span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <el-table :data="paymentinfoList" size="mini" border style="width: 100%">
|
|
|
|
|
+ <!--<el-table-column sortable min-width="120" align="center" show-overflow-tooltip prop="SupplierName" label="企业名称"></el-table-column>-->
|
|
|
|
|
+ <el-table-column sortable min-width="120" align="center" show-overflow-tooltip prop="SupplierTypeName" label="项目类型"></el-table-column>
|
|
|
|
|
+ <el-table-column sortable min-width="120" align="center" show-overflow-tooltip prop="PayType" label="交费类型">
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
|
+ {{ transferStr(scope.row.PayType) }}
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ <el-table-column sortable min-width="120" align="center" show-overflow-tooltip prop="Amount" label="交费金额">
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ <el-table-column prop="CreateOn" sortable min-width="150" label="交费时间" align="center" show-overflow-tooltip>
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
|
+ {{ jstimehandle(scope.row.PayDate) }}
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ </el-table>
|
|
|
|
|
+ </el-card>
|
|
|
|
|
+ </el-dialog>
|
|
|
<el-dialog title="审核" :visible.sync="Auditshow">
|
|
<el-dialog title="审核" :visible.sync="Auditshow">
|
|
|
<el-form :model="shenheForm" label-width="100px" ref="shenheForm">
|
|
<el-form :model="shenheForm" label-width="100px" ref="shenheForm">
|
|
|
<el-form-item label="审核状态">
|
|
<el-form-item label="审核状态">
|
|
@@ -306,6 +371,7 @@
|
|
|
bigUrl: '',
|
|
bigUrl: '',
|
|
|
Auditshow: false,
|
|
Auditshow: false,
|
|
|
dialogVisible: false,
|
|
dialogVisible: false,
|
|
|
|
|
+ invoiceVisible: false,
|
|
|
legalPersonImgVisible: false,
|
|
legalPersonImgVisible: false,
|
|
|
tabindex: '',
|
|
tabindex: '',
|
|
|
activeName: 'first',
|
|
activeName: 'first',
|
|
@@ -407,6 +473,18 @@
|
|
|
LinkZipCode: '',
|
|
LinkZipCode: '',
|
|
|
HseTraining: ''
|
|
HseTraining: ''
|
|
|
},
|
|
},
|
|
|
|
|
+ formDataInvoice: {
|
|
|
|
|
+ Id: '',
|
|
|
|
|
+ SrcIds: '',
|
|
|
|
|
+ IsInvoice: '',
|
|
|
|
|
+ SupplierName: '',
|
|
|
|
|
+ CommercialNo: '',
|
|
|
|
|
+ Address: '',
|
|
|
|
|
+ DepositBank: '',
|
|
|
|
|
+ BankAccount: '',
|
|
|
|
|
+ Amount: ''
|
|
|
|
|
+ },
|
|
|
|
|
+ paymentinfoList: [],
|
|
|
entityListtode: [],
|
|
entityListtode: [],
|
|
|
entityListdone: []
|
|
entityListdone: []
|
|
|
}
|
|
}
|
|
@@ -418,6 +496,29 @@
|
|
|
this.initDatas()
|
|
this.initDatas()
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ confirmIsInvoice () {
|
|
|
|
|
+ let params = {
|
|
|
|
|
+ Id: this.formDataInvoice.Id,
|
|
|
|
|
+ SrcIds: this.formDataInvoice.SrcIds
|
|
|
|
|
+ }
|
|
|
|
|
+ api.updateIsInvoice(params, this.$axios).then(res => {
|
|
|
|
|
+ if (res.data.code === 0) {
|
|
|
|
|
+ this.$message({
|
|
|
|
|
+ type: 'success',
|
|
|
|
|
+ message: res.data.message
|
|
|
|
|
+ })
|
|
|
|
|
+ // 关闭dialog
|
|
|
|
|
+ this.invoiceVisible = false
|
|
|
|
|
+ // 更新列表
|
|
|
|
|
+ this.initDatas()
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.$message({
|
|
|
|
|
+ type: 'warning',
|
|
|
|
|
+ message: res.data.message
|
|
|
|
|
+ })
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
initDatas () {
|
|
initDatas () {
|
|
|
// 分页及列表条件
|
|
// 分页及列表条件
|
|
|
let myCreateOn = []
|
|
let myCreateOn = []
|
|
@@ -506,7 +607,21 @@
|
|
|
SupplierType = 'techedit'
|
|
SupplierType = 'techedit'
|
|
|
}
|
|
}
|
|
|
this.$router.push('oilsupplier/supplierstorage/' + val.Id + '/' + SupplierType + '?certid=' + val.CertId)
|
|
this.$router.push('oilsupplier/supplierstorage/' + val.Id + '/' + SupplierType + '?certid=' + val.CertId)
|
|
|
|
|
+ } else if (val.Type === '8') {
|
|
|
|
|
+ this.initInvoiceDatas(val.Id)
|
|
|
|
|
+ this.invoiceVisible = true
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ initInvoiceDatas (Id) {
|
|
|
|
|
+ let params = {
|
|
|
|
|
+ Id: Id
|
|
|
}
|
|
}
|
|
|
|
|
+ api.getInvoiceData(params, this.$axios).then(res => {
|
|
|
|
|
+ this.formDataInvoice = res.data.items['invoiceinfo']
|
|
|
|
|
+ this.paymentinfoList = res.data.items['paymentinfos']
|
|
|
|
|
+ }).catch(err => {
|
|
|
|
|
+ console.error(err)
|
|
|
|
|
+ })
|
|
|
},
|
|
},
|
|
|
bigImg (url) {
|
|
bigImg (url) {
|
|
|
this.bigUrl = url
|
|
this.bigUrl = url
|
|
@@ -712,6 +827,17 @@
|
|
|
return val
|
|
return val
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
+ transferStr (val) {
|
|
|
|
|
+ if (val === '1') {
|
|
|
|
|
+ return '准入交费'
|
|
|
|
|
+ } else if (val === '2') {
|
|
|
|
|
+ return '年审交费'
|
|
|
|
|
+ } else if (val === '3') {
|
|
|
|
|
+ return '增项交费'
|
|
|
|
|
+ } else {
|
|
|
|
|
+ return val
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
timestampToTime (val) {
|
|
timestampToTime (val) {
|
|
|
var date = new Date(val) // 时间戳为10位需*1000,时间戳为13位的话不需乘1000
|
|
var date = new Date(val) // 时间戳为10位需*1000,时间戳为13位的话不需乘1000
|
|
|
var Y = date.getFullYear() + '-'
|
|
var Y = date.getFullYear() + '-'
|
|
@@ -750,6 +876,14 @@
|
|
|
minute = minute < 10 ? ('0' + minute) : minute
|
|
minute = minute < 10 ? ('0' + minute) : minute
|
|
|
return y + '-' + m + '-' + d + ' ' + h + ':' + minute
|
|
return y + '-' + m + '-' + d + ' ' + h + ':' + minute
|
|
|
},
|
|
},
|
|
|
|
|
+ formatDateTimeymd (date) {
|
|
|
|
|
+ var y = date.getFullYear()
|
|
|
|
|
+ var m = date.getMonth() + 1
|
|
|
|
|
+ m = m < 10 ? ('0' + m) : m
|
|
|
|
|
+ var d = date.getDate()
|
|
|
|
|
+ d = d < 10 ? ('0' + d) : d
|
|
|
|
|
+ return y + '-' + m + '-' + d
|
|
|
|
|
+ },
|
|
|
handleCurrentChangeFinished (value) {
|
|
handleCurrentChangeFinished (value) {
|
|
|
this.currentPageFinished = value
|
|
this.currentPageFinished = value
|
|
|
this.finishedData()
|
|
this.finishedData()
|
|
@@ -781,5 +915,31 @@
|
|
|
margin-top: 10px;
|
|
margin-top: 10px;
|
|
|
margin-right: 40px;
|
|
margin-right: 40px;
|
|
|
}
|
|
}
|
|
|
|
|
+ .table-layout {
|
|
|
|
|
+ margin-top: 20px;
|
|
|
|
|
+ border-left: 1px solid #DCDFE6;
|
|
|
|
|
+ border-top: 1px solid #DCDFE6;
|
|
|
|
|
+ }
|
|
|
|
|
+ .table-cell {
|
|
|
|
|
+ height: 40px;
|
|
|
|
|
+ line-height: 20px;
|
|
|
|
|
+ border-right: 1px solid #DCDFE6;
|
|
|
|
|
+ border-bottom: 1px solid #DCDFE6;
|
|
|
|
|
+ padding: 10px;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ color: #606266;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .table-cell-title {
|
|
|
|
|
+ border-right: 1px solid #DCDFE6;
|
|
|
|
|
+ border-bottom: 1px solid #DCDFE6;
|
|
|
|
|
+ padding: 10px;
|
|
|
|
|
+ background: #F2F6FC;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ color: #303133;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
</style>
|
|
</style>
|