|
|
|
|
@ -362,19 +362,19 @@
|
|
|
|
|
class="slot-btns-item"
|
|
|
|
|
size="small"
|
|
|
|
|
type="primary"
|
|
|
|
|
@click="signProcess(scope.row)"
|
|
|
|
|
@click="signPre(scope.row)"
|
|
|
|
|
>合同审批
|
|
|
|
|
</Button>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-if="scope.row.FLOWSTATUS['shenpi'].isEnabled()&&!scope.row.pid&&scope.row.is_contract">
|
|
|
|
|
<Button
|
|
|
|
|
class="slot-btns-item"
|
|
|
|
|
size="small"
|
|
|
|
|
type="primary"
|
|
|
|
|
@click="$refs['splitContract'].setId(scope.row.id),$refs['splitContract'].show()"
|
|
|
|
|
>合同拆分
|
|
|
|
|
</Button>
|
|
|
|
|
</template>
|
|
|
|
|
<!-- <template v-if="scope.row.FLOWSTATUS['shenpi'].isEnabled()&&!scope.row.pid&&scope.row.is_contract">-->
|
|
|
|
|
<!-- <Button-->
|
|
|
|
|
<!-- class="slot-btns-item"-->
|
|
|
|
|
<!-- size="small"-->
|
|
|
|
|
<!-- type="primary"-->
|
|
|
|
|
<!-- @click="$refs['splitContract'].setId(scope.row.id),$refs['splitContract'].show()"-->
|
|
|
|
|
<!-- >合同拆分-->
|
|
|
|
|
<!-- </Button>-->
|
|
|
|
|
<!-- </template>-->
|
|
|
|
|
<template v-if="scope.row.FLOWSTATUS['caigou'].isEnabled()">
|
|
|
|
|
<Button
|
|
|
|
|
class="slot-btns-item"
|
|
|
|
|
@ -2319,6 +2319,18 @@ export default {
|
|
|
|
|
);
|
|
|
|
|
},
|
|
|
|
|
//会签流程
|
|
|
|
|
signPre (row) {
|
|
|
|
|
this.$confirm('是否为多标段合同?','提示',{
|
|
|
|
|
confirmButtonText: '合同拆分',
|
|
|
|
|
cancelButtonText: '合同审批',
|
|
|
|
|
type: 'warning'
|
|
|
|
|
}).then(_ => {
|
|
|
|
|
this.$refs['splitContract'].setId(row.id)
|
|
|
|
|
this.$refs['splitContract'].show()
|
|
|
|
|
}).catch(_ => {
|
|
|
|
|
this.signProcess(row)
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
async signProcess(row) {
|
|
|
|
|
this.setNowContract(row, "hetong");
|
|
|
|
|
let baseInfo = {
|
|
|
|
|
@ -2866,6 +2878,7 @@ export default {
|
|
|
|
|
if (/contractLedger/g.test(this.$route.path)) {
|
|
|
|
|
this.select.is_contract = 1;
|
|
|
|
|
this.select.purchase_status = 3;
|
|
|
|
|
this.select.join_status = '2,3'
|
|
|
|
|
//this.select.invite_status = 3;
|
|
|
|
|
this.select.is_simple = "";
|
|
|
|
|
}
|
|
|
|
|
|