|
|
|
|
@ -344,7 +344,7 @@
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<template
|
|
|
|
|
v-if="scope.row.status === 1 && scope.row.join_status === 3 && !/contractLedger/g.test($route.path)"
|
|
|
|
|
v-if="(scope.row.status === 1 && scope.row.join_status === 3 && !/contractLedger/g.test($route.path)) || !(!scope.row.is_framework && scope.row.purchase_way && scope.row.purchase_way.value === '网上商场')"
|
|
|
|
|
>
|
|
|
|
|
<Button
|
|
|
|
|
class="slot-btns-item"
|
|
|
|
|
@ -854,6 +854,16 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<template #content>
|
|
|
|
|
<div class="xy-table-item">
|
|
|
|
|
<div class="xy-table-item-label" style="width: 200px">
|
|
|
|
|
合同主要内容
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content">
|
|
|
|
|
<el-input v-model="form.content" style="width: 300px" type="textarea" :autosize="{ minRows: 2 }" placeholder="请输入合同主要内容"></el-input>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-slot:plan>
|
|
|
|
|
<div class="xy-table-item">
|
|
|
|
|
<div class="xy-table-item-label">
|
|
|
|
|
@ -1319,6 +1329,19 @@ export default {
|
|
|
|
|
prop: 'number',
|
|
|
|
|
align: 'center'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: "合同类型",
|
|
|
|
|
prop: "contract_type",
|
|
|
|
|
width: 140,
|
|
|
|
|
formatter:(cell, data, value) => {
|
|
|
|
|
let map = new Map([
|
|
|
|
|
[1,'收入类'],
|
|
|
|
|
[2,'支出类'],
|
|
|
|
|
[3,'技术协议']
|
|
|
|
|
])
|
|
|
|
|
return map.get(value)
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: "合同签订价(元)",
|
|
|
|
|
width: 140,
|
|
|
|
|
@ -1964,6 +1987,7 @@ export default {
|
|
|
|
|
form: {
|
|
|
|
|
name: "",
|
|
|
|
|
is_contract: 1,
|
|
|
|
|
content: "",
|
|
|
|
|
is_simple: 0,
|
|
|
|
|
supply: "",
|
|
|
|
|
money: 0,
|
|
|
|
|
@ -2435,6 +2459,7 @@ export default {
|
|
|
|
|
执行部门: row?.carry_department,
|
|
|
|
|
total: row?.money || row?.plan_price,
|
|
|
|
|
out_contract_id: row.id,
|
|
|
|
|
contract_content: row.content,
|
|
|
|
|
//"承包商\\供应商":row.supply
|
|
|
|
|
};
|
|
|
|
|
// let res = await getOatoken()
|
|
|
|
|
@ -2760,6 +2785,7 @@ export default {
|
|
|
|
|
status: this.form?.is_simple ? 2 : 1,
|
|
|
|
|
is_framework: this.form?.is_framework,
|
|
|
|
|
use_framework_buy: this.form.use_framework_buy,
|
|
|
|
|
content: this.form.content,
|
|
|
|
|
contract_to_contracts: this.selections.map((i) => {
|
|
|
|
|
return {
|
|
|
|
|
to_contract_id: i.id,
|
|
|
|
|
|