|
@@ -58,19 +58,19 @@
|
|
<span v-else>{{ scope.$index + 1 }}</span>
|
|
<span v-else>{{ scope.$index + 1 }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column prop="processNo" label="编号" width="200"> </el-table-column>
|
|
|
|
- <el-table-column prop="goodsName" label="发布企业/发布人" width="200">
|
|
|
|
|
|
+ <el-table-column prop="procurementPlanNo" label="编号" > </el-table-column>
|
|
|
|
+ <el-table-column prop="buyer" label="发布企业/发布人" >
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column prop="send" label="发布平台" width="100"> </el-table-column>
|
|
|
|
- <el-table-column prop="send" label="类型" width="80"> </el-table-column>
|
|
|
|
- <el-table-column prop="send" label="货名" width="80"> </el-table-column>
|
|
|
|
- <el-table-column prop="weight" label="重量(吨)" width="100"> </el-table-column>
|
|
|
|
- <el-table-column prop="receive" label="交易类型" width="80"> </el-table-column>
|
|
|
|
- <el-table-column prop="receive" label="基差(元/吨)" width="100"> </el-table-column>
|
|
|
|
- <el-table-column prop="receive" label="价格(元/吨)" width="100"> </el-table-column>
|
|
|
|
- <el-table-column prop="receive" label="电话" width="120"> </el-table-column>
|
|
|
|
- <el-table-column prop="createDate" label="更新时间" width="120"> </el-table-column>
|
|
|
|
- <el-table-column prop="seller" label="操作" width="200">
|
|
|
|
|
|
+ <el-table-column prop="" label="发布平台" > </el-table-column>
|
|
|
|
+ <el-table-column prop="" label="类型" > </el-table-column>
|
|
|
|
+ <el-table-column prop="goodsName" label="货名" > </el-table-column>
|
|
|
|
+ <el-table-column prop="weight" label="重量(吨)" > </el-table-column>
|
|
|
|
+ <el-table-column prop="procurementPlanType" label="交易类型" > </el-table-column>
|
|
|
|
+ <el-table-column prop="basisPrice" label="基差(元/吨)" > </el-table-column>
|
|
|
|
+ <el-table-column prop="unitPrice" label="价格(元/吨)" > </el-table-column>
|
|
|
|
+ <el-table-column prop="buyerPhone" label="电话" > </el-table-column>
|
|
|
|
+ <el-table-column prop="updateDate" label="更新时间" > </el-table-column>
|
|
|
|
+ <el-table-column prop="seller" label="操作" >
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<div
|
|
<div
|
|
class="record"
|
|
class="record"
|
|
@@ -95,7 +95,7 @@
|
|
>删除</div>
|
|
>删除</div>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column prop="address" label="审核" width="150">
|
|
|
|
|
|
+ <el-table-column prop="address" label="审核" >
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-button
|
|
<el-button
|
|
size="medium"
|
|
size="medium"
|
|
@@ -127,7 +127,7 @@
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
-import { automobileList, alsostate } from '@/model/transport/index'
|
|
|
|
|
|
+import { getTransactionInformation, transactionInformationList ,deleteTransactionInformation} from '@/model/platformaudit/index'
|
|
import Pagination from '@/components/Pagination'
|
|
import Pagination from '@/components/Pagination'
|
|
import WsUpload from '@/components/WsUpload'
|
|
import WsUpload from '@/components/WsUpload'
|
|
import { EventBus } from 'base-core-lib'
|
|
import { EventBus } from 'base-core-lib'
|
|
@@ -185,6 +185,10 @@ export default {
|
|
{ value: '已通过', type: 2 },
|
|
{ value: '已通过', type: 2 },
|
|
{ value: '全部', type: '' },
|
|
{ value: '全部', type: '' },
|
|
],
|
|
],
|
|
|
|
+ procurementPlanInfo:{
|
|
|
|
+ id: '',
|
|
|
|
+ flag: '',
|
|
|
|
+ },
|
|
pickerBeginDateBefore: {
|
|
pickerBeginDateBefore: {
|
|
disabledDate: (time) => {
|
|
disabledDate: (time) => {
|
|
return time.getTime() > Date.now()
|
|
return time.getTime() > Date.now()
|
|
@@ -227,24 +231,6 @@ export default {
|
|
// }
|
|
// }
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- //查看火运调度详细
|
|
|
|
- trainSee(row) {
|
|
|
|
- this.$router.push({
|
|
|
|
- name: 'fireDispatchingview',
|
|
|
|
- query: {
|
|
|
|
- id: row.id,
|
|
|
|
- },
|
|
|
|
- })
|
|
|
|
- },
|
|
|
|
- //车次
|
|
|
|
- trainNumber(row) {
|
|
|
|
- this.$router.push({
|
|
|
|
- name: 'fireDispatchingcar',
|
|
|
|
- query: {
|
|
|
|
- id: row.id,
|
|
|
|
- },
|
|
|
|
- })
|
|
|
|
- },
|
|
|
|
//删除
|
|
//删除
|
|
deleteclick(row) {
|
|
deleteclick(row) {
|
|
//cancelButtonClass: "btn-custom-cancel"
|
|
//cancelButtonClass: "btn-custom-cancel"
|
|
@@ -254,7 +240,7 @@ export default {
|
|
type: 'warning'
|
|
type: 'warning'
|
|
})
|
|
})
|
|
.then(() => {
|
|
.then(() => {
|
|
- deltran({
|
|
|
|
|
|
+ deleteTransactionInformation({
|
|
id: row.id
|
|
id: row.id
|
|
})
|
|
})
|
|
.toPromise()
|
|
.toPromise()
|
|
@@ -268,15 +254,18 @@ export default {
|
|
},
|
|
},
|
|
//审核通过
|
|
//审核通过
|
|
adopt(row) {
|
|
adopt(row) {
|
|
|
|
+ this.procurementPlanInfo.id = row.id
|
|
|
|
+ this.procurementPlanInfo.flag = 1
|
|
this.$confirm(`确定通过该认证信息?`, '提示', {
|
|
this.$confirm(`确定通过该认证信息?`, '提示', {
|
|
confirmButtonText: '通过',
|
|
confirmButtonText: '通过',
|
|
cancelButtonText: '取消',
|
|
cancelButtonText: '取消',
|
|
type: 'warning',
|
|
type: 'warning',
|
|
})
|
|
})
|
|
.then(() => {
|
|
.then(() => {
|
|
- delDriver({ id: row.id })
|
|
|
|
|
|
+ getTransactionInformation( this.procurementPlanInfo )
|
|
.toPromise()
|
|
.toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|
|
|
|
+
|
|
this.$notify.success({
|
|
this.$notify.success({
|
|
title: '成功',
|
|
title: '成功',
|
|
message: '通过成功',
|
|
message: '通过成功',
|
|
@@ -294,13 +283,15 @@ export default {
|
|
},
|
|
},
|
|
//审核驳回
|
|
//审核驳回
|
|
reject(row) {
|
|
reject(row) {
|
|
|
|
+ this.procurementPlanInfo.id = row.id
|
|
|
|
+ this.procurementPlanInfo.flag = 2
|
|
this.$confirm(`确定驳回该认证信息?`, '提示', {
|
|
this.$confirm(`确定驳回该认证信息?`, '提示', {
|
|
confirmButtonText: '驳回',
|
|
confirmButtonText: '驳回',
|
|
cancelButtonText: '取消',
|
|
cancelButtonText: '取消',
|
|
type: 'warning',
|
|
type: 'warning',
|
|
})
|
|
})
|
|
.then(() => {
|
|
.then(() => {
|
|
- delDriver({ id: row.id })
|
|
|
|
|
|
+ getTransactionInformation(this.procurementPlanInfo)
|
|
.toPromise()
|
|
.toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|
|
this.$notify.success({
|
|
this.$notify.success({
|
|
@@ -354,14 +345,12 @@ export default {
|
|
this.getList()
|
|
this.getList()
|
|
},
|
|
},
|
|
getList() {
|
|
getList() {
|
|
- automobileList({
|
|
|
|
|
|
+ transactionInformationList({
|
|
compId: sessionStorage.getItem('ws-pf_compId'),
|
|
compId: sessionStorage.getItem('ws-pf_compId'),
|
|
searchType: this.searchType,
|
|
searchType: this.searchType,
|
|
currentPage: this.currentPage,
|
|
currentPage: this.currentPage,
|
|
pageSize: this.pageSize,
|
|
pageSize: this.pageSize,
|
|
tranTypeKey: this.tranTypeKey,
|
|
tranTypeKey: this.tranTypeKey,
|
|
- startDate: this.startDate,
|
|
|
|
- endDate: this.endDate,
|
|
|
|
searchKeyWord: this.searchKeyWord,
|
|
searchKeyWord: this.searchKeyWord,
|
|
})
|
|
})
|
|
.toPromise()
|
|
.toPromise()
|