|
@@ -47,7 +47,7 @@
|
|
|
<el-form ref="assetsForm" :model="assetsForm" :rules="assetsFormRules" :disabled="disabledStatus">
|
|
|
<div class="createMajor-main-container">
|
|
|
<div class="postInfo-container">
|
|
|
- <el-row class="row-style" style="margin-top: 20px; float: right; position: relative; z-index: 2;">
|
|
|
+ <el-row v-if="canUpdateOrderBaseInfoNode.includes(currentNode.nodeCode)" class="row-style" style="margin-top: 20px; float: right; position: relative; z-index: 2;">
|
|
|
<el-col :xs="24" :sm="12" :lg="23" :span="12">
|
|
|
<el-button type="danger" @click="updateOrderBaseInfo()" round>更新基本信息</el-button>
|
|
|
</el-col>
|
|
@@ -417,15 +417,21 @@
|
|
|
</el-table-column> -->
|
|
|
<el-table-column width="220" prop="statementNo" label="意见书号" align="center" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
- <el-tag type='danger'>
|
|
|
- {{ scope.row.statementNo == null ? '未取号' : scope.row.statementNo }}
|
|
|
+ <el-tag type='success' v-if="scope.row.statementNo">
|
|
|
+ {{ scope.row.statementNo }}
|
|
|
+ </el-tag>
|
|
|
+ <el-tag type='danger' v-else>
|
|
|
+ 未取号
|
|
|
</el-tag>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column width="220" prop="reportNo" label="报告号" align="center" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
- <el-tag type='danger'>
|
|
|
- {{ scope.row.reportNo == null ? '未取号' : scope.row.reportNo }}
|
|
|
+ <el-tag type='success' v-if="scope.row.reportNo">
|
|
|
+ {{ scope.row.reportNo }}
|
|
|
+ </el-tag>
|
|
|
+ <el-tag type='danger' v-else>
|
|
|
+ 未取号
|
|
|
</el-tag>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -625,61 +631,61 @@
|
|
|
<el-table-column type="expand">
|
|
|
<template slot-scope="props">
|
|
|
<el-form label-position="left">
|
|
|
- <el-tag style="margin-left: 20px;" effect="plain" size="medium" disable-transitions><span
|
|
|
- style="font-size:16px">基本信息</span></el-tag>
|
|
|
+ <!-- <el-tag style="margin-left: 20px;" effect="plain" size="medium" disable-transitions><span
|
|
|
+ style="font-size:16px">基本信息</span></el-tag> -->
|
|
|
<el-row class="row-style">
|
|
|
- <el-col :xs="24" :sm="6" :lg="3" :span="3" class="postInfo-container-item">
|
|
|
+ <el-col :xs="24" :sm="12" :lg="6" :span="6" class="postInfo-container-item">
|
|
|
<el-form-item label-width="150px" label="委托方名称:">
|
|
|
<span>{{ props.row.clientName }}</span>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :xs="24" :sm="6" :lg="3" :span="3" class="postInfo-container-item">
|
|
|
+ <el-col :xs="24" :sm="12" :lg="6" :span="6" class="postInfo-container-item">
|
|
|
<el-form-item label-width="150px" label="委托方电话:">
|
|
|
<span>{{ props.row.clientTel }}</span>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row class="row-style">
|
|
|
- <el-col :xs="24" :sm="6" :lg="3" :span="3" class="postInfo-container-item">
|
|
|
+ <el-col :xs="24" :sm="12" :lg="6" :span="6" class="postInfo-container-item">
|
|
|
<el-form-item label-width="150px" label="评估基准日:">
|
|
|
<span>{{ props.row.valuationBasisDate }}</span>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :xs="24" :sm="6" :lg="3" :span="3" class="postInfo-container-item">
|
|
|
+ <el-col :xs="24" :sm="12" :lg="6" :span="6" class="postInfo-container-item">
|
|
|
<el-form-item label-width="150px" label="评估面积:">
|
|
|
<span>{{ props.row.evaluateAcreage }} m²</span>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :xs="24" :sm="6" :lg="3" :span="3" class="postInfo-container-item">
|
|
|
+ <el-col :xs="24" :sm="12" :lg="6" :span="6" class="postInfo-container-item">
|
|
|
<el-form-item label-width="150px" label="评估单价:">
|
|
|
<span>{{ props.row.evaluatePrice }}(元)</span>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :xs="24" :sm="6" :lg="3" :span="3" class="postInfo-container-item">
|
|
|
+ <el-col :xs="24" :sm="12" :lg="6" :span="6" class="postInfo-container-item">
|
|
|
<el-form-item label-width="150px" label="评估总价:">
|
|
|
<span>{{ props.row.evaluateAmount }}(万)</span>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :xs="24" :sm="6" :lg="3" :span="3" class="postInfo-container-item">
|
|
|
+ <el-col :xs="24" :sm="12" :lg="6" :span="6" class="postInfo-container-item">
|
|
|
<el-form-item label-width="150px" label="产权人:">
|
|
|
<span>{{ props.row.owner }}</span>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row class="row-style">
|
|
|
- <el-col :xs="24" :sm="6" :lg="3" :span="3" class="postInfo-container-item">
|
|
|
+ <el-col :xs="24" :sm="12" :lg="6" :span="6" class="postInfo-container-item">
|
|
|
<el-form-item label-width="150px" label="产品打印数量:">
|
|
|
<span>{{ props.row.printCount }}(份)</span>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :xs="24" :sm="6" :lg="3" :span="3" class="postInfo-container-item">
|
|
|
+ <el-col :xs="24" :sm="12" :lg="6" :span="6" class="postInfo-container-item">
|
|
|
<el-form-item label-width="150px" label="产品出具日期:">
|
|
|
<span>{{ props.row.createProductionDate }}</span>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row class="row-style">
|
|
|
- <el-col :xs="24" :sm="6" :lg="3" :span="3" class="postInfo-container-item">
|
|
|
+ <el-col :xs="24" :sm="12" :lg="6" :span="6" class="postInfo-container-item">
|
|
|
<el-form-item label-width="150px" label="资料附件:">
|
|
|
<el-link type="primary" v-for="file in props.row.filePath" :key="file.name" :href="file.url">
|
|
|
{{ file.name }}
|
|
@@ -688,7 +694,7 @@
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row class="row-style">
|
|
|
- <el-col :xs="24" :sm="6" :lg="3" :span="3" class="postInfo-container-item">
|
|
|
+ <el-col :xs="24" :sm="12" :lg="6" :span="6" class="postInfo-container-item">
|
|
|
<el-form-item prop="qrCode" label-width="150px" label="产品二维码:">
|
|
|
<img style="width:130px;height:120px; display:inline-block ;" :src="props.row.qrCode"
|
|
|
alt="NULL" />
|
|
@@ -702,14 +708,14 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
- <el-tag style="margin-left: 20px;" effect="plain" size="medium" disable-transitions><span
|
|
|
+ <!-- <el-tag style="margin-left: 20px;" effect="plain" size="medium" disable-transitions><span
|
|
|
style="font-size:16px">库存状态</span></el-tag>
|
|
|
<el-steps :active="props.row.repertoryState == null ? 0 : (props.row.repertoryState ? 2 : 1)"
|
|
|
process-status="success" finish-status="success" simple style="margin: 10px 1% 20px 40px">
|
|
|
<el-step title="未入库"></el-step>
|
|
|
<el-step title="已入库"></el-step>
|
|
|
<el-step title="已出库"></el-step>
|
|
|
- </el-steps>
|
|
|
+ </el-steps> -->
|
|
|
</el-form>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -895,7 +901,7 @@
|
|
|
</el-row>
|
|
|
<el-row class="row-style">
|
|
|
<el-col :xs="24" :sm="12" :lg="12" :span="6"">
|
|
|
- <el-form-item label=" 产权持有人:" prop="theHolder" label-width="200px" class="postInfo-container-item">
|
|
|
+ <el-form-item label=" 产权持有人:" prop="theHolder" label-width="200px" class="postInfo-container-item">
|
|
|
<el-input v-model="targetForm.theHolder" class="filter-item" style="width: 100%" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
@@ -1027,11 +1033,9 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
- <el-row class="row-style">
|
|
|
- <el-button type="success" v-if="saveButtonStatus" @click="assetsTargetSave"
|
|
|
- style="width:20%;float:right">保存</el-button>
|
|
|
- <el-button type="success" v-if="updateButtonStatus" @click="assetsTargetUpdate"
|
|
|
- style="width:20%;float:right">更新</el-button>
|
|
|
+ <el-row class="row-style" style="text-align:center">
|
|
|
+ <el-button type="success" v-if="saveButtonStatus" @click="assetsTargetSave">保存</el-button>
|
|
|
+ <el-button type="success" v-if="updateButtonStatus" @click="assetsTargetUpdate">更新</el-button>
|
|
|
</el-row>
|
|
|
</el-form>
|
|
|
</div>
|
|
@@ -1069,18 +1073,17 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
- <el-row class="row-style">
|
|
|
- <el-button v-if="productionChoiceStatus == 0" @click="assetsProductionSave"
|
|
|
- style="width:100%;">提交</el-button>
|
|
|
- <el-button v-if="productionChoiceStatus == 1" @click="assetsProductionUpdateChoice"
|
|
|
- style="width:100%;">提交</el-button>
|
|
|
+ <el-row class="row-style" style="text-align:center">
|
|
|
+ <el-button type="primary" v-if="productionChoiceStatus == 0" @click="assetsProductionSave">提交</el-button>
|
|
|
+ <el-button type="primary" v-if="productionChoiceStatus == 1"
|
|
|
+ @click="assetsProductionUpdateChoice">提交</el-button>
|
|
|
</el-row>
|
|
|
</div>
|
|
|
</div>
|
|
|
</el-form>
|
|
|
</el-dialog>
|
|
|
|
|
|
- <el-dialog :visible.sync="productionWriteDialogVisible" @close="resetProductionForm">
|
|
|
+ <el-dialog :visible.sync="productionWriteDialogVisible" @open="clearassetsProductionFormValidate()" @close="resetProductionForm()">
|
|
|
<el-form ref="assetsProductionForm" :model="assetsProductionForm" :rules="assetsProductionFormRules"
|
|
|
:disabled="productionDisabledStatus">
|
|
|
<div class="createMajor-main-container">
|
|
@@ -1095,7 +1098,7 @@
|
|
|
</div>
|
|
|
<el-row class="row-style">
|
|
|
<el-col v-if="currentNode.nodeCode === 'GENERATE_STATEMENT'">
|
|
|
- <el-form-item label="产品号:" prop="productionNo" label-width="120px" class="postInfo-container-item">
|
|
|
+ <el-form-item label="产品号:" prop="productionNo" label-width="140px" class="postInfo-container-item">
|
|
|
<el-select v-model="assetsProductionForm.productionNo" @change="getAssetsProductionDetailByNo()"
|
|
|
placeholder="请选择" style="width: 300px;">
|
|
|
<el-option v-for="statementNo in writeProductionStatementNos" :label="statementNo"
|
|
@@ -1104,7 +1107,7 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col v-if="currentNode.nodeCode === 'WRITE_REPORT'">
|
|
|
- <el-form-item label="产品号:" prop="productionNo" label-width="120px" class="postInfo-container-item">
|
|
|
+ <el-form-item label="产品号:" prop="productionNo" label-width="140px" class="postInfo-container-item">
|
|
|
<el-select v-model="assetsProductionForm.productionNo" @change="getAssetsProductionDetailByNo()"
|
|
|
placeholder="请选择" style="width: 300px;">
|
|
|
<el-option v-for="reportNo in writeProductionReportNos" :label="reportNo" :value="reportNo"
|
|
@@ -1115,14 +1118,15 @@
|
|
|
</el-row>
|
|
|
<el-row class="row-style">
|
|
|
<el-col>
|
|
|
- <el-form-item label="项目名称:" prop="assetsName" label-width="120px" class="postInfo-container-item">
|
|
|
+ <el-form-item label="项目名称:" prop="assetsName" label-width="140px" class="postInfo-container-item">
|
|
|
<el-input v-model.number="assetsProductionForm.assetsName" class="filter-item" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
- <el-row class="row-style" v-if="assetsProductionForm.productionType !== 'STATEMENT'">
|
|
|
+ <el-row class="row-style"
|
|
|
+ v-if="(assetsProductionForm.productionType && assetsProductionForm.productionType !== 'STATEMENT') || (currentNode.nodeCode === 'WRITE_REPORT' && writeType === 'add')">
|
|
|
<el-col>
|
|
|
- <el-form-item label="签字人:" prop="signatory" label-width="120px" class="postInfo-container-item">
|
|
|
+ <el-form-item label="签字人:" prop="signatory" label-width="140px" class="postInfo-container-item">
|
|
|
<el-select v-model="assetsProductionForm.signatory" placeholder="请选择" multiple>
|
|
|
<el-option v-for="(u, id) in allUsers" :label="u.name" :value="u.id" :key="u.id"></el-option>
|
|
|
</el-select>
|
|
@@ -1131,21 +1135,21 @@
|
|
|
</el-row>
|
|
|
<el-row class="row-style">
|
|
|
<el-col>
|
|
|
- <el-form-item label="委托方名称:" prop="clientName" label-width="120px" class="postInfo-container-item">
|
|
|
+ <el-form-item label="委托方名称:" prop="clientName" label-width="140px" class="postInfo-container-item">
|
|
|
<el-input v-model.number="assetsProductionForm.clientName" class="filter-item" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row class="row-style">
|
|
|
<el-col>
|
|
|
- <el-form-item label="委托方电话:" prop="clientTel" label-width="120px" class="postInfo-container-item">
|
|
|
+ <el-form-item label="委托方电话:" prop="clientTel" label-width="140px" class="postInfo-container-item">
|
|
|
<el-input v-model.number="assetsProductionForm.clientTel" class="filter-item" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row class="row-style">
|
|
|
<el-col>
|
|
|
- <el-form-item label="估价基准日:" prop="valuationBasisDate" label-width="120px"
|
|
|
+ <el-form-item label="估价基准日:" prop="valuationBasisDate" label-width="140px"
|
|
|
class="postInfo-container-item">
|
|
|
<el-date-picker v-model="assetsProductionForm.valuationBasisDate" type="date" placeholder="选择日期"
|
|
|
style="width:100%">
|
|
@@ -1182,21 +1186,21 @@
|
|
|
</el-row>
|
|
|
<el-row class="row-style">
|
|
|
<el-col>
|
|
|
- <el-form-item label="资产持有人:" prop="owner" label-width="120px" class="postInfo-container-item">
|
|
|
+ <el-form-item label="资产持有人:" prop="owner" label-width="140px" class="postInfo-container-item">
|
|
|
<el-input v-model.number="assetsProductionForm.owner" class="filter-item" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row class="row-style">
|
|
|
<el-col>
|
|
|
- <el-form-item label="产品打印份数:" prop="printCount" label-width="150px" class="postInfo-container-item">
|
|
|
+ <el-form-item label="产品打印份数:" prop="printCount" label-width="140px" class="postInfo-container-item">
|
|
|
<el-input v-model.number="assetsProductionForm.printCount" class="filter-item" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row class="row-style">
|
|
|
<el-col>
|
|
|
- <el-form-item label="出具产品日期:" prop="createProductionDate" label-width="150px"
|
|
|
+ <el-form-item label="出具产品日期:" prop="createProductionDate" label-width="140px"
|
|
|
class="postInfo-container-item">
|
|
|
<el-date-picker v-model="assetsProductionForm.createProductionDate" type="date" placeholder="选择日期"
|
|
|
style="width:100%">
|
|
@@ -1206,7 +1210,7 @@
|
|
|
</el-row>
|
|
|
<el-row class="row-style">
|
|
|
<el-col>
|
|
|
- <el-form-item prop="filePath" label="资料附件:" label-width="120px" class="postInfo-container-item">
|
|
|
+ <el-form-item prop="filePath" label="资料附件:" label-width="140px" class="postInfo-container-item">
|
|
|
<el-upload action="/api/upload" :limit="3" :on-success="changeresProduction" :on-exceed="handleExceed"
|
|
|
:on-preview="handleAttachmentPreview" :before-remove="beforeRemovePro" :file-list="fileList">
|
|
|
<el-button plain type="info" round style="width: 100%">上传附件<i
|
|
@@ -1217,18 +1221,18 @@
|
|
|
</el-row>
|
|
|
<el-row class="row-style">
|
|
|
<el-col>
|
|
|
- <el-form-item label="特殊情况说明:" prop="comment" label-width="150px" class="postInfo-container-item">
|
|
|
+ <el-form-item label="特殊情况说明:" prop="comment" label-width="140px" class="postInfo-container-item">
|
|
|
<el-input v-model="assetsProductionForm.comment" :autosize="{ minRows: 4, maxRows: 4 }"
|
|
|
class="filter-item" type="textarea" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
|
|
|
- <el-row class="row-style">
|
|
|
- <el-button v-if="writeType === 'add'" @click="writeAssetsProduction()" style="width:100%;">提交</el-button>
|
|
|
+ <el-row class="row-style" style="text-align:center">
|
|
|
+ <el-button type="primary" v-if="writeType === 'add'" @click="writeAssetsProduction()">提交</el-button>
|
|
|
</el-row>
|
|
|
- <el-row class="row-style">
|
|
|
- <el-button v-if="writeType === 'edit'" @click="productionUpdate()" style="width:100%;">提交</el-button>
|
|
|
+ <el-row class="row-style" style="text-align:center">
|
|
|
+ <el-button type="primary" v-if="writeType === 'edit'" @click="productionUpdate()">提交</el-button>
|
|
|
</el-row>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -1281,9 +1285,9 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
- <el-row>
|
|
|
+ <el-row style="text-align:center">
|
|
|
<el-col>
|
|
|
- <el-button @click="checkValue()" style="width:100%;">审核定价</el-button>
|
|
|
+ <el-button type="primary" @click="checkValue()">审核定价</el-button>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</div>
|
|
@@ -1355,9 +1359,9 @@
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</div>
|
|
|
- <el-row>
|
|
|
+ <el-row style="text-align:center">
|
|
|
<el-col>
|
|
|
- <el-button style="width:100%;" @click="saveQuality()">提交</el-button>
|
|
|
+ <el-button type="primary" @click="saveQuality()">提交</el-button>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</div>
|
|
@@ -1943,7 +1947,12 @@ export default {
|
|
|
// }
|
|
|
]
|
|
|
},
|
|
|
- showDistributionButton: null
|
|
|
+ showDistributionButton: null,
|
|
|
+ canUpdateOrderBaseInfoNode:[
|
|
|
+ 'DEPARTMENT_ALLOCATION','SPOT_RECONNAISSANCE_DETERMINE_PRICE','QUOTATION_FEEDBACK',
|
|
|
+ 'PRODUCT_CHOICE','GENERATE_STATEMENT','REVIEW_STATEMENT','REEXAMINE_STATEMENT',
|
|
|
+ 'WRITE_REPORT','CHECK_REPORT','RECHECK_REPORT','FOURTH_CHECK_REPORT'
|
|
|
+ ]
|
|
|
}
|
|
|
},
|
|
|
watch: {
|
|
@@ -2362,14 +2371,14 @@ export default {
|
|
|
this.assetsEvaluationTarget = res.data;
|
|
|
this.writeProductionStatementNos = this.assetsEvaluationTarget
|
|
|
// 过滤
|
|
|
- .filter(obj => obj.statementCreateProductionDate == null || obj.statementCreateProductionDate == '')
|
|
|
+ .filter(obj => (!obj.statementCreateProductionDate && obj.statementNo))
|
|
|
// 获取
|
|
|
.map(obj => obj.statementNo)
|
|
|
// 去重
|
|
|
.filter((value, index, self) => self.indexOf(value) === index);
|
|
|
this.writeProductionReportNos = this.assetsEvaluationTarget
|
|
|
// 过滤
|
|
|
- .filter(obj => obj.reportCreateProductionDate == null || obj.reportCreateProductionDate == '')
|
|
|
+ .filter(obj => (!obj.reportCreateProductionDate && obj.reportNo))
|
|
|
// 获取
|
|
|
.map(obj => obj.reportNo)
|
|
|
// 去重
|
|
@@ -2548,12 +2557,6 @@ export default {
|
|
|
this.targetDialogVisible = false;
|
|
|
//获取评估对象列表
|
|
|
this.getAETargetListByAssetsId();
|
|
|
- // setTimeout(() => {
|
|
|
- // this.targetDialogVisible = false;
|
|
|
- // //获取评估对象列表
|
|
|
- // this.getAETargetListByAssetsId();
|
|
|
- // }, 1000);
|
|
|
-
|
|
|
}
|
|
|
})
|
|
|
}
|
|
@@ -2601,17 +2604,28 @@ export default {
|
|
|
},
|
|
|
// 删除资产评估对象
|
|
|
assetsTargetDelete(id) {
|
|
|
- this.$api.assets.assetsTargetDelete(id).then(res => {
|
|
|
- if (res.code === 200) {
|
|
|
- this.$notify({
|
|
|
- title: '成功',
|
|
|
- message: '删除资产业务评估对象成功!',
|
|
|
- type: 'success',
|
|
|
- duration: 2000
|
|
|
- });
|
|
|
- this.getAETargetListByAssetsId();
|
|
|
- }
|
|
|
- })
|
|
|
+ this.$confirm('确认删除该评估对象?', '提示', {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ type: 'warning'
|
|
|
+ }).then(() => {
|
|
|
+ this.$api.assets.assetsTargetDelete(id).then(res => {
|
|
|
+ if (res.code === 200) {
|
|
|
+ this.$notify({
|
|
|
+ title: '成功',
|
|
|
+ message: '删除资产业务评估对象成功!',
|
|
|
+ type: 'success',
|
|
|
+ duration: 2000
|
|
|
+ });
|
|
|
+ this.getAETargetListByAssetsId();
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }).catch(() => {
|
|
|
+ this.$message({
|
|
|
+ type: 'info',
|
|
|
+ message: '已取消删除'
|
|
|
+ });
|
|
|
+ });
|
|
|
},
|
|
|
// 根据不同情况打开的评估对象表单可编辑状态不同
|
|
|
changeStatus(val) {
|
|
@@ -2932,11 +2946,33 @@ export default {
|
|
|
})
|
|
|
}
|
|
|
})
|
|
|
-
|
|
|
},
|
|
|
resetProductionForm() {
|
|
|
+ this.assetsProductionForm = {
|
|
|
+ businessId: null,
|
|
|
+ productionNo: null,
|
|
|
+ productionType: null,
|
|
|
+ signatory: [],
|
|
|
+ clientName: null,
|
|
|
+ clientTel: null,
|
|
|
+ valuationBasisDate: null,
|
|
|
+ evaluateAcreage: null,
|
|
|
+ evaluatePrice: null,
|
|
|
+ evaluateAmount: null,
|
|
|
+ owner: null,
|
|
|
+ printCount: null,
|
|
|
+ createProductionDate: null,
|
|
|
+ comment: null,
|
|
|
+ filePath: [],
|
|
|
+ assetsName: null
|
|
|
+ }
|
|
|
this.fileList = [];
|
|
|
},
|
|
|
+ clearassetsProductionFormValidate() {
|
|
|
+ if (this.$refs.assetsProductionForm !== undefined) {
|
|
|
+ this.$refs.assetsProductionForm.clearValidate();
|
|
|
+ }
|
|
|
+ },
|
|
|
// 根据业务id与产品号查询产品信息
|
|
|
getProductionList() {
|
|
|
let aProListSelectDTO = new Object();
|
|
@@ -3611,4 +3647,5 @@ export default {
|
|
|
z-index: 999;
|
|
|
position: relative;
|
|
|
top: 10px;
|
|
|
-}</style>
|
|
|
+}
|
|
|
+</style>
|