|
|
@@ -74,7 +74,7 @@
|
|
|
</el-row>
|
|
|
</el-form>
|
|
|
</el-card>
|
|
|
- <el-card class="box-card" v-if="cardType == '7'">
|
|
|
+ <el-card class="box-card">
|
|
|
<div slot="header">
|
|
|
<span>
|
|
|
<i class="icon icon-table2"></i> 收入业务
|
|
|
@@ -120,50 +120,50 @@
|
|
|
</el-card>
|
|
|
|
|
|
|
|
|
- <el-card class="box-card" v-if="cardType == '6'">
|
|
|
- <div slot="header">
|
|
|
- <span>
|
|
|
- <i class="icon icon-table2"></i> 外部市场
|
|
|
- <span style="float: right;">
|
|
|
- <el-button type="primary" size="mini" style="margin-left:10px; margin-top: -4px;" @click="addMarketItems" v-if="isEdit && formData.Status <= 0">添加明细</el-button>
|
|
|
- </span>
|
|
|
- </span>
|
|
|
- </div>
|
|
|
- <el-table :data="entityList" border height="calc(100vh - 243px)" style="width: 100%" @sort-change="orderby" size="mini">
|
|
|
- <el-table-column label="操作" width="150px" align="center" fixed="right">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-button type="primary" size="mini" @click="editOilcatalog(scope.row)" plain>编辑</el-button>
|
|
|
- <el-popover placement="top" title="提示">
|
|
|
- <el-alert
|
|
|
- title=""
|
|
|
- description="确认要删除吗?"
|
|
|
- type="warning"
|
|
|
- :closable="false">
|
|
|
- </el-alert>
|
|
|
- <br/>
|
|
|
- <div style="text-align: right; margin: 0">
|
|
|
- <el-button type="danger" size="mini" @click="deleteEntity(scope.row)">删除</el-button>
|
|
|
- </div>
|
|
|
- <el-button slot="reference" type="danger" title="删除" style="margin-left:10px" size="mini" plain v-if="isEdit && scope.row.Status == 0">删除</el-button>
|
|
|
- </el-popover>
|
|
|
- </template>
|
|
|
-
|
|
|
- </el-table-column>
|
|
|
- <!--<el-table-column sortable min-width="80" align="center" show-overflow-tooltip prop="SupplierName" label="序号"></el-table-column>-->
|
|
|
- <el-table-column sortable min-width="120" align="center" show-overflow-tooltip prop="CompanyName" label="企业名称"></el-table-column>
|
|
|
- <el-table-column sortable min-width="500" align="center" show-overflow-tooltip prop="Business" label="业务范围"></el-table-column>
|
|
|
- <el-table-column sortable min-width="200" align="center" show-overflow-tooltip label="有效期起止">
|
|
|
- <template slot-scope="scope">
|
|
|
- {{(jstimehandle(scope.row.ValidityFrom))}}--{{(jstimehandle(scope.row.ValidityTo))}}
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column sortable min-width="120" align="center" show-overflow-tooltip prop="Remark" label="备注"></el-table-column>
|
|
|
-
|
|
|
- </el-table>
|
|
|
- <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="currentPage"
|
|
|
- :page-sizes="[10, 15, 20, 25]" :page-size="size" layout="total, sizes, prev, pager, next, jumper" :total="currentItemCount">
|
|
|
- </el-pagination>
|
|
|
- </el-card>
|
|
|
+ <!--<el-card class="box-card" v-if="cardType == '6'">-->
|
|
|
+ <!--<div slot="header">-->
|
|
|
+ <!--<span>-->
|
|
|
+ <!--<i class="icon icon-table2"></i> 外部市场-->
|
|
|
+ <!--<span style="float: right;">-->
|
|
|
+ <!--<el-button type="primary" size="mini" style="margin-left:10px; margin-top: -4px;" @click="addMarketItems" v-if="isEdit && formData.Status <= 0">添加明细</el-button>-->
|
|
|
+ <!--</span>-->
|
|
|
+ <!--</span>-->
|
|
|
+ <!--</div>-->
|
|
|
+ <!--<el-table :data="entityList" border height="calc(100vh - 243px)" style="width: 100%" @sort-change="orderby" size="mini">-->
|
|
|
+ <!--<el-table-column label="操作" width="150px" align="center" fixed="right">-->
|
|
|
+ <!--<template slot-scope="scope">-->
|
|
|
+ <!--<el-button type="primary" size="mini" @click="editOilcatalog(scope.row)" plain>编辑</el-button>-->
|
|
|
+ <!--<el-popover placement="top" title="提示">-->
|
|
|
+ <!--<el-alert-->
|
|
|
+ <!--title=""-->
|
|
|
+ <!--description="确认要删除吗?"-->
|
|
|
+ <!--type="warning"-->
|
|
|
+ <!--:closable="false">-->
|
|
|
+ <!--</el-alert>-->
|
|
|
+ <!--<br/>-->
|
|
|
+ <!--<div style="text-align: right; margin: 0">-->
|
|
|
+ <!--<el-button type="danger" size="mini" @click="deleteEntity(scope.row)">删除</el-button>-->
|
|
|
+ <!--</div>-->
|
|
|
+ <!--<el-button slot="reference" type="danger" title="删除" style="margin-left:10px" size="mini" plain v-if="isEdit && scope.row.Status == 0">删除</el-button>-->
|
|
|
+ <!--</el-popover>-->
|
|
|
+ <!--</template>-->
|
|
|
+
|
|
|
+ <!--</el-table-column>-->
|
|
|
+ <!--<!–<el-table-column sortable min-width="80" align="center" show-overflow-tooltip prop="SupplierName" label="序号"></el-table-column>–>-->
|
|
|
+ <!--<el-table-column sortable min-width="120" align="center" show-overflow-tooltip prop="CompanyName" label="企业名称"></el-table-column>-->
|
|
|
+ <!--<el-table-column sortable min-width="500" align="center" show-overflow-tooltip prop="Business" label="业务范围"></el-table-column>-->
|
|
|
+ <!--<el-table-column sortable min-width="200" align="center" show-overflow-tooltip label="有效期起止">-->
|
|
|
+ <!--<template slot-scope="scope">-->
|
|
|
+ <!--{{(jstimehandle(scope.row.ValidityFrom))}}--{{(jstimehandle(scope.row.ValidityTo))}}-->
|
|
|
+ <!--</template>-->
|
|
|
+ <!--</el-table-column>-->
|
|
|
+ <!--<el-table-column sortable min-width="120" align="center" show-overflow-tooltip prop="Remark" label="备注"></el-table-column>-->
|
|
|
+
|
|
|
+ <!--</el-table>-->
|
|
|
+ <!--<el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="currentPage"-->
|
|
|
+ <!--:page-sizes="[10, 15, 20, 25]" :page-size="size" layout="total, sizes, prev, pager, next, jumper" :total="currentItemCount">-->
|
|
|
+ <!--</el-pagination>-->
|
|
|
+ <!--</el-card>-->
|
|
|
|
|
|
<choose-auditor ref="chooseAuditor"
|
|
|
@close="setAuditer"
|
|
|
@@ -346,7 +346,6 @@
|
|
|
}
|
|
|
}
|
|
|
var validDate = (rule, value, callback) => {
|
|
|
- console.log(value)
|
|
|
if (!value || !value[0] || !value[1]) {
|
|
|
callback(new Error('请选择时间'))
|
|
|
} else {
|
|
|
@@ -592,7 +591,7 @@
|
|
|
this.ValidityDate = [new Date(val.ValidityFrom), new Date(val.ValidityTo)]
|
|
|
if (this.cardType === '6') {
|
|
|
this.markettitle = '编辑外部市场目录'
|
|
|
- this.showaddmarketdialog = true
|
|
|
+ this.showadddialog = true
|
|
|
} else {
|
|
|
this.dialogtitle = '编辑收入业务目录'
|
|
|
this.showadddialog = true
|
|
|
@@ -764,7 +763,6 @@
|
|
|
// 查询条件
|
|
|
catapi.getList(myCreateOn, params, this.$axios).then(res => {
|
|
|
this.entityList = res.data.items
|
|
|
- console.log(this.entityList, 'this.entityList')
|
|
|
this.currentItemCount = res.data.currentItemCount
|
|
|
})
|
|
|
},
|