|
@@ -66,7 +66,11 @@
|
|
|
prop="procurementPlan"
|
|
|
label="采购计划"
|
|
|
width="125"
|
|
|
- ></el-table-column>
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div class="record"
|
|
|
+ @click="lookPlan(scope.row)">{{ scope.row.procurementPlan}}</div>
|
|
|
+ </template></el-table-column>
|
|
|
<el-table-column class="table_td" prop="customer" label="客户">
|
|
|
<template slot-scope="scope">
|
|
|
<div class="record" @click="customer(scope.row)">
|
|
@@ -266,23 +270,33 @@
|
|
|
prop="updateDate"
|
|
|
width="130"
|
|
|
>
|
|
|
- <template slot-scope="scope"
|
|
|
- ><span v-if="scope.row.procurementPlanType != '现货'"
|
|
|
- >--</span
|
|
|
- ></template
|
|
|
- ></el-table-column
|
|
|
- >
|
|
|
+ <template slot-scope="scope" >
|
|
|
+ <div
|
|
|
+ class="record"
|
|
|
+ @click="nocomplete1(scope.row)"
|
|
|
+ v-if="scope.row.procurementPlanType != '现货'&&scope.row.receiptUnpaid != null&&scope.row.receiptUnpaid >0">去结算</div>
|
|
|
+ <div
|
|
|
+ class="record"
|
|
|
+ @click="nocomplete1(scope.row)"
|
|
|
+ v-else-if="scope.row.procurementPlanType != '现货'&&scope.row.receiptUnpaid != null&&scope.row.receiptUnpaid==0">已结算</div>
|
|
|
+ </template>
|
|
|
+ </el-table-column >
|
|
|
<el-table-column
|
|
|
class="table_td"
|
|
|
label="平仓结算"
|
|
|
prop="updateDate"
|
|
|
- width="130"
|
|
|
- ><template slot-scope="scope"
|
|
|
- ><span v-if="scope.row.procurementPlanType != '现货'"
|
|
|
- >--</span
|
|
|
- ></template
|
|
|
- ></el-table-column
|
|
|
- >
|
|
|
+ width="130">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div
|
|
|
+ class="record"
|
|
|
+ @click="nocomplete(scope.row)"
|
|
|
+ v-if="scope.row.procurementPlanType != '现货'&&scope.row.closedUnpaid != null&&scope.row.closedUnpaid >0">去结算</div>
|
|
|
+ <div
|
|
|
+ class="record"
|
|
|
+ @click="nocomplete(scope.row)"
|
|
|
+ v-else-if="scope.row.procurementPlanType != '现货'&&scope.row.closedUnpaid != null&&scope.row.closedUnpaid ==0">已结算</div>
|
|
|
+ </template>
|
|
|
+ </el-table-column >
|
|
|
<el-table-column prop="seller" label="操作" width="310">
|
|
|
<template slot-scope="scope">
|
|
|
<!-- <div v-if="scope.row.procurementPlanType != '现货'"> -->
|
|
@@ -999,6 +1013,26 @@ export default {
|
|
|
whether(row) {
|
|
|
row.identification = 'true'
|
|
|
},
|
|
|
+ nocomplete1(row) {
|
|
|
+ this.$router.push({
|
|
|
+ name: 'purchaseReceiptStatisticsList',
|
|
|
+ query: {
|
|
|
+ compId: sessionStorage.getItem('ws-pf_compId'),
|
|
|
+ currentPage: this.currentPage,
|
|
|
+ pageSize: this.pageSize
|
|
|
+ },
|
|
|
+ })
|
|
|
+ },
|
|
|
+ nocomplete(row) {
|
|
|
+ this.$router.push({
|
|
|
+ name: 'purchaseClosingCashierList',
|
|
|
+ query: {
|
|
|
+ compId: sessionStorage.getItem('ws-pf_compId'),
|
|
|
+ currentPage: this.currentPage,
|
|
|
+ pageSize: this.pageSize
|
|
|
+ },
|
|
|
+ })
|
|
|
+ },
|
|
|
handle(item) {
|
|
|
this.$confirm(`状态修改为已完成后不可再进行交易操作,是否确定修改?`, {
|
|
|
confirmButtonText: '确定',
|
|
@@ -1586,12 +1620,12 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- //查看
|
|
|
- handleLook(row) {
|
|
|
+ //查看计划
|
|
|
+ lookPlan(row) {
|
|
|
this.$router.push({
|
|
|
- path: 'warehouseManagementPutOutLook',
|
|
|
+ path: 'procurementPlanLook',
|
|
|
query: {
|
|
|
- relevanceId: row.relevanceId,
|
|
|
+ id: row.planId,
|
|
|
},
|
|
|
})
|
|
|
},
|