|
@@ -201,11 +201,9 @@
|
|
v-hasPermission="
|
|
v-hasPermission="
|
|
`contractManagement.buyContract.buyContractInfo.delete`
|
|
`contractManagement.buyContract.buyContractInfo.delete`
|
|
" @click="handleDelete(scope.row)" alt="" />
|
|
" @click="handleDelete(scope.row)" alt="" />
|
|
- <div v-if="scope.row.approveStatus && scope.row.approveStatus!='发起人撤回'" style="display: inline-block">
|
|
|
|
|
|
+ <div v-show="scope.row.showFlag" v-if="scope.row.approveStatus && scope.row.approveStatus!='发起人撤回'" style="display: inline-block">
|
|
<img width="17" height="16" style="vertical-align: text-top; margin: 0 6px" src="../../../public/img/chehui.png"
|
|
<img width="17" height="16" style="vertical-align: text-top; margin: 0 6px" src="../../../public/img/chehui.png"
|
|
- @click="withdraw(scope.row)" v-hasPermission="
|
|
|
|
- `contractManagement.buyContract.buyContractInfo.edit`
|
|
|
|
- " alt="" />
|
|
|
|
|
|
+ @click="withdraw(scope.row)" v-hasPermission="`contractManagement.buyContract.buyContractInfo.edit`" alt="" />
|
|
</div>
|
|
</div>
|
|
<!-- <ws-button v-if="scope.row.approveStatus && scope.row.approveStatus!='发起人撤回'" type="primary" @click="withdraw(scope.row)" >撤回</ws-button> -->
|
|
<!-- <ws-button v-if="scope.row.approveStatus && scope.row.approveStatus!='发起人撤回'" type="primary" @click="withdraw(scope.row)" >撤回</ws-button> -->
|
|
</template>
|
|
</template>
|
|
@@ -282,6 +280,7 @@
|
|
showType: true,
|
|
showType: true,
|
|
// 年
|
|
// 年
|
|
year: '',
|
|
year: '',
|
|
|
|
+ showFlag:false,
|
|
deliver_type: 1,
|
|
deliver_type: 1,
|
|
deptBudgetTotal: 0,
|
|
deptBudgetTotal: 0,
|
|
currentPage: 1,
|
|
currentPage: 1,
|
|
@@ -531,6 +530,7 @@
|
|
goodsType: this.goodsType,
|
|
goodsType: this.goodsType,
|
|
currentPage: this.currentPage,
|
|
currentPage: this.currentPage,
|
|
pageSize: this.pageSize,
|
|
pageSize: this.pageSize,
|
|
|
|
+ agreementType: '收购合同',
|
|
searchType: this.searchType,
|
|
searchType: this.searchType,
|
|
searchKeyWord: this.searchKeyWord,
|
|
searchKeyWord: this.searchKeyWord,
|
|
startDate: this.startDate,
|
|
startDate: this.startDate,
|
|
@@ -541,6 +541,9 @@
|
|
.toPromise()
|
|
.toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|
|
for (var i = 0; i < response.records.length; i++) {
|
|
for (var i = 0; i < response.records.length; i++) {
|
|
|
|
+ if (response.records[i].creator == localStorage.getItem('ws-pf_staffName')) {
|
|
|
|
+ response.records[i].showFlag = true
|
|
|
|
+ }
|
|
if(response.records[i].status){
|
|
if(response.records[i].status){
|
|
response.records[i].currectstatus=response.records[i].status
|
|
response.records[i].currectstatus=response.records[i].status
|
|
}
|
|
}
|