|
@@ -39,7 +39,7 @@
|
|
|
@click="commit('RESTART')" :disabled="!nodeBusinessInfo.doWorkflow">重置</el-button>
|
|
|
<el-button class="y-save" round type="info" @click="goBack">返回</el-button>
|
|
|
</div>
|
|
|
- <el-tabs v-model="activeTagName" @tab-click="handleClick" type="border-card">
|
|
|
+ <el-tabs v-model="activeTabName" @tab-click="handleClick" type="border-card">
|
|
|
<el-tab-pane name="baseInfo" class="pane-class" :lazy=true>
|
|
|
<span slot="label"><i class="el-icon-document"></i>基本信息</span>
|
|
|
<y-detail-page-layout ref="addAssetsOrder" name="assets">
|
|
@@ -488,22 +488,22 @@
|
|
|
</h3>
|
|
|
</el-divider>
|
|
|
</div>
|
|
|
- <span style="margin-top: 5px;" v-if="currentNode.nodeCode === 'GENERATE_STATEMENT' && couldEdit">
|
|
|
+ <div style="margin-top: 30px; color: red;" v-if="currentNode.nodeCode === 'GENERATE_STATEMENT' && couldEdit">
|
|
|
选择要提交的意见书:
|
|
|
<el-select v-model="commitProductionNo" @change="pushProductionNo()" placeholder="请选择要提交的产品"
|
|
|
style="width: 300px;">
|
|
|
<el-option v-for="(pro, productionNo) in assetsProductionData" v-if="pro.productionType == 'STATEMENT'"
|
|
|
:label="pro.productionNo" :value="pro.productionNo" :key="pro.id"></el-option>
|
|
|
</el-select>
|
|
|
- </span>
|
|
|
- <span v-if="currentNode.nodeCode === 'WRITE_REPORT' && couldEdit">
|
|
|
+ </div>
|
|
|
+ <div style="margin-top: 30px; color: red;" v-if="currentNode.nodeCode === 'WRITE_REPORT' && couldEdit">
|
|
|
选择要提交的报告:
|
|
|
<el-select v-model="commitProductionNo" @change="pushProductionNo()" placeholder="请选择要提交的产品"
|
|
|
style="width: 300px;">
|
|
|
<el-option v-for="(pro, productionNo) in assetsProductionData" v-if="pro.productionType !== 'STATEMENT'"
|
|
|
:label="pro.productionNo" :value="pro.productionNo" :key="pro.id"></el-option>
|
|
|
</el-select>
|
|
|
- </span>
|
|
|
+ </div>
|
|
|
<div style="margin-top: 30px;">
|
|
|
<span v-if="currentNode.nodeCode === 'STATEMENT_BOOKBINDING_STAMP'">
|
|
|
<span v-for="pro in assetsProductionData" :key="pro.id" style="color: red;">
|
|
@@ -865,7 +865,8 @@
|
|
|
<el-row class="row-style">
|
|
|
<el-col :xs="24" :sm="12" :lg="12" :span="6" style="width: 350px;">
|
|
|
<el-form-item label="评估对象:" prop="evaluationTypeId" label-width="120px" class="postInfo-container-item">
|
|
|
- <el-select v-model="targetForm.evaluationTypeId" @change="getTypeList(targetForm.evaluationTypeId, 2)">
|
|
|
+ <el-select v-model="targetForm.evaluationTypeId"
|
|
|
+ @change="getTypeList(targetForm.evaluationTypeId, 2), targetForm.evaluationTypeSecId = null">
|
|
|
<el-option v-for="(t, id) in assetsEvaluationTargetType" :label="t.typeName" :value="t.id"
|
|
|
:key="t.id"></el-option>
|
|
|
</el-select>
|
|
@@ -1068,7 +1069,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="120px" 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"
|
|
@@ -1077,7 +1078,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="120px" 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"
|
|
@@ -1420,6 +1421,8 @@ export default {
|
|
|
if (this.assetsProductionForm.signatory !== undefined && this.assetsProductionForm.signatory !== null) {
|
|
|
if (this.assetsProductionForm.signatory.length < 2) {
|
|
|
return callback(new Error('需至少选择两个签字人'));
|
|
|
+ } else {
|
|
|
+ callback();
|
|
|
}
|
|
|
}
|
|
|
};
|
|
@@ -1496,7 +1499,7 @@ export default {
|
|
|
},
|
|
|
workflowLogs: [],
|
|
|
activeName: 'workflowInfo',
|
|
|
- activeTagName: "baseInfo",
|
|
|
+ activeTabName: "baseInfo",
|
|
|
nodeBusinessInfo: {
|
|
|
currentNodePermission: {
|
|
|
commit: true,
|
|
@@ -1824,7 +1827,7 @@ export default {
|
|
|
],
|
|
|
signatory: [
|
|
|
{ required: true, message: '请选择签字人', trigger: 'change' },
|
|
|
- { required: true, validator: this.checkSignatoryLength, trigger: 'change' }
|
|
|
+ { required: true, validator: checkSignatoryLength, trigger: 'change' }
|
|
|
],
|
|
|
clientName: [
|
|
|
{ required: true, message: '请填写委托方名称', trigger: 'blur' }
|
|
@@ -1841,6 +1844,9 @@ export default {
|
|
|
// evaluatePrice: [
|
|
|
// { required: true, message: '请填写评估单价', trigger: 'blur' }
|
|
|
// ],
|
|
|
+ evaluateAmount: [
|
|
|
+ { required: true, message: '请填写评估总价', trigger: 'blur' }
|
|
|
+ ],
|
|
|
owner: [
|
|
|
{ required: true, message: '请填写持有人', trigger: 'blur' }
|
|
|
],
|
|
@@ -1917,6 +1923,9 @@ export default {
|
|
|
this.disabledStatus = this.$route.query.disabledStatus === 'true';
|
|
|
this.couldEdit = this.$route.query.couldEdit === 'true';
|
|
|
this.couldBack = this.$route.query.couldBack === 'true';
|
|
|
+ if(this.$route.query.activeTabName !== null && this.$route.query.activeTabName !== undefined){
|
|
|
+ this.activeTabName = this.$route.query.activeTabName;
|
|
|
+ }
|
|
|
this.nodeBusinessInfo.doWorkflow = true;
|
|
|
// 获取页面参数
|
|
|
this.pageParams.back = this.$route.query.back;
|
|
@@ -2679,6 +2688,7 @@ export default {
|
|
|
},
|
|
|
// 资产产品意见书取号
|
|
|
takeAssetsStatementProductionNo() {
|
|
|
+ this.takeAssetsProductionNoDTO.allTargetIdList = this.assetsEvaluationTarget.map(item => item.id);
|
|
|
// 提交的要取号数组长度与table长度一致则是全部取号
|
|
|
if (this.takeAssetsProductionNoDTO.targetIdList.length === this.assetsEvaluationTarget.length) {
|
|
|
this.takeAssetsProductionNoDTO.selectAll = true;
|
|
@@ -2785,8 +2795,8 @@ export default {
|
|
|
this.productionDisabledStatus = status;
|
|
|
this.writeType = type;
|
|
|
},
|
|
|
- // 根据业务id与产品号获取资产产品详细信息
|
|
|
- getAssetsProductionDetailByNo(index) {
|
|
|
+ // 根据业务id与产品号获取资产产品信息并初始化表单
|
|
|
+ getAssetsProductionDetailByNo() {
|
|
|
let assetsProductionDetailDTO = new Object();
|
|
|
assetsProductionDetailDTO.businessId = this.assetsForm.id;
|
|
|
assetsProductionDetailDTO.productionNo = this.assetsProductionForm.productionNo;
|
|
@@ -3384,7 +3394,7 @@ export default {
|
|
|
cancelButtonText: '取消',
|
|
|
type: 'warning'
|
|
|
}).then(() => {
|
|
|
- if(this.assetsForm.members){
|
|
|
+ if (this.assetsForm.members) {
|
|
|
this.assetsForm.members = JSON.stringify(this.assetsForm.members);
|
|
|
}
|
|
|
this.$api.assets.updateOrderBaseInfo(this.assetsForm).then(res => {
|