|
@@ -52,7 +52,7 @@
|
|
|
<el-button @click="typeChange(1)" :type="searchType == 1 ? 'primary' : ''">收入</el-button>
|
|
|
<el-button @click="typeChange(2)" :type="searchType == 2 ? 'primary' : ''">支出</el-button>
|
|
|
<span>合计:{{money}}</span>
|
|
|
- <el-button v-if="currectcontract.contractType==2" @click="payliangkuan()" type='primary'>抵粮款</el-button>
|
|
|
+ <el-button v-if="currectcontract.contractType==1" @click="payliangkuan()" type='primary'>抵粮款</el-button>
|
|
|
</el-col>
|
|
|
<el-col style="text-align: right" :span="6">
|
|
|
|
|
@@ -69,11 +69,11 @@
|
|
|
<el-table-column prop="contractNo" label="合同编号"></el-table-column>
|
|
|
<el-table-column prop="contractType" label="合同类型">
|
|
|
<template scope="scope">
|
|
|
- <span v-if="scope.row.contractType==1">采购</span>
|
|
|
- <span v-if="scope.row.contractType==2">销售</span>
|
|
|
+ <span v-if="scope.row.contractType==1">销售</span>
|
|
|
+ <span v-if="scope.row.contractType==2">采购</span>
|
|
|
<span v-if="scope.row.contractType==3">收购</span>
|
|
|
- <span v-if="scope.row.contractType==4">代收</span>
|
|
|
- <span v-if="scope.row.contractType==5">代储</span>
|
|
|
+ <span v-if="scope.row.agreementType=='代收合同'">代收</span>
|
|
|
+ <span v-if="scope.row.agreementType=='代储合同'">代储</span>
|
|
|
|
|
|
</template>
|
|
|
</el-table-column>
|