|
|
|
@ -245,24 +245,6 @@
|
|
|
|
</Option>
|
|
|
|
</Option>
|
|
|
|
</Select>
|
|
|
|
</Select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- <div>-->
|
|
|
|
|
|
|
|
<!-- <span style="padding: 0 6px; word-break: keep-all">-->
|
|
|
|
|
|
|
|
<!-- 请示流程状态-->
|
|
|
|
|
|
|
|
<!-- </span>-->
|
|
|
|
|
|
|
|
<!-- <Select-->
|
|
|
|
|
|
|
|
<!-- v-model="select.req_status"-->
|
|
|
|
|
|
|
|
<!-- clearable-->
|
|
|
|
|
|
|
|
<!-- placeholder="请选择"-->
|
|
|
|
|
|
|
|
<!-- style="width: 100px"-->
|
|
|
|
|
|
|
|
<!-- >-->
|
|
|
|
|
|
|
|
<!-- <Option-->
|
|
|
|
|
|
|
|
<!-- v-for="item in options"-->
|
|
|
|
|
|
|
|
<!-- :key="item.value"-->
|
|
|
|
|
|
|
|
<!-- :value="item.value"-->
|
|
|
|
|
|
|
|
<!-- >{{ item.label }}-->
|
|
|
|
|
|
|
|
<!-- </Option>-->
|
|
|
|
|
|
|
|
<!-- </Select>-->
|
|
|
|
|
|
|
|
<!-- </div>-->
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</xy-selectors>
|
|
|
|
</xy-selectors>
|
|
|
|
|
|
|
|
|
|
|
|
@ -718,7 +700,8 @@ import {
|
|
|
|
addContrant,
|
|
|
|
addContrant,
|
|
|
|
delContract,
|
|
|
|
delContract,
|
|
|
|
checkContractName,
|
|
|
|
checkContractName,
|
|
|
|
updateStatus, detailContract,
|
|
|
|
editorContract,
|
|
|
|
|
|
|
|
detailContract,
|
|
|
|
} from "@/api/contract/contract";
|
|
|
|
} from "@/api/contract/contract";
|
|
|
|
import { getparameter } from "@/api/system/dictionary";
|
|
|
|
import { getparameter } from "@/api/system/dictionary";
|
|
|
|
import { listdeptNoAuth } from "@/api/system/department";
|
|
|
|
import { listdeptNoAuth } from "@/api/system/department";
|
|
|
|
@ -1211,8 +1194,25 @@ export default {
|
|
|
|
customFn:row => {
|
|
|
|
customFn:row => {
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<span style={{ 'color': this.flowStatusColor.get(row.FLOWSTATUS.zhaobiao.getStatus()) }}>{ this.flowStatus.get(row.FLOWSTATUS.zhaobiao.getStatus()) || '无' }</span>
|
|
|
|
<div style={{ 'color': this.flowStatusColor.get(row.FLOWSTATUS.zhaobiao.getStatus()), 'display': 'flex', 'align-items': 'center', 'justify-content': 'center' }}>
|
|
|
|
<br/>
|
|
|
|
<span>{ this.flowStatus.get(row.FLOWSTATUS.zhaobiao.getStatus()) || '无' }</span>
|
|
|
|
|
|
|
|
<el-popover title="是否需要招标审核" placement="bottom-start" width="160">
|
|
|
|
|
|
|
|
<el-switch active-value={1}
|
|
|
|
|
|
|
|
v-model={row.is_tender_audit}
|
|
|
|
|
|
|
|
inactive-value={0}
|
|
|
|
|
|
|
|
active-text="是"
|
|
|
|
|
|
|
|
inactive-text="否"
|
|
|
|
|
|
|
|
on={{
|
|
|
|
|
|
|
|
change: e => {
|
|
|
|
|
|
|
|
editorContract({
|
|
|
|
|
|
|
|
id: row.id,
|
|
|
|
|
|
|
|
is_tender_audit: e
|
|
|
|
|
|
|
|
}).then(_ => this.getContracts())
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}}></el-switch>
|
|
|
|
|
|
|
|
<i class="el-icon-info" style="margin-left: 8px;font-size: 17px;" slot="reference"></i>
|
|
|
|
|
|
|
|
</el-popover>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
(row.FLOWSTATUS.zhaobiao.getStatus() !== 2 && row.FLOWSTATUS.zhaobiao.getStatus() !== -2) ? <a style="color: #333" on={{['click']:()=>{
|
|
|
|
(row.FLOWSTATUS.zhaobiao.getStatus() !== 2 && row.FLOWSTATUS.zhaobiao.getStatus() !== -2) ? <a style="color: #333" on={{['click']:()=>{
|
|
|
|
this.$refs['biddingUpload'].setId(row.id)
|
|
|
|
this.$refs['biddingUpload'].setId(row.id)
|
|
|
|
@ -1228,13 +1228,27 @@ export default {
|
|
|
|
width: 145,
|
|
|
|
width: 145,
|
|
|
|
prop: "join_status",
|
|
|
|
prop: "join_status",
|
|
|
|
customFn:row => {
|
|
|
|
customFn:row => {
|
|
|
|
if (!row.FLOWSTATUS.shenpi.getStatus()) {
|
|
|
|
|
|
|
|
return (<span style="color: rgb(140, 140, 140)">无</span>);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<span style={{ 'color': this.flowStatusColor.get(row.FLOWSTATUS.shenpi.getStatus()) }}>{ this.flowStatus.get(row.FLOWSTATUS.shenpi.getStatus()) }</span>
|
|
|
|
<div style={{ 'color': this.flowStatusColor.get(row.FLOWSTATUS.shenpi.getStatus()), 'display': 'flex', 'align-items': 'center', 'justify-content': 'center' }}>
|
|
|
|
<br/>
|
|
|
|
<span>{ this.flowStatus.get(row.FLOWSTATUS.shenpi.getStatus()) }</span>
|
|
|
|
|
|
|
|
<el-popover title="是否需要合同审批" placement="bottom-start" width="160">
|
|
|
|
|
|
|
|
<el-switch active-value={1}
|
|
|
|
|
|
|
|
v-model={row.is_contract}
|
|
|
|
|
|
|
|
inactive-value={0}
|
|
|
|
|
|
|
|
active-text="是"
|
|
|
|
|
|
|
|
inactive-text="否"
|
|
|
|
|
|
|
|
on={{
|
|
|
|
|
|
|
|
'change':e => {
|
|
|
|
|
|
|
|
editorContract({
|
|
|
|
|
|
|
|
id: row.id,
|
|
|
|
|
|
|
|
is_contract: e
|
|
|
|
|
|
|
|
}).then(_ => this.getContracts())
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}}></el-switch>
|
|
|
|
|
|
|
|
<i class="el-icon-info" style="margin-left: 8px;font-size: 17px;" slot="reference"></i>
|
|
|
|
|
|
|
|
</el-popover>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
(row.FLOWSTATUS.shenpi.getStatus() !== 2 && row.FLOWSTATUS.shenpi.getStatus() !== -2) ? <a style="color: #333" on={{['click']:()=>this.toOaDetail('hetong',row)}}>查看</a> : ''
|
|
|
|
(row.FLOWSTATUS.shenpi.getStatus() !== 2 && row.FLOWSTATUS.shenpi.getStatus() !== -2) ? <a style="color: #333" on={{['click']:()=>this.toOaDetail('hetong',row)}}>查看</a> : ''
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@ -2354,7 +2368,7 @@ export default {
|
|
|
|
flowStatus["caigou"].setExecutable(true)
|
|
|
|
flowStatus["caigou"].setExecutable(true)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (item.purchase_way?.value !== '网上商城' && item.is_contract && (item.purchase_way?.remark === 'true' || item.is_common_purchase) && !item.is_substitute) {
|
|
|
|
if (item.is_tender_audit) {
|
|
|
|
//不为网上商场 是合同\
|
|
|
|
//不为网上商场 是合同\
|
|
|
|
flowStatus["zhaobiao"].setStatus(item.invite_status ?? 2)
|
|
|
|
flowStatus["zhaobiao"].setStatus(item.invite_status ?? 2)
|
|
|
|
if ((!item.invite_status || item.invite_status === 2) && (caigou?.flow_status === 1 || common_purchase?.flow_status === 1)) {
|
|
|
|
if ((!item.invite_status || item.invite_status === 2) && (caigou?.flow_status === 1 || common_purchase?.flow_status === 1)) {
|
|
|
|
@ -2362,7 +2376,7 @@ export default {
|
|
|
|
flowStatus["zhaobiao"].setExecutable(true)
|
|
|
|
flowStatus["zhaobiao"].setExecutable(true)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (item.is_contract && item.purchase_way?.value !== "网上商城") {
|
|
|
|
if (item.is_contract) {
|
|
|
|
//为合同 不为网上商城
|
|
|
|
//为合同 不为网上商城
|
|
|
|
flowStatus["shenpi"].setStatus(shenpi?.flow_status ?? 2)
|
|
|
|
flowStatus["shenpi"].setStatus(shenpi?.flow_status ?? 2)
|
|
|
|
if ((!shenpi?.flow_status || shenpi?.flow_status === 2) && (item.invite_status === 1 ||
|
|
|
|
if ((!shenpi?.flow_status || shenpi?.flow_status === 2) && (item.invite_status === 1 ||
|
|
|
|
@ -2371,7 +2385,7 @@ export default {
|
|
|
|
flowStatus["shenpi"].setExecutable(true)
|
|
|
|
flowStatus["shenpi"].setExecutable(true)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (item.is_contract && item.purchase_way?.value !== "网上商城" && !item.is_substitute) {
|
|
|
|
if (item.is_contract) {
|
|
|
|
flowStatus["qianding"].setStatus(item.status)
|
|
|
|
flowStatus["qianding"].setStatus(item.status)
|
|
|
|
if (shenpi?.flow_status === 1 && item.status === 1) {
|
|
|
|
if (shenpi?.flow_status === 1 && item.status === 1) {
|
|
|
|
flowStatus["qianding"].setExecutable(true)
|
|
|
|
flowStatus["qianding"].setExecutable(true)
|
|
|
|
|