Selaa lähdekoodia

大中型流程细节 优化

wucl 1 vuosi sitten
vanhempi
commit
12456395a8

+ 11 - 7
src/views/finance/fundClaim.vue

@@ -272,14 +272,14 @@
               <span>{{ row.clienteleContactName }}</span>
             </template>
           </el-table-column>
-          <el-table-column label="应收款()" align="center" width='120'>
+          <el-table-column label="应收款()" align="center" width='120'>
             <template slot-scope="{row}">
               <span>{{ row.shouldAmount }}</span>
             </template>
           </el-table-column>
-          <el-table-column label="实收款()" align="center" width='120'>
+          <el-table-column label="实收款()" align="center" width='120'>
             <template slot-scope="{row}">
-              <span>{{ row.realAmount }}</span>
+              <span style="color:red;font-weight:bold">{{ row.realAmount==null? 0 : row.realAmount }}</span>
             </template>
           </el-table-column>
           <el-table-column align="center" width='140' label="市场人员申报提成">
@@ -329,19 +329,19 @@
               <span>{{ row.clienteleName }}</span>
             </template>
           </el-table-column>
-          <el-table-column label="收费标准" align="center" width='80'>
+          <el-table-column label="收费标准(¥)" align="center" width='80'>
             <template slot-scope="{row}">
               <span>{{ row.standardAmount }}</span>
             </template>
           </el-table-column>
-          <el-table-column label="订单应收款" align="center" width='100'>
+          <el-table-column label="订单应收款(¥)" align="center" width='100'>
             <template slot-scope="{row}">
               <span>{{ row.shouldAmount }}</span>
             </template>
           </el-table-column>
-          <el-table-column label="实收款" align="center" width='80'>
+          <el-table-column label="实收款(¥)" align="center" width='80'>
             <template slot-scope="{row}">
-              <span>{{ row.realAmount }}</span>
+              <span style="color:red;font-weight:bold">{{ row.realAmount==null? 0 : row.realAmount }}</span>
             </template>
           </el-table-column>
           <el-table-column label="市场人员" align="center" width='100'>
@@ -1048,6 +1048,7 @@ export default {
           this.getMajorOrderOrProd();
           this.allotAmountDialog = false;
           this.allotProdDialog = false;
+          this.myMajorOrderDialog = false;
         } else {
           this.$notify({
             title: '失败',
@@ -1074,9 +1075,12 @@ export default {
             type: 'success',
             duration: 2000
           });
+          
           this.getMajorOrderOrProd();
           this.allotAmountDialog = false;
           this.allotProdDialog = false;
+          this.myMajorOrderDialog = false;
+          
         } else {
           this.$notify({
             title: '失败',

+ 29 - 16
src/views/finance/outWarehouseCheck.vue

@@ -29,17 +29,17 @@
             <span>{{ row.reportNo }}</span>
           </template>
         </el-table-column>
-        <el-table-column label="当前实收款(¥)" align="center" width='150'>
+        <el-table-column label="当前实收款(¥)" align="center">
           <template slot-scope="{row}">
             <span>{{ row.xrealAmount }}</span>
           </template>
         </el-table-column>
-        <el-table-column label="收费标准(¥)" align="center" width='120'>
+        <el-table-column label="收费标准(¥)" align="center">
           <template slot-scope="{row}">
             <span>{{ row.standardAmount }}</span>
           </template>
         </el-table-column>
-        <el-table-column label="申请原因" align="center" width='300' show-overflow-tooltip>
+        <el-table-column label="申请原因" align="center" show-overflow-tooltip>
           <template slot-scope="{row}">
             <span>{{ row.remark==null?'-':row.remark}}</span>
           </template>
@@ -59,45 +59,48 @@
             <span>{{ row.departmentChecker}}</span>
           </template>
         </el-table-column>
-        <el-table-column label="部门审核时间" align="center" width="160">
+        <el-table-column label="部门审核时间" align="center" >
           <template slot-scope="{row}">
             <span>{{ row.departmentCheckTime}}</span>
           </template>
         </el-table-column>
-        <el-table-column label="部门审核意见" align="center" width='150' show-overflow-tooltip>
+        <el-table-column label="部门审核意见" align="center"  show-overflow-tooltip>
           <template slot-scope="{row}">
             <span>{{ row.departmentReply==null?'-':row.departmentReply}}</span>
           </template>
         </el-table-column>
-        <!-- <el-table-column label="财务审核状态" align="center" width='150'>
+        <el-table-column label="财务审核状态" align="center">
           <template slot-scope="{row}">
             <span>{{ row.financeCheckState}}</span>
           </template>
         </el-table-column>
-        <el-table-column label="财务审核人" align="center" width='150'>
+        <el-table-column label="财务审核人" align="center" >
           <template slot-scope="{row}">
             <span>{{ row.financeChecker}}</span>
           </template>
         </el-table-column>
-        <el-table-column label="财务审核时间" align="center" width="160">
+        <el-table-column label="财务审核时间" align="center">
           <template slot-scope="{row}">
             <span>{{ row.financeCheckTime}}</span>
           </template>
         </el-table-column>
-        <el-table-column label="财务审核意见" align="center" width='150' show-overflow-tooltip>
+        <el-table-column label="财务审核意见" align="center"  show-overflow-tooltip>
           <template slot-scope="{row}">
             <span>{{ row.financeReply==null?'-':row.departmentReply}}</span>
           </template>
-        </el-table-column> -->
+        </el-table-column>
         <el-table-column v-if="taskId"
-        align = "center" fixed="right"  width='120'
+        align = "center" fixed="right" 
           label="操作">
           <template slot-scope="{row}">
             <PermissionButton menu-code="_views_do_out_warehouse_check" class-name="filter-item" type="success"
-              :page-jump="false" round size="mini" @click="doCheck(row.id)" :disabled="row.departmentCheckState" />
+              :page-jump="false" round size="mini" @click="doCheck(row.id)" :disabled="(checkType==0&&row.departmentCheckState!=null)" />
+            <PermissionButton menu-code="_views_do_out_warehouse_finance_check" class-name="filter-item" type="success"
+              :page-jump="false" round size="mini" @click="doCheck(row.id)" 
+              :disabled="!(row.financeCheckState==null && row.departmentCheckState==='审核通过')" />
           </template>
         </el-table-column>
-      </parentTable>
+      </parentTable> 
     </y-page-list-layout>
     <el-dialog :visible.sync="checkDialog" width="35%" center top="35vh" custom-class="doWarehouseClass">
       <el-form ref="checkDTO" :model="checkDTO" style="margin-left:40px">
@@ -107,7 +110,7 @@
               :rules="{required: true, message: '审核结果不能为空', trigger: 'blur'}">
                     <el-select v-model="checkDTO.state" placeholder="请选择" style="width:300px">
                       <el-option label="审核通过" value="审核通过" />
-                      <el-option label="审核拒绝" value="审核拒绝" />
+                      <el-option v-if="checkType==0" label="审核拒绝" value="审核拒绝" />
                     </el-select>
               </el-form-item >
             </el-col>
@@ -140,6 +143,15 @@ export default {
   filters: {
     
   },
+  computed:{
+    checkType(){
+      if (this.nodeCode.indexOf("FINANCE")!=-1){
+          return 1;
+      }else{
+        return 0;
+      }
+    }
+  },
   data() {
     return {
       pageData: { records: [] },
@@ -158,8 +170,7 @@ export default {
       },
       todoBusinessId:null,
       taskId:null,
-      nodeCode:null
-      
+      nodeCode:null,
     }
   },
   created() {
@@ -214,6 +225,8 @@ export default {
         this.checkDialog = true;
         this.checkDTO.id= id;
     },
+
+
     saveCheck(){
       if (this.checkDTO.id){
         this.$refs.checkDTO.validate(valid=>{

+ 42 - 37
src/views/major/detail.vue

@@ -629,14 +629,14 @@
             ref="multipleTable"
             :data="evaluateLandData"
             stripe
-            :header-row-style="{ color: '#333333' }"
+            :header-row-style="{ color: '#333333','font-size': '14px' }"
             border
             takeNumberItems
-            style="width: 100%; margin-top:20px">
+            style="width: 100%; margin-top:20px;font-size: 14px;">
             <el-table-column
               type="index"
               label="序号"
-              width="120"
+              width="50"
               align="center">
             </el-table-column>
             <el-table-column
@@ -647,8 +647,14 @@
             </el-table-column>
             <el-table-column
               prop="landType"
-              label="用途/性质"
-              width="120"
+              label="土地类型"
+              width="80"
+              align="center">
+            </el-table-column>
+            <el-table-column
+              prop="landUse"
+              label="用途"
+              width="80"
               align="center">
             </el-table-column>
             <el-table-column
@@ -666,21 +672,25 @@
             <el-table-column
               prop="plotRatio"
               label="容积率(%)"
+              width="80"
               align="center">
             </el-table-column>
             <el-table-column
               prop="useAcreage"
               label="使用权面积(㎡)"
+              width="80"
               align="center">
             </el-table-column>
             <el-table-column
               prop="evaluateValue"
               label="初步定价(万)"
+              width="80"
               align="center">
             </el-table-column>
             <el-table-column
                 prop="checked"
                 label="审核定价(万)"
+                width="80"
                 align="center">
                 <template slot-scope="scope">
                   {{scope.row.checkValue==null?'待审核':scope.row.checkValue}}
@@ -690,7 +700,7 @@
                 prop="statementNo"
                 label="价值意见书号"
                 align="center"
-                width=200
+                width=250
                 show-overflow-tooltip>
                 <template slot-scope="scope">
                  <el-tag type='success'> 
@@ -712,7 +722,7 @@
                 prop="letterNo"
                 label="复评函号"
                 align="center"
-                width=200
+                width=250
                 show-overflow-tooltip>
                 <template slot-scope="scope">
                  <el-tag> 
@@ -721,6 +731,7 @@
               </el-table-column>
             <el-table-column
               label="操作"
+              width="100"
               align="center">
               <template slot-scope="scope">
                 <el-button @click="landTargetEdit(scope.row)" type="text" size="small">
@@ -767,19 +778,20 @@
               ref="multipleTable"
               :data="evaluateLandData"
               stripe
-              :header-row-style="{ color: '#333333' }"
+              :header-row-style="{ color: '#333333','font-size': '14px' }"
               border
               takeNumberItems
-              style="width: 100%; margin-top:20px">
+              style="width: 100%; margin-top:20px;font-size: 14px;">
               <el-table-column
                 type="index"
                 label="序号"
-                width="120"
+                width="50"
                 align="center">
               </el-table-column>
               <el-table-column
                 prop="housePurpose"
                 label="用途"
+                width="80"
                 align="center"
                 show-overflow-tooltip>
                 <template slot-scope="scope">
@@ -792,6 +804,7 @@
                 prop="owner"
                 label="权利人"
                 width="120"
+                show-overflow-tooltip
                 align="center">
               </el-table-column>
               <el-table-column
@@ -803,22 +816,26 @@
               <el-table-column
                 prop="buildAcreage"
                 label="建筑面积(㎡)"
+                width="80"
                 align="center"
                 show-overflow-tooltip>
               </el-table-column>
               <el-table-column
                 prop="landAcreage"
                 label="土地面积(㎡)"
+                width="80"
                 align="center">
               </el-table-column>
               <el-table-column
                 prop="evaluateValue"
                 label="初步定价(万)"
+                width="80"
                 align="center">
               </el-table-column>
               <el-table-column
                 prop="checked"
                 label="审核定价(万)"
+                width="80"
                 align="center">
                 <template slot-scope="scope">
                   {{scope.row.checkValue==null?'待审核':scope.row.checkValue}}
@@ -828,7 +845,7 @@
                 prop="statementNo"
                 label="价值意见书号"
                 align="center"
-                width=200
+                width=250
                 show-overflow-tooltip>
                 <template slot-scope="scope">
                  <el-tag type='success'> 
@@ -850,7 +867,7 @@
                 prop="letterNo"
                 label="复评函号"
                 align="center"
-                width=200
+                width=250
                 show-overflow-tooltip>
                 <template slot-scope="scope">
                  <el-tag > 
@@ -859,6 +876,7 @@
               </el-table-column>
               <el-table-column
                 label="操作"
+                width="100"
                 align="center">
                 <template slot-scope="scope">
                   <el-button @click="landTargetEdit(scope.row)" type="text" size="small">
@@ -953,7 +971,6 @@
             <template slot-scope="props">
               <el-form label-position="left" :model="props.row" class="form-container" ref="productionFrom">
                 <div>
-                  <el-tag effect="plain" size="medium" disable-transitions><span style="font-size:16px">基本信息</span></el-tag>
                   <el-row class="row-style">
                     <el-col :xs="24" :sm="12" :lg="6" :span="6">
                       <el-form-item  
@@ -990,7 +1007,7 @@
                       </el-col>
                   </el-row>
                   <el-row class="row-style">
-                    <el-col :xs="24" :sm="12" :lg="8" :span="6">
+                    <el-col :xs="24" :sm="12" :lg="6" :span="6">
                         <el-form-item  prop="evaluateAmount"
                           :rules="{required: true, message: '评估总价不能为空', trigger: 'blur'}"
                           label-width="120px"
@@ -999,12 +1016,12 @@
                                 style="width:100%"
                               class="filter-item">
                               <template slot="append">
-                                <span>{{(props.row.evaluateAmount/10000).toFixed(4)}}万元</span>
+                                <span>元</span>
                               </template>
                             </el-input>
                         </el-form-item>
                       </el-col>
-                      <el-col :xs="24" :sm="12" :lg="8" :span="6">
+                      <el-col :xs="24" :sm="12" :lg="6" :span="6">
                         <el-form-item  prop="evaluateAcreage"
                           :rules="{required: true, message: '评估面积不能为空', trigger: 'blur'}"
                           label-width="120px"
@@ -1018,7 +1035,7 @@
                               </el-input>
                         </el-form-item>
                       </el-col>
-                      <el-col :xs="24" :sm="12" :lg="8" :span="6">
+                      <el-col :xs="24" :sm="12" :lg="6" :span="6">
                           <el-form-item  prop="evaluatePrice"
                               :rules="{required: true, message: '评估单价不能为空', trigger: 'blur'}"
                               label-width="120px"
@@ -1027,7 +1044,7 @@
                                 style="width:100%"
                                 class="filter-item" >
                                 <template slot="append">
-                                  <span>{{(props.row.evaluatePrice/10000).toFixed(4)}}万元</span>
+                                  <span>元</span>
                                 </template>
                               </el-input>
                           </el-form-item>
@@ -1089,23 +1106,6 @@
                       </el-col>
                    
                   </el-row>
-                  <el-row class="row-style">
-                    <el-col :xs="24" :sm="12" :lg="18" :span="6">
-                      <el-form-item  label="电子文档:" label-width="120px"  class="postInfo-container-item" >
-                        <el-upload action="" :limit="3" :file-list="props.row.filePathList"	>
-                        </el-upload>
-                      </el-form-item>
-                      </el-col>
-                  </el-row>
-                </div>
-                <div>
-                  <el-tag 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: 20px 1% 20px 40px">
-                    <el-step title="未入库" ></el-step>
-                    <el-step title="已入库" ></el-step>
-                    <el-step title="已出库" ></el-step>
-                  </el-steps>
                 </div>
               </el-form>
             </template>
@@ -2435,6 +2435,7 @@
           terminal:false,
           description:null
         },
+        doUpload:false
       }
     },
     created() {
@@ -2717,12 +2718,16 @@
                  this.productions = res.data;
                  this.nodeBusinessInfo.doSecondCheck =  this.productions[0].secondCheck;
                  this.nodeBusinessInfo.doThirdCheck =  this.productions[0].thirdCheck;
-                  //回显上传的文档
-                  for (let p in this.productions){
+                   //回显上传的文档
+                   for (let p in this.productions){
                       let d = JSON.parse(this.productions[p].filePath);
+                      let c = JSON.parse(this.productions[p].checkedFilePath);
                       for (let q in d){
                         this.productions[p].filePathList.push({name: d[q].name, url:d[q].url,index:p});
                       }
+                      for (let cc in c){
+                        this.productions[p].filePathList1.push({name: c[cc].name, url:c[cc].url,index:p});
+                      }
                   }
               }
             })

+ 45 - 21
src/views/major/myOrder.vue

@@ -375,12 +375,14 @@
       </span>
     </el-dialog>
     <el-dialog :visible.sync="outWarehouseListDialog" width="90%" center  custom-class="doWarehouseClass" >
-      <el-button type="danger" round @click="outWarehouseDialog = true">新增出库申请</el-button>
+      <el-button type="danger" round @click="openOutWarehouseDialog()">新增出库申请</el-button>
       <div style="margin-top:30px;">
         <el-table
           :data="outApllyList"
           stripe
-          style="width: 100%">
+          :header-row-style="{ color: '#333333','font-size':'14px' }"
+          border
+          style="width: 100%; margin-top:20px;font-size: 14px;">
           <el-table-column
           align = "center"
             prop="realAmount"
@@ -409,7 +411,7 @@
           <el-table-column
           align = "center"
             prop="created"
-            label="申请日期" width="150">
+            label="申请日期" width="200">
             <template slot-scope="{row}">
               <span>{{ row.created }}</span>
             </template>
@@ -433,7 +435,7 @@
           <el-table-column
           align = "center"
             prop="departmentCheckTime"
-            label="部门审核时间" width="150">
+            label="部门审核时间" width="200">
             <template slot-scope="{row}">
               <span>{{ row.departmentCheckTime==null?'-': row.departmentCheckTime}}</span>
             </template>
@@ -465,7 +467,7 @@
           <el-table-column
           align = "center"
             prop="financeCheckTime"
-            label="财务审核时间" width="150">
+            label="财务审核时间" width="200">
             <template slot-scope="{row}">
               <span>{{ row.financeCheckTime==null?'-':row.financeCheckTime }}</span>
             </template>
@@ -487,11 +489,11 @@
       </div>
     </el-dialog>
     <el-dialog :visible.sync="outWarehouseDialog" width="35%" center top="35vh" custom-class="doWarehouseClass" >
-      <el-form ref="outWarehouse" :model="outWarehouse" style="margin-left:40px">
+      <el-form ref="outWarehouse" :model="outWarehouse">
           <el-row>
             <el-col :xs="24" :sm="12" :lg="24" :span="12">
-                <el-form-item label="出库原因:" prop="remark"  label-width="160px" class="postInfo-container-item">
-                    <el-input style="width:300px" type="textarea" v-model="outWarehouse.remark"></el-input>
+                <el-form-item  prop="remark"  class="postInfo-container-item">
+                    <el-input placeholder="请输入出库原因"  type="textarea" v-model="outWarehouse.remark"></el-input>
                 </el-form-item>
             </el-col>
           </el-row>
@@ -503,7 +505,7 @@
     </el-dialog>
     <el-dialog :visible.sync="productionListDialog" width="55%" center  custom-class="doWarehouseClass">
       <el-collapse v-model="activeName" accordion v-if="bag.productions.length>0">
-        <el-collapse-item v-for="(r,index) in bag.productions" :name="index">
+        <el-collapse-item v-for="(r,index) in bag.productions" :name="r.productionNo">
           <template slot="title">
             <i class="el-icon-document"></i>
             <span style="font-weight:bold;margin-left:10px;margin-right:10px">{{ aliasProductionType(r.production) }}</span>
@@ -513,9 +515,10 @@
             <div slot="header" class="clearfix">
               <!-- <span style="font-size:16px;font-weight:bold;">{{aliasProductionType(r.production)}}</span> -->
               <span style="margin-left:30px;font-size:16px;font-weight:bold; color:red">实收款金额:{{r.realAmount!=null?r.realAmount:0}}¥</span>
-              <el-button v-if="(r.production!='STATEMENT' && r.repertoryState !=null && !r.repertoryState)" 
+              <el-button v-if="(r.productionNo === reportNo && r.production!='STATEMENT' && r.repertoryState !=null && !r.repertoryState)" 
                 style="float: right; padding: 3px 0;margin-left:10px" type="text" @click="openApplyOutWarehouseList(r)">出库申请</el-button>
-              <el-button v-if="r.production==='STATEMENT' && !r.delivery" style="float: right; padding: 3px 0;" type="text" @click="confirmDelivery(r.id)">确认送达</el-button>
+              <el-button v-if="r.productionNo === statementNo && !r.delivery && r.production==='STATEMENT' && r.productionNo === statementNo" style="float: right; padding: 3px 0;" 
+                type="text" @click="confirmDelivery(r.id)">确认送达</el-button>
             </div>
             <el-form :model="r">
               <el-row>
@@ -693,6 +696,7 @@ export default {
   filters: {
     
   },
+
   data() {
     return {
       pageData: { records: [] },
@@ -748,7 +752,8 @@ export default {
         id:null,
         productionFundId:null,
         remark:null,
-        realAmount:null
+        realAmount:null,
+        standardAmount:null
       },
       outApllyList:[],
       bag:{
@@ -757,7 +762,7 @@ export default {
         reportNo:null,
         productions:[]
       },
-      activeName: '0',
+      activeName: null,
       todoBusinessId:null,
       taskId:null,
       orderProduction:{
@@ -809,9 +814,11 @@ export default {
     if(this.todoBusinessId){
       this.productionListDialog = true;
       this.productionList(this.todoBusinessId,this.reportNo==null?this.statementNo:this.reportNo)
+      this.activeName = this.reportNo==null?this.statementNo:this.reportNo
     }
   },
   methods: {
+
   
     resetSearch() {
       this.$router.push({ query: {} });
@@ -1044,13 +1051,34 @@ export default {
       })
     },
     openApplyOutWarehouseList(row){
-      this.getListByBizTypeProductionId('MAJOR_BUSINESS',row.id)
+      this.getListByBizTypeProductionId('MAJOR_BUSINESS',row.id);
       this.outWarehouseListDialog = true;
       this.outWarehouse.productionFundId= row.productionFundId;
       this.outWarehouse.realAmount = row.realAmount
       this.outWarehouse.ifProductionFund = row.realAmount!=null
       this.outWarehouse.id = row.id;
       this.outWarehouse.businessType = 'MAJOR_BUSINESS';
+      this.outWarehouse.standardAmount = row.standardAmount;
+    },
+    openOutWarehouseDialog(){
+      if (this.outApllyList.length >0){
+        const applys = this.outApllyList;
+        for (let i in applys){
+          if (applys[i].departmentCheckState==null && applys[i].financeCheckState==null){
+            this.$notify({
+                title: '提示',
+                message: '存在待审核的申请,请勿重复申请。',
+                type: 'info',
+                duration: 2000
+              });
+              return;
+          }
+        }
+        this.outWarehouseDialog = true;
+      }else {
+        this.outWarehouseDialog = true
+      }
+     
     },
     getApplyOutList(productionFundId){
         this.$api.productionOutWarehouse.getList(productionFundId).then(res=>{
@@ -1081,6 +1109,7 @@ export default {
             this.commitNode();
             this.outWarehouseDialog = false;
             this.outWarehouseListDialog = false;
+            this.productionListDialog = false;
         }else {
           this.$notify({
               title: '失败',
@@ -1161,14 +1190,9 @@ export default {
               type: 'success',
               duration: 2000
             });
+            this.productionListDialog = false;
             this.commitNode();
-            // if (this.bag.businessId){
-            //     this.$api.businessProduction.bag(this.bag.businessId,this.reportNo).then(res=>{
-            //       if (res.code === 200){
-            //           this.bag = res.data;
-            //       }
-            //     })
-            // }
+            
           }else {
             this.$notify({
             title: '失败',

+ 141 - 62
src/views/major/todoDetail.vue

@@ -641,10 +641,10 @@
             ref="multipleTable"
             :data="evaluateLandData"
             stripe
-            :header-row-style="{ color: '#333333' }"
+            :header-row-style="{ color: '#333333','font-size': '14px'}"
             border
             takeNumberItems
-            style="width: 100%; margin-top:20px"
+            style="width: 100%; margin-top:20px;font-size: 14px;"
             @selection-change="handleSelectionChange">
             <el-table-column
               v-if="ifTakeNumber"
@@ -656,7 +656,7 @@
             <el-table-column
               type="index"
               label="序号"
-              width="80"
+              width="50"
               align="center">
             </el-table-column>
             <el-table-column
@@ -668,13 +668,13 @@
             <el-table-column
               prop="landType"
               label="土地类型"
-              width="120"
+              width="80"
               align="center">
             </el-table-column>
             <el-table-column
               prop="landUse"
               label="用途"
-              width="120"
+              width="80"
               align="center">
             </el-table-column>
             <el-table-column
@@ -692,21 +692,25 @@
             <el-table-column
               prop="plotRatio"
               label="容积率"
+              width="80"
               align="center">
             </el-table-column>
             <el-table-column
               prop="useAcreage"
               label="使用权面积(㎡)"
+              width="80"
               align="center">
             </el-table-column>
             <el-table-column
               prop="evaluateValue"
               label="初步定价(万)"
+              width="80"
               align="center">
             </el-table-column>
             <el-table-column
               prop="checked"
               label="审核定价(万)"
+              width="80"
               align="center">
               <template slot-scope="scope">
                   {{scope.row.checkValue==null?'待审核':scope.row.checkValue}}
@@ -716,7 +720,7 @@
                 prop="statementNo"
                 label="价值意见书号"
                 align="center"
-                width="200">
+                width="250">
                 <template slot-scope="scope">
                  <el-tag type='success'> 
                   {{scope.row.statementNo==null?'未取号':scope.row.statementNo}}</el-tag>
@@ -736,7 +740,7 @@
                 prop="letterNo"
                 label="复评函号"
                 align="center"
-                width="200">
+                width="250">
                 <template slot-scope="scope">
                  <el-tag type='primary'> 
                   {{scope.row.letterNo==null?'未取号':scope.row.letterNo}}</el-tag>
@@ -812,10 +816,10 @@
               ref="multipleTable"
               :data="evaluateLandData"
               stripe
-              :header-row-style="{ color: '#333333' }"
+              :header-row-style="{ color: '#333333','font-size': '14px' }"
               border
               takeNumberItems
-              style="width: 100%; margin-top:20px"
+              style="width: 100%; margin-top:20px;font-size: 14px;"
               @selection-change="handleSelectionChange">
               <el-table-column
                 v-if="ifTakeNumber"
@@ -827,12 +831,13 @@
               <el-table-column
                 type="index"
                 label="序号"
-                width="80"
+                width="50"
                 align="center">
               </el-table-column>
               <el-table-column
                 prop="housePurpose"
                 label="用途"
+                width="80"
                 align="center"
                 show-overflow-tooltip>
                 <template slot-scope="scope">
@@ -845,6 +850,7 @@
                 prop="owner"
                 label="权利人"
                 width="120"
+                show-overflow-tooltip
                 align="center">
               </el-table-column>
               <el-table-column
@@ -856,22 +862,26 @@
               <el-table-column
                 prop="buildAcreage"
                 label="建筑面积(㎡)"
+                width="80"
                 align="center"
                 show-overflow-tooltip>
               </el-table-column>
               <el-table-column
                 prop="landAcreage"
                 label="土地面积(㎡)"
+                width="80"
                 align="center">
               </el-table-column>
               <el-table-column
                 prop="evaluateValue"
                 label="初步定价(万)"
+                width="80"
                 align="center">
               </el-table-column>
               <el-table-column
                 prop="checked"
                 label="审核定价(万)"
+                width="80"
                 align="center">
                 <template slot-scope="scope">
                   {{scope.row.checkValue==null?'待审核':scope.row.checkValue}}
@@ -881,7 +891,7 @@
                 prop="statementNo"
                 label="价值意见书号"
                 align="center"
-                width="200">
+                width="250">
                 <template slot-scope="scope">
                  <el-tag type='success'> 
                   {{scope.row.statementNo==null?'未取号':scope.row.statementNo}}</el-tag>
@@ -910,6 +920,7 @@
               </el-table-column>
               <el-table-column
                 label="操作"
+                width="100"
                 align="center">
                 <template slot-scope="scope">
                   <el-button @click="landTargetEdit(scope.row)" type="text" size="small">
@@ -941,7 +952,9 @@
                         class="postInfo-container-item"
                       >
                         <el-checkbox-group v-model="feedback.production" style="width:300px">
-                          <el-checkbox-button label="STATEMENT" name="production">价值意见书</el-checkbox-button>
+                          <el-tooltip class="item" effect="dark" content="意见书已送达,无法取消此类型产品!" placement="top-start">
+                            <el-checkbox-button label="STATEMENT" name="production">价值意见书</el-checkbox-button>
+                          </el-tooltip>
                           <el-checkbox-button label="REPORT" name="production">报告</el-checkbox-button>
                           <el-checkbox-button label="LETTER" name="production">复评函</el-checkbox-button>
                           <el-tooltip class="item" effect="dark" content="只出具价值意见书,不再出具其他产品。" placement="top-start">
@@ -1008,16 +1021,19 @@
           :data="productions"
           stripe
           ref = "pTable"
-          :header-row-style="{ color: '#333333' }"
+          :header-row-style="{ color: '#333333' ,'font-size': '16px' }"
           @selection-change="selectioProductionChange"
           @row-dblclick="expandRow"
           border
-          style="width: 99%; margin-top:20px;">
-          <el-table-column type="expand">
-            <template slot-scope="props">
-              <el-form label-position="left" :model="props.row" class="form-container" ref="productionFrom" :rules="rules">
+          style="width: 99%; margin-top:20px; font-size: 16px;">
+          <el-table-column type="expand" style="background-color: red">
+            <template slot-scope="props" >
+              <el-form label-position="left" :model="props.row" class="form-container"  ref="productionFrom" :rules="rules">
                 <div>
-                  <el-tag effect="plain" size="medium" disable-transitions><span style="font-size:16px">基本信息</span></el-tag>
+                  <!-- <el-tag effect="plain" size="medium" disable-transitions><span style="font-size:16px ; margin-top:10px">基本信息</span></el-tag> -->
+                  <div style="margin-left:10px;margin-bottom:10px;margin-top:10px">
+                    <el-button round type="danger"  @click="saveProduction(props.row)">更新产品信息</el-button>
+                  </div>  
                   <el-row class="row-style">
                     <el-col :xs="24" :sm="12" :lg="6" :span="6">
                       <el-form-item  
@@ -1053,7 +1069,7 @@
                       </el-col>
                   </el-row>
                   <el-row class="row-style">
-                    <el-col :xs="24" :sm="12" :lg="8" :span="6">
+                    <el-col :xs="24" :sm="12" :lg="6" :span="6">
                         <el-form-item  prop="evaluateAmount"
                           label-width="120px"
                           class="postInfo-container-item" label="评估总价:">
@@ -1061,12 +1077,12 @@
                                 style="width:100%"
                               class="filter-item">
                               <template slot="append">
-                                <span>{{(props.row.evaluateAmount/10000).toFixed(4)}}万</span>
+                                <span></span>
                               </template>
                             </el-input>
                         </el-form-item>
                       </el-col>
-                      <el-col :xs="24" :sm="12" :lg="8" :span="6">
+                      <el-col :xs="24" :sm="12" :lg="6" :span="6">
                         <el-form-item  prop="evaluateAcreage"
                           label-width="120px"
                           class="postInfo-container-item" label="评估面积:">
@@ -1079,7 +1095,7 @@
                               </el-input>
                         </el-form-item>
                       </el-col>
-                      <el-col :xs="24" :sm="12" :lg="8" :span="6">
+                      <el-col :xs="24" :sm="12" :lg="6" :span="6">
                           <el-form-item  prop="evaluatePrice"
                               label-width="120px"
                               class="postInfo-container-item" label="评估单价:">
@@ -1088,7 +1104,7 @@
                                 readonly disabled
                                 class="filter-item" >
                                 <template slot="append">
-                                  <span>{{(props.row.evaluatePrice/10000).toFixed(4)}}万</span>
+                                  <span></span>
                                 </template>
                               </el-input>
                           </el-form-item>
@@ -1114,7 +1130,7 @@
                         </el-form-item>
                     </el-col>
                     <el-col :xs="24" :sm="12" :lg="6" :span="6" v-if="props.row.production==='REPORT'">
-                        <el-form-item  prop="signatory"
+                        <el-form-item  prop="signatoryId" :rules="{required: true, message: '签字人不能为空', trigger: 'blur'}"
                         label-width="120px"
                         class="postInfo-container-item" label="签字人:" >
                           <el-select v-model="props.row.signatoryId" 
@@ -1127,7 +1143,7 @@
                         </el-form-item>
                     </el-col>
                     <el-col :xs="24" :sm="12" :lg="6" :span="6" v-else>
-                        <el-form-item  prop="signatory"
+                        <el-form-item  prop="signatoryId"
                         label-width="120px"
                         class="postInfo-container-item">
                         </el-form-item>
@@ -1151,20 +1167,31 @@
                    
                   </el-row>
                   <el-row class="row-style" v-if="doUpload">
-                    <el-col :xs="24" :sm="12" :lg="18" :span="6">
-                      <el-form-item  label="电子文档:" label-width="120px"  class="postInfo-container-item" >
+                    <el-col :xs="24" :sm="12" :lg="8" :span="6">
+                      <el-form-item  label="产品初稿:" label-width="120px"  class="postInfo-container-item" >
                         <el-upload
                           action="/api/upload"
                           :limit="3" :on-success="changeres" :on-exceed="handleExceed" :on-preview="handleAttachmentPreview"
                           :file-list="props.row.filePathList" :before-remove="beforeRemove"	>
-                          <el-button plain type="info" round style="width: 100%" >上传电子文档<i class="el-icon-upload el-icon--right"></i></el-button>
+                          <el-button plain type="info" round style="width: 100%" >上传<i class="el-icon-upload el-icon--right"></i></el-button>
+                        </el-upload>
+                      </el-form-item>
+                      </el-col>
+
+                      <el-col :xs="24" :sm="12" :lg="8" :span="6">
+                      <el-form-item  label="产品审核稿:" label-width="140px"  class="postInfo-container-item" >
+                        <el-upload
+                          action="/api/upload"
+                          :limit="3" :on-success="changeres1" :on-exceed="handleExceed" :on-preview="handleAttachmentPreview"
+                          :file-list="props.row.filePathList1" :before-remove="beforeRemove1"	>
+                          <el-button plain type="info" round style="width: 100%" >上传<i class="el-icon-upload el-icon--right"></i></el-button>
                         </el-upload>
                       </el-form-item>
                       </el-col>
                   </el-row>
                 </div>
                 <div>
-                  <el-tag effect="plain" size="medium" disable-transitions><span style="font-size:16px">库存状态</span></el-tag>
+                  <!-- <el-tag effect="plain" size="medium" disable-transitions><span style="font-size:16px">库存状态</span></el-tag> -->
                   <el-row class="row-style" v-if="doWare">
                     <el-col :xs="24" :sm="12" :lg="4" :span="6">
                       <el-form-item  label="出入库操作:" label-width="120px"  class="postInfo-container-item" >
@@ -1174,18 +1201,13 @@
                       </el-form-item>
                     </el-col>
                   </el-row>
-                  <el-steps :active="props.row.repertoryState==null?0:(props.row.repertoryState?2:1)" 
+                  <!-- <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> -->
                 </div>
-                <el-row class="row-style">
-                  <el-col :xs="24" :sm="12" :lg="6" :span="6">
-                      <el-button plain  round  style="width:50%;letter-spacing:4px" type="success" @click="saveProduction(props.row)">更新产品信息</el-button>
-                    </el-col>
-                </el-row>
               </el-form>
             </template>
           </el-table-column>
@@ -1200,7 +1222,7 @@
             prop="reportNo"
             align="center">
             <template slot-scope="props">
-               <el-tag type="danger"><span style="font-size:16px">{{props.row.reportNo}}</span></el-tag>
+               <el-tag type="danger">{{props.row.reportNo}}</el-tag>
             </template>
           </el-table-column>
           <el-table-column
@@ -1208,7 +1230,7 @@
             prop="name"
             align="center">
             <template slot-scope="props">
-                <span style="font-size:16px">{{props.row.name}}</span>
+                {{props.row.name}}
             </template>
           </el-table-column>
           <el-table-column
@@ -1216,7 +1238,7 @@
             prop="production"
             align="center">
             <template slot-scope="props">
-               <span style="font-size:16px">{{aliasProductionType(props.row.production)}}</span>
+               {{aliasProductionType(props.row.production)}}
             </template>
           </el-table-column>
           <el-table-column
@@ -1224,8 +1246,8 @@
             prop="name"
             align="center">
             <template slot-scope="props">
-                <i v-if="props.row.name" style="font-size:20px; color:green" class="el-icon-success"></i>
-                <i v-else style="font-size:20px; color:red" class="el-icon-error"></i>
+                <i v-if="props.row.name" style="color:green" class="el-icon-success"></i>
+                <i v-else style="color:red" class="el-icon-error"></i>
             </template>
           </el-table-column>
         </el-table>
@@ -2047,10 +2069,6 @@
             }
             else if(this.currentNode.nodeCode === 'STATEMENT_FEEDBACK' && !ps.includes("STATEMENT")){
               this.feedback.production.push("STATEMENT");
-              this.$message({
-                message: '警告,意见书已送达,无法取消此类型产品!',
-                type: 'error'
-              });
               this.validFeed = true;
             }
             else if (ps.includes("REPORT") && ps.includes("LETTER")){
@@ -2121,9 +2139,9 @@
           if (evaluate.includes(nodeCode)){
             return 'evaluate'
           }
-          if (check.includes(nodeCode)){
-            return 'quality'
-          }
+          // if (check.includes(nodeCode)){
+          //   return 'quality'
+          // }
           return 'producution'
         },
         set(){}
@@ -3016,9 +3034,13 @@
                   //回显上传的文档
                   for (let p in this.productions){
                       let d = JSON.parse(this.productions[p].filePath);
+                      let c = JSON.parse(this.productions[p].checkedFilePath);
                       for (let q in d){
                         this.productions[p].filePathList.push({name: d[q].name, url:d[q].url,index:p});
                       }
+                      for (let cc in c){
+                        this.productions[p].filePathList1.push({name: c[cc].name, url:c[cc].url,index:p});
+                      }
                   }
                   //显示出入库操作按钮
                   let wareHoseNodes = ['STATEMENT_IN','STATEMENT_OUT','REPORT_IN','REPORT_OUT','LETTER_IN','LETTER_OUT']
@@ -3026,7 +3048,8 @@
                       this.doWare = true;
                   }
                   //显示上传附件按钮
-                  let writeNodes = ['WRITE_STATEMENT','WRITE_REPORT','WRITE_LETTER']
+                  let writeNodes = ['WRITE_STATEMENT','WRITE_REPORT','WRITE_LETTER','CHECK_STATEMENT','CHECK_REPORT','CHECK_LETTER'
+                  ,'RECHECK_STATEMENT','THIRD_CHECK_STATEMENT','RECHECK_REPORT','THIRD_CHECK_REPORT','RECHECK_LETTER','THIRD_CHECK_LETTER']
                   if (writeNodes.includes(currentNodeCode)){
                       this.doUpload = true;
                   }
@@ -3044,22 +3067,16 @@
           case 'WRITE_STATEMENT':
           case 'WRITE_REPORT':
           case 'WRITE_LETTER':
-            this.caseEditProduction(production);
-            break;
           case 'CHECK_STATEMENT':
           case 'CHECK_REPORT':
           case 'CHECK_LETTER':
-            this.caseFirstCheck(production);
-            break;
           case 'RECHECK_STATEMENT':
           case 'RECHECK_REPORT':
           case 'RECHECK_LETTER':
-            this.caseSecondCheck(production);
-            break;
           case 'THIRD_CHECK_STATEMENT':
           case 'THIRD_CHECK_REPORT':
           case 'THIRD_CHECK_LETTER':
-            this.caseThirdCheck(production);
+            this.caseEditProduction(production);
             break;
           case 'CHECK_ARCHIVING':
             this.caseCheckArchiving(production);
@@ -3086,12 +3103,45 @@
           index = (this.productions.length)-1;
         }
         if (res.code===200){
-          this.productions[index].filePathList.push({name:file.name,url:res.data.url});
+          this.productions[index].filePathList = [];
+          for(let i in fileList){
+            if (fileList[i].response){
+              this.productions[index].filePathList.push({name:fileList[i].name,url:fileList[i].response.data.url});
+            }else{
+              this.productions[index].filePathList.push({name:fileList[i].name,url:fileList[i].url});
+            }
+          }
           this.productions[index].filePath = JSON.stringify(this.productions[index].filePathList);
         }else {
           this.$notify({
             title: '错误',
-            message: '电子文档上传失败',
+            message: '产品上传失败',
+            type: 'error',
+            duration: 2000
+          });
+          fileList.pop();
+        }
+        
+      },
+      changeres1(res, file,fileList) {
+        let index = fileList[0].index;
+        if (typeof(index) === 'undefined'){
+          index = (this.productions.length)-1;
+        }
+        if (res.code===200){
+          this.productions[index].filePathList1= [];
+          for(let i in fileList){
+            if (fileList[i].response){
+              this.productions[index].filePathList1.push({name:fileList[i].name,url:fileList[i].response.data.url});
+            }else{
+              this.productions[index].filePathList1.push({name:fileList[i].name,url:fileList[i].url});
+            }
+          }
+          this.productions[index].checkedFilePath = JSON.stringify(this.productions[index].filePathList1);
+        }else {
+          this.$notify({
+            title: '错误',
+            message: '产品上传失败',
             type: 'error',
             duration: 2000
           });
@@ -3114,6 +3164,16 @@
         let xPaths = paths.filter(item=>item.url !== file.url);
         this.productions[index].filePath = JSON.stringify(xPaths);
       },
+      beforeRemove1(file, fileList) {
+        let index = fileList[0].index;
+        if (typeof(index) === 'undefined'){
+          index = (this.productions.length)-1;
+        }
+        let paths = JSON.parse(this.productions[index].checkedFilePath);
+        let xPaths = paths.filter(item=>item.url !== file.url);
+        this.productions[index].checkedFilePath = JSON.stringify(xPaths);
+      },
+
       caseEditProduction(production){
         let po =  this.productions.filter(function(i){
             return i.id!=production.id;
@@ -3325,7 +3385,8 @@
               let selected = this.productions.filter(function(e){
                 return e.reportNo === commit.businessSubId
               })
-              if (!selected[0].name){
+              if (!selected[0].name || !selected[0].clientName || !selected[0].clientTel || !selected[0].clientAddress || !selected[0].evaluateAmount || !selected[0].evaluateAcreage
+              || !selected[0].owner || !selected[0].valueTiming ){
                 this.$notify({
                           title: '提示',
                           message: '请完成所选产品的基本信息后,再进行流程提交。',
@@ -3366,7 +3427,8 @@
               let selected1 = this.productions.filter(function(e){
                 return e.reportNo === commit.businessMinId
               })
-              if (!selected1[0].name){
+              if (!selected1[0].name || !selected1[0].clientName || !selected1[0].clientTel || !selected1[0].clientAddress || !selected1[0].evaluateAmount || !selected1[0].evaluateAcreage
+              || !selected1[0].owner || !selected1[0].valueTiming || !selected1[0].signatory ){
                 this.$notify({
                           title: '提示',
                           message: '请完成所选产品的基本信息后,再进行流程提交。',
@@ -3377,6 +3439,7 @@
                   callback(verify);
                   return ;
               }
+             
               break;
             case 'WRITE_LETTER':
                let notTakeLetterNumberTargets = this.evaluateLandData.filter(function(e){
@@ -3407,7 +3470,8 @@
               let selected2 = this.productions.filter(function(e){
                 return e.reportNo === commit.businessMinId
               })
-              if (!selected2[0].name){
+              if (!selected2[0].name || !selected2[0].clientName || !selected2[0].clientTel || !selected2[0].clientAddress || !selected2[0].evaluateAmount || !selected2[0].evaluateAcreage
+              || !selected2[0].owner || !selected2[0].valueTiming){
                 this.$notify({
                           title: '提示',
                           message: '请完成所选产品的基本信息后,再进行流程提交。',
@@ -3422,7 +3486,7 @@
             case "CHECK_STATEMENT":
             case "CHECK_REPORT":
             case "CHECK_LETTER":
-               if (!verify.nextHandlerId){
+               if (commit.doSecondCheck!='不审' && !verify.nextHandlerId){
                   verify.state = false;
                   callback(verify);
                   this.chooseSecondCheckerDialog = true
@@ -3435,6 +3499,21 @@
                   })
                   return ;
                }
+            case "REVIEW_QUOTATION":
+              let notCheckValueTargets = this.evaluateLandData.filter(function(e){
+                 return e.checkValue ==null;
+               })
+               if (notCheckValueTargets.length>0){
+                this.$notify({
+                          title: '提示',
+                          message: '还有有估价对象价格未审核。',
+                          type: 'error',
+                          duration: 2000
+                        });
+                        verify.state = false;
+                  callback(verify);
+                  return ;
+               }
           }
           callback(verify);
         }