瀏覽代碼

融资产品bug 4444,4445

ch 3 年之前
父節點
當前提交
1050fbf1e5

+ 10 - 7
front-vue/src/views/service/financeProduct/addFinanceProduct.vue

@@ -404,12 +404,12 @@ export default {
     subjectFormat(row, column) {
       return this.selectDictLabel(this.subjectOptions, row.zfcSubject);
     },
-    change(val){
-      if(val<=14){
-        this.$set(this.form, "zfpShortestPeriod", "14");
-      }
-      return ;
-    },
+    // change(val){
+    //   if(val<=14){
+    //     this.$set(this.form, "zfpShortestPeriod", "14");
+    //   }
+    //   return ;
+    // },
     changeProfit(){
       this.form.zfpProfitType = null
       this.form.zfpProfitRate = null
@@ -426,6 +426,7 @@ export default {
     },
     //打开合同选择列表
     openTicket() {
+      this.resetForm("formQuery");
       this.getContractList();
       this.open = true;
       this.title = "合同信息";
@@ -547,9 +548,11 @@ export default {
         createBy: null,
         createTime: null,
         updateBy: null,
-        updateTime: null
+        updateTime: null,
+        zfcName:null
       };
        this.resetForm("form");
+       this.resetForm("formQuery");
     },
 /* ---------------------------------------------------------------------- */
     // 取消按钮

+ 2 - 2
front-vue/src/views/service/financeProduct/detailFinanceProduct.vue

@@ -238,11 +238,11 @@
       </span>
     </el-dialog>
     <!-- 保存 -->
-    <div class="footer" style="margin-top: 260px; float: right">
+    <!-- <div class="footer" style="margin-top: 260px; float: right">
       <el-button type="info" @click="cancel">取消</el-button>
       <el-button type="success" @click="submitForm"
         >提交</el-button>
-    </div>
+    </div> -->
   </div>
 </template>
 

+ 7 - 6
front-vue/src/views/service/financeProduct/editFinanceProduct.vue

@@ -423,12 +423,12 @@ export default {
     subjectFormat(row, column) {
       return this.selectDictLabel(this.subjectOptions, row.zfcSubject);
     },
-    change(val){
-      if(val<=14){
-        this.$set(this.form, "zfpShortestPeriod", "14");
-      }
-      return ;
-    },
+    // change(val){
+    //   if(val<=14){
+    //     this.$set(this.form, "zfpShortestPeriod", "14");
+    //   }
+    //   return ;
+    // },
     getContractList() {
       this.queryParams.zfcManagementId = this.form.zfpManagementId;
       listContract(this.queryParams).then((response) => {
@@ -439,6 +439,7 @@ export default {
     },
     //打开合同选择列表
     openTicket() {
+      this.resetForm("formQuery");
       this.getContractList();
       this.open = true;
       this.title = "合同信息";

+ 2 - 0
front-vue/src/views/service/financeProduct/financeProduct.vue

@@ -38,6 +38,7 @@
           clearable
           size="small"
           maxlength="20"
+          min="0"
         />
       </el-form-item>
       <el-form-item>
@@ -52,6 +53,7 @@
           size="small"
           @keyup.enter.native="handleQuery"
           maxlength="20"
+          min="1"
         />
       </el-form-item>