소스 검색

个贷修改

wucl 6 달 전
부모
커밋
b28ff1a811
4개의 변경된 파일10개의 추가작업 그리고 7개의 파일을 삭제
  1. 2 1
      src/components/personalForms/landCertificate.vue
  2. 1 0
      src/layout/components/Navbar.vue
  3. 1 1
      src/views/major/detail.vue
  4. 6 5
      src/views/personal/todoDetail.vue

+ 2 - 1
src/components/personalForms/landCertificate.vue

@@ -66,7 +66,7 @@
               <el-col :xs="24" :sm="12" :lg="6" :span="6">
                 <el-form-item label="终止日期:" prop="limitDateD" label-width="140px" type="date" value-format="yyyy-MM-dd"
                   class="postInfo-container-item" :rules="{ required: true, message: '终止日期不能为空', trigger: 'blur' }">
-                  <el-date-picker v-model="certificate.limitDateD" type="date" style="width: 100%;" placeholder="选择日期">
+                  <el-date-picker v-model="certificate.limitDateD" type="date" value-format="yyyy-MM-dd" style="width: 100%;" placeholder="选择日期">
                   </el-date-picker>
                 </el-form-item>
               </el-col>
@@ -134,6 +134,7 @@ export default {
     },
   },
   created() {
+    console.log(this.landCertificateObject)
     this.certificate.id = this.id;
     if (this.landCertificateObject) {
       this.certificate = this.landCertificateObject;

+ 1 - 0
src/layout/components/Navbar.vue

@@ -371,5 +371,6 @@ export default {
 .message-area {
   border-radius: 10px;
   overflow-y: scroll;
+  height: 800px;
 }
 </style>

+ 1 - 1
src/views/major/detail.vue

@@ -1095,7 +1095,7 @@
                         label-width="120px"
                         class="postInfo-container-item" label="价值时点:">
                           <el-date-picker
-                          v-model="props.row.valueTiming" type="date" placeholder="选择日期" style="width:100%"   :readonly = "!pgLeader"
+                          v-model="props.row.valueTiming" type="date" value-format="yyyy-MM-dd"  placeholder="选择日期" style="width:100%"   :readonly = "!pgLeader"
                           :disabled="!pgLeader">
                           </el-date-picker>
                         </el-form-item>

+ 6 - 5
src/views/personal/todoDetail.vue

@@ -1154,7 +1154,6 @@ export default {
     },
     personal: {
       handler(newVal, oldVal) {
-        console.log(newVal,'personal')
         if (newVal.outwardStaff) {
           this.outwardStaffTip = false;
         } else {
@@ -1692,9 +1691,11 @@ export default {
             this.target = res.data;
             //如果没有单价,则只用总价。 个贷多套有这情况
             if (this.target.price==null || this.target.price===0){
-                let amount = Decimal(this.target.amount);
-                let wan = Decimal(10000);
-                this.target.amount = utils.roundToDecimalPlace(amount.div(wan),2);
+                if (this.target.amount){
+                  let amount = Decimal(this.target.amount);
+                  let wan = Decimal(10000);
+                  this.target.amount = utils.roundToDecimalPlace(amount.div(wan),2);
+                }
             }
             this.linkAttributes.acreage = this.target.acreage;
             if (res.data.isOnline) {
@@ -1705,7 +1706,7 @@ export default {
               this.linkAttributes.location = this.target.houseCertificate.location;
             }
             if (res.data.landCertificate) {
-              this.target.landCertificate = JSON.parse(res.data.landCertificate)  ;
+              this.target.landCertificate = JSON.parse(res.data.landCertificate) 
             }
             if (res.data.immovableCertificate) {
               this.target.immovableCertificate = JSON.parse(res.data.immovableCertificate);