|
@@ -219,14 +219,10 @@
|
|
|
src="../../../public/img/shanchu.png" v-hasPermission="
|
|
|
`contractManagement.salesContract.salesContractInfo.delete`
|
|
|
" @click="handleDelete(scope.row)" alt="" />
|
|
|
- <div 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"
|
|
|
- @click="withdraw(scope.row)" v-hasPermission="
|
|
|
- `contractManagement.buyContract.buyContractInfo.edit`
|
|
|
- " alt="" />
|
|
|
+ <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"
|
|
|
+ @click="withdraw(scope.row)" v-hasPermission="`contractManagement.buyContract.buyContractInfo.edit`" alt="" />
|
|
|
</div>
|
|
|
- <!-- <ws-button v-if="scope.row.approveStatus && scope.row.approveStatus!='发起人撤回'" type="primary" @click="withdraw(scope.row)" >撤回</ws-button> -->
|
|
|
- <!-- v-hasPermission="`contractManagement.salesContract.salesContractInfo.add`" -->
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -353,7 +349,7 @@ export default {
|
|
|
contractForm: {},
|
|
|
categoryIndex: 0,
|
|
|
rulesVendor: {},
|
|
|
- size: 10,
|
|
|
+ showFlag:false,
|
|
|
appendixIdss: [],
|
|
|
compId: localStorage.getItem('ws-pf_compId'),
|
|
|
deptCircularPage: {},
|
|
@@ -710,9 +706,9 @@ export default {
|
|
|
} else {
|
|
|
response.records[i].datestatus = false
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+ if (response.records[i].creator == localStorage.getItem('ws-pf_staffName')) {
|
|
|
+ response.records[i].showFlag = true
|
|
|
+ }
|
|
|
if (response.records[i].completedQuantity) {
|
|
|
response.records[i].completedQuantity = response.records[i].completedQuantity.toFixed(3)
|
|
|
}
|