|
|
|
|
@ -56,16 +56,8 @@
|
|
|
|
|
<span style="color: red;font-weight: 600;padding-right: 4px;">*</span>合同服务时间
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content">
|
|
|
|
|
<el-date-picker
|
|
|
|
|
v-model="form.time"
|
|
|
|
|
style="width: 300px;"
|
|
|
|
|
value-format="yyyy-MM-dd"
|
|
|
|
|
type="daterange"
|
|
|
|
|
range-separator="-"
|
|
|
|
|
start-placeholder="开始日期"
|
|
|
|
|
end-placeholder="结束日期"
|
|
|
|
|
@change="dateRangePick"
|
|
|
|
|
/>
|
|
|
|
|
<el-date-picker v-model="form.time" style="width: 300px;" value-format="yyyy-MM-dd" type="daterange"
|
|
|
|
|
range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期" @change="dateRangePick" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
@ -84,7 +76,8 @@
|
|
|
|
|
<div class="xy-table-item-label" style="width: 200px">保函金额
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content xy-table-item-price">
|
|
|
|
|
<el-input-number v-model="form.assurance_money" :controls="false" :precision="2" placeholder="请输入保函金额" style="width: 300px;" />
|
|
|
|
|
<el-input-number v-model="form.assurance_money" :controls="false" :precision="2" placeholder="请输入保函金额"
|
|
|
|
|
style="width: 300px;" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
@ -93,7 +86,8 @@
|
|
|
|
|
<div class="xy-table-item-label" style="width: 200px">保函有效期
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content">
|
|
|
|
|
<el-date-picker v-model="form.assurance_expire" value-format="yyyy-MM-dd" placeholder="请输入保函有效期" style="width: 300px;" />
|
|
|
|
|
<el-date-picker v-model="form.assurance_expire" value-format="yyyy-MM-dd" placeholder="请输入保函有效期"
|
|
|
|
|
style="width: 300px;" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
@ -104,13 +98,8 @@
|
|
|
|
|
<span style="color: red;font-weight: 600;padding-right: 4px;">*</span>质保金
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content xy-table-item-price">
|
|
|
|
|
<el-input-number
|
|
|
|
|
v-model="form.guaranteeMoney"
|
|
|
|
|
:precision="2"
|
|
|
|
|
:controls="false"
|
|
|
|
|
placeholder="请填写质保金"
|
|
|
|
|
style="width: 300px;"
|
|
|
|
|
/>
|
|
|
|
|
<el-input-number v-model="form.guaranteeMoney" :precision="2" :controls="false" placeholder="请填写质保金"
|
|
|
|
|
style="width: 300px;" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
@ -120,7 +109,8 @@
|
|
|
|
|
是否为延续类项目
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content">
|
|
|
|
|
<el-switch v-model="form.has_continue" active-text="是" inactive-text="否" :active-value="1" :inactive-value="0" />
|
|
|
|
|
<el-switch v-model="form.has_continue" active-text="是" inactive-text="否" :active-value="1"
|
|
|
|
|
:inactive-value="0" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
@ -142,15 +132,98 @@
|
|
|
|
|
<span style="color: red;font-weight: 600;padding-right: 4px;">*</span>质保期
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content xy-table-item-year">
|
|
|
|
|
<el-input-number
|
|
|
|
|
v-model="form.guaranteeYear"
|
|
|
|
|
:controls="false"
|
|
|
|
|
placeholder="请填写质保期"
|
|
|
|
|
style="width: 300px;"
|
|
|
|
|
/>
|
|
|
|
|
<el-input-number v-model="form.guaranteeYear" :controls="false" placeholder="请填写质保期"
|
|
|
|
|
style="width: 300px;" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<template v-if="contract.is_contract===1" v-slot:other_tender_name>
|
|
|
|
|
<div class="xy-table-item">
|
|
|
|
|
<div class="xy-table-item-label">
|
|
|
|
|
<span style="color: red;font-weight: 600;padding-right: 4px;"></span>其他投标单位名称
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content ">
|
|
|
|
|
<el-input v-model="form.other_tender_name" placeholder="请填写其他投标单位名称"
|
|
|
|
|
style="width: 300px;" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-if="contract.is_contract===1 && contract.is_end===1" v-slot:project_end_time>
|
|
|
|
|
<div class="xy-table-item">
|
|
|
|
|
<div class="xy-table-item-label">
|
|
|
|
|
<span style="color: red;font-weight: 600;padding-right: 4px;"></span>项目完成(竣工)时间
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content">
|
|
|
|
|
<el-date-picker v-model="form.project_end_time" style="width: 300px;" value-format="yyyy-MM-dd HH:mm:ss" type="datetime" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-if="contract.is_contract===1 && contract.is_end===1" v-slot:is_acceptance>
|
|
|
|
|
<div class="xy-table-item">
|
|
|
|
|
<div class="xy-table-item-label">
|
|
|
|
|
<span style="color: red;font-weight: 600;padding-right: 4px;"></span>是否验收
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content">
|
|
|
|
|
<el-select v-model="form.is_acceptance" placeholder="请选择">
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in [{id:0,value:'否'},{id:1,value:'是'}]"
|
|
|
|
|
:key="item.id"
|
|
|
|
|
:label="item.value"
|
|
|
|
|
:value="item.id">
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-if="contract.is_contract===1" v-slot:quotation_situation>
|
|
|
|
|
<div class="xy-table-item">
|
|
|
|
|
<div class="xy-table-item-label">
|
|
|
|
|
<span style="color: red;font-weight: 600;padding-right: 4px;"></span>事前询价情况
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content">
|
|
|
|
|
<el-input v-model="form.quotation_situation" type="textarea" placeholder="第三方造价咨询单位出具的报告或标底/供应商提供的报价"
|
|
|
|
|
style="width: 300px;" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-if="contract.is_contract===1" v-slot:audit_situation>
|
|
|
|
|
<div class="xy-table-item">
|
|
|
|
|
<div class="xy-table-item-label">
|
|
|
|
|
<span style="color: red;font-weight: 600;padding-right: 4px;"></span>事后审计情况
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content">
|
|
|
|
|
<el-input v-model="form.audit_situation" type="textarea" placeholder="外部财政局或审计局审计/内部自行委托的第三方审计/未审计。"
|
|
|
|
|
style="width: 300px;" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-if="contract.is_contract===1 && contract.is_end===1" v-slot:change_visa_amount>
|
|
|
|
|
<div class="xy-table-item">
|
|
|
|
|
<div class="xy-table-item-label">
|
|
|
|
|
<span style="color: red;font-weight: 600;padding-right: 4px;"></span>变更签证(增加内容的补充合同)金额
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content ">
|
|
|
|
|
<el-input-number v-model="form.change_visa_amount" :controls="false" placeholder="请填写变更签证(增加内容的补充合同)金额"
|
|
|
|
|
style="width: 300px;" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-if="contract.is_contract===1" v-slot:payment_content>
|
|
|
|
|
<div class="xy-table-item">
|
|
|
|
|
<div class="xy-table-item-label">
|
|
|
|
|
<span style="color: red;font-weight: 600;padding-right: 4px;"></span>合同内的支付条款
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content">
|
|
|
|
|
<el-input v-model="form.payment_content" type="textarea" placeholder="合同内的支付条款"
|
|
|
|
|
style="width: 300px;" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<template v-if="contract.contract_type !== 160" v-slot:extraFormBottom>
|
|
|
|
|
<div class="base-info add-plan" style="margin-top: 20px;margin-bottom: 20px">
|
|
|
|
|
<div class="base-info-title">付款计划</div>
|
|
|
|
|
@ -158,27 +231,15 @@
|
|
|
|
|
<Button type="primary" style="margin-left: 20px;" @click="isShowAddManyPlan = true">批量添加</Button>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<xy-table
|
|
|
|
|
:list="signList"
|
|
|
|
|
:table-item="signTable"
|
|
|
|
|
:show-index="false"
|
|
|
|
|
:height="240"
|
|
|
|
|
<xy-table :list="signList" :table-item="signTable" :show-index="false" :height="240"
|
|
|
|
|
@delete="deleteContractSign"
|
|
|
|
|
@editor="(row)=>{$refs['detailContractSign'].planId = row.id;$refs['detailContractSign'].isShow = true}"
|
|
|
|
|
/>
|
|
|
|
|
@editor="(row)=>{$refs['detailContractSign'].planId = row.id;$refs['detailContractSign'].isShow = true}" />
|
|
|
|
|
</template>
|
|
|
|
|
</xy-dialog>
|
|
|
|
|
|
|
|
|
|
<!-- 新增计划-->
|
|
|
|
|
<xy-dialog
|
|
|
|
|
:is-show.sync="isShowAddPlan"
|
|
|
|
|
type="form"
|
|
|
|
|
title="新增计划"
|
|
|
|
|
:form="planForm"
|
|
|
|
|
:rules="planRules"
|
|
|
|
|
:width="48"
|
|
|
|
|
@submit="submit"
|
|
|
|
|
>
|
|
|
|
|
<xy-dialog :is-show.sync="isShowAddPlan" type="form" title="新增计划" :form="planForm" :rules="planRules" :width="48"
|
|
|
|
|
@submit="submit">
|
|
|
|
|
<template v-slot:date>
|
|
|
|
|
<div class="xy-table-item">
|
|
|
|
|
<div class="xy-table-item-label">
|
|
|
|
|
@ -224,11 +285,7 @@
|
|
|
|
|
</template>
|
|
|
|
|
</xy-dialog>
|
|
|
|
|
|
|
|
|
|
<Modal
|
|
|
|
|
v-model="isShowAddManyPlan"
|
|
|
|
|
title="计划任务"
|
|
|
|
|
@on-ok="manyCreate"
|
|
|
|
|
>
|
|
|
|
|
<Modal v-model="isShowAddManyPlan" title="计划任务" @on-ok="manyCreate">
|
|
|
|
|
|
|
|
|
|
<div class="many-plan">
|
|
|
|
|
<div class="many-plan-item">
|
|
|
|
|
@ -238,17 +295,20 @@
|
|
|
|
|
|
|
|
|
|
<div class="many-plan-item">
|
|
|
|
|
<p>开始日期</p>
|
|
|
|
|
<el-date-picker v-model="manySetting.startMonth" size="mini" value-format="yyyy-MM-dd" @change="planMonthLists" />
|
|
|
|
|
<el-date-picker v-model="manySetting.startMonth" size="mini" value-format="yyyy-MM-dd"
|
|
|
|
|
@change="planMonthLists" />
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="many-plan-item">
|
|
|
|
|
<p>付款月份数</p>
|
|
|
|
|
<el-input-number v-model="manySetting.lastMonth" :controls="false" size="mini" :precision="0" :min="1" :max="12" @change="planMonthLists" />
|
|
|
|
|
<el-input-number v-model="manySetting.lastMonth" :controls="false" size="mini" :precision="0" :min="1"
|
|
|
|
|
:max="12" @change="planMonthLists" />
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="many-plan-item">
|
|
|
|
|
<p>付款日期</p>
|
|
|
|
|
<el-input-number v-model="manySetting.day" :controls="false" size="mini" :precision="0" :min="1" :max="31" @change="planMonthLists" />
|
|
|
|
|
<el-input-number v-model="manySetting.day" :controls="false" size="mini" :precision="0" :min="1" :max="31"
|
|
|
|
|
@change="planMonthLists" />
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="many-plan-item">
|
|
|
|
|
@ -269,7 +329,9 @@
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import { MessageBox } from 'element-ui'
|
|
|
|
|
import {
|
|
|
|
|
MessageBox
|
|
|
|
|
} from 'element-ui'
|
|
|
|
|
import {
|
|
|
|
|
addContractSign,
|
|
|
|
|
getContractSign,
|
|
|
|
|
@ -306,14 +368,17 @@ export default {
|
|
|
|
|
startMonth: ''
|
|
|
|
|
},
|
|
|
|
|
manyForm: [],
|
|
|
|
|
manyTable: [
|
|
|
|
|
{
|
|
|
|
|
manyTable: [{
|
|
|
|
|
prop: 'date',
|
|
|
|
|
label: '付款日期',
|
|
|
|
|
width: 160,
|
|
|
|
|
customFn: row => {
|
|
|
|
|
return (
|
|
|
|
|
<el-date-picker style='width: 130px;' vModel={row.date} size='mini' value-format='yyyy-MM-dd'></el-date-picker>
|
|
|
|
|
return ( <el-date-picker style = 'width: 130px;'
|
|
|
|
|
vModel = {
|
|
|
|
|
row.date
|
|
|
|
|
}
|
|
|
|
|
size = 'mini'
|
|
|
|
|
value-format = 'yyyy-MM-dd' > </el-date-picker>
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
@ -322,23 +387,34 @@ export default {
|
|
|
|
|
label: '金额',
|
|
|
|
|
width: 180,
|
|
|
|
|
customFn: row => {
|
|
|
|
|
return (
|
|
|
|
|
<el-input-number size='mini' vModel={row.money} precision={2} controls={false}></el-input-number>
|
|
|
|
|
return ( <el-input-number size = 'mini'
|
|
|
|
|
vModel = {
|
|
|
|
|
row.money
|
|
|
|
|
}
|
|
|
|
|
precision = {
|
|
|
|
|
2
|
|
|
|
|
}
|
|
|
|
|
controls = {
|
|
|
|
|
false
|
|
|
|
|
} > </el-input-number>
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
prop: 'operate',
|
|
|
|
|
label: '操作',
|
|
|
|
|
customFn: (row, { $index }) => {
|
|
|
|
|
return (
|
|
|
|
|
<Button type='error'
|
|
|
|
|
customFn: (row, {
|
|
|
|
|
$index
|
|
|
|
|
}) => {
|
|
|
|
|
return ( <Button type = 'error'
|
|
|
|
|
size = 'small'
|
|
|
|
|
on={{
|
|
|
|
|
on = {
|
|
|
|
|
{
|
|
|
|
|
'click': _ => {
|
|
|
|
|
this.manyForm.splice($index, 1)
|
|
|
|
|
}
|
|
|
|
|
}}>移除</Button>
|
|
|
|
|
}
|
|
|
|
|
} > 移除 </Button>
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@ -356,18 +432,45 @@ export default {
|
|
|
|
|
date: '',
|
|
|
|
|
is_assurance: false,
|
|
|
|
|
assurance_money: '',
|
|
|
|
|
assurance_expire: ''
|
|
|
|
|
assurance_expire: '',
|
|
|
|
|
other_tender_name:'',
|
|
|
|
|
project_end_time:'',
|
|
|
|
|
is_acceptance:'',
|
|
|
|
|
quotation_situation:'',
|
|
|
|
|
audit_situation:'',
|
|
|
|
|
change_visa_amount:'',
|
|
|
|
|
payment_content:''
|
|
|
|
|
},
|
|
|
|
|
rules: {
|
|
|
|
|
number: [{ required: true, message: '必填' }],
|
|
|
|
|
date: [{ required: true, message: '必填' }],
|
|
|
|
|
supply: [{ required: true, message: '必填' }],
|
|
|
|
|
carryDepartment: [{ required: true, message: '必填' }],
|
|
|
|
|
money: [
|
|
|
|
|
{ required: true, message: '必填' },
|
|
|
|
|
{ pattern: /^\d+(\.\d+)?$/, message: '必须为数字' }
|
|
|
|
|
number: [{
|
|
|
|
|
required: true,
|
|
|
|
|
message: '必填'
|
|
|
|
|
}],
|
|
|
|
|
date: [{
|
|
|
|
|
required: true,
|
|
|
|
|
message: '必填'
|
|
|
|
|
}],
|
|
|
|
|
supply: [{
|
|
|
|
|
required: true,
|
|
|
|
|
message: '必填'
|
|
|
|
|
}],
|
|
|
|
|
carryDepartment: [{
|
|
|
|
|
required: true,
|
|
|
|
|
message: '必填'
|
|
|
|
|
}],
|
|
|
|
|
money: [{
|
|
|
|
|
required: true,
|
|
|
|
|
message: '必填'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
pattern: /^\d+(\.\d+)?$/,
|
|
|
|
|
message: '必须为数字'
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
time: [{ required: true, message: '必选' }],
|
|
|
|
|
time: [{
|
|
|
|
|
required: true,
|
|
|
|
|
message: '必选'
|
|
|
|
|
}],
|
|
|
|
|
guaranteeMoney: [],
|
|
|
|
|
guaranteeYear: []
|
|
|
|
|
},
|
|
|
|
|
@ -436,8 +539,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
computed: {
|
|
|
|
|
},
|
|
|
|
|
computed: {},
|
|
|
|
|
watch: {
|
|
|
|
|
async contractId() {
|
|
|
|
|
await this.getContractSignList()
|
|
|
|
|
@ -460,13 +562,15 @@ export default {
|
|
|
|
|
|
|
|
|
|
// 合同签订
|
|
|
|
|
sign() {
|
|
|
|
|
{/* if (this.signList.length == 0) {
|
|
|
|
|
{
|
|
|
|
|
/* if (this.signList.length == 0) {
|
|
|
|
|
Message({
|
|
|
|
|
type: 'error',
|
|
|
|
|
message: '该项目未设置付款计划,请设置付款计划后保存'
|
|
|
|
|
})
|
|
|
|
|
return false
|
|
|
|
|
} */}
|
|
|
|
|
} */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const signMoneyTotal = this.signList.reduce((pre, cur) => (pre + Number(cur.money || 0)), 0)
|
|
|
|
|
if (signMoneyTotal !== Number(this.form.money)) {
|
|
|
|
|
@ -492,7 +596,14 @@ export default {
|
|
|
|
|
date: this.form.date,
|
|
|
|
|
is_assurance: this.form.is_assurance,
|
|
|
|
|
assurance_money: this.form.assurance_money,
|
|
|
|
|
assurance_expire: this.form.assurance_expire
|
|
|
|
|
assurance_expire: this.form.assurance_expire,
|
|
|
|
|
other_tender_name:this.form.other_tender_name,
|
|
|
|
|
project_end_time:this.form.project_end_time,
|
|
|
|
|
is_acceptance:this.form.is_acceptance,
|
|
|
|
|
quotation_situation:this.form.quotation_situation,
|
|
|
|
|
audit_situation:this.form.audit_situation,
|
|
|
|
|
change_visa_amount:this.form.change_visa_amount,
|
|
|
|
|
payment_content:this.form.payment_content
|
|
|
|
|
}).then(res => {
|
|
|
|
|
this.isShow = false
|
|
|
|
|
Message({
|
|
|
|
|
@ -500,9 +611,27 @@ export default {
|
|
|
|
|
message: '操作成功'
|
|
|
|
|
})
|
|
|
|
|
this.$emit('signSuccess')
|
|
|
|
|
this.handleOperationSuccess()
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
// 假设这是子页面的操作完成函数(如提交成功后)
|
|
|
|
|
handleOperationSuccess() {
|
|
|
|
|
// 1. 准备要发送给父页面的数据(包含操作结果等信息)
|
|
|
|
|
const message = {
|
|
|
|
|
type: 'operationCompleted', // 消息类型:标识“操作已完成”
|
|
|
|
|
data: {
|
|
|
|
|
status: 'success',
|
|
|
|
|
result: '合同签署成功',
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// 2. 发送消息给父页面
|
|
|
|
|
// 第一个参数:要传递的数据
|
|
|
|
|
// 第二个参数:父页面的域名(必须准确,* 不安全,不推荐)
|
|
|
|
|
parent.postMessage(message, 'http://192.168.60.18:8001');
|
|
|
|
|
// 例如父页面是 http://192.168.60.99:8080,则填这个地址
|
|
|
|
|
},
|
|
|
|
|
async getContractSignList() {
|
|
|
|
|
const res = await getContractSign({
|
|
|
|
|
contract_id: this.contractId,
|
|
|
|
|
@ -530,8 +659,14 @@ export default {
|
|
|
|
|
this.form.assurance_money = res.assurance_money
|
|
|
|
|
// 动态设置质保金和质保期校验规则
|
|
|
|
|
if (res.contract_type !== 160) {
|
|
|
|
|
this.rules.guaranteeMoney = [{ required: true, message: '必填' }]
|
|
|
|
|
this.rules.guaranteeYear = [{ required: true, message: '必填' }]
|
|
|
|
|
this.rules.guaranteeMoney = [{
|
|
|
|
|
required: true,
|
|
|
|
|
message: '必填'
|
|
|
|
|
}]
|
|
|
|
|
this.rules.guaranteeYear = [{
|
|
|
|
|
required: true,
|
|
|
|
|
message: '必填'
|
|
|
|
|
}]
|
|
|
|
|
} else {
|
|
|
|
|
this.rules.guaranteeMoney = []
|
|
|
|
|
this.rules.guaranteeYear = []
|
|
|
|
|
@ -598,7 +733,10 @@ export default {
|
|
|
|
|
const url =
|
|
|
|
|
`${process.env.VUE_APP_OUT_URL}/admin/flow/view/${this.contract.join_last_flow_id}`
|
|
|
|
|
// ?oatoken=${res.oatoken}&get_raw=1
|
|
|
|
|
const paras = { oatoken: resToken.oatoken, get_raw: 1 }
|
|
|
|
|
const paras = {
|
|
|
|
|
oatoken: resToken.oatoken,
|
|
|
|
|
get_raw: 1
|
|
|
|
|
}
|
|
|
|
|
const res = await httpCurl(paras, true, '/Api/flowDetail', 'GET', url)
|
|
|
|
|
console.log(res)
|
|
|
|
|
this.form.money = Number(res.flow['合同金额(元)'])
|
|
|
|
|
@ -655,12 +793,14 @@ export default {
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
|
|
|
|
|
&>p {
|
|
|
|
|
flex-basis: 30%;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.base-info {
|
|
|
|
|
|
|
|
|
|
&-title {
|
|
|
|
|
|