Browse Source

fix:视频尽调

jiand 7 months ago
parent
commit
c23f8c6510

+ 1 - 1
src/views/creditManage/supplierManage/supplementaryInfo/components/AddInfo.vue

@@ -124,7 +124,7 @@
             disabled
           />
         </el-form-item>
-        <el-form-item label="结案证明或判决书" class="one-form-item form-required" prop="judgment">
+        <el-form-item label="结案证明或判决书" class="one-form-item" prop="judgment">
           <cy-upload
             ref="judgment"
             :upload-params="{

+ 2 - 10
src/views/creditManage/supplierManage/supplementaryInfo/components/BusinessSituation.vue

@@ -138,16 +138,8 @@ export default {
       handler(newV) {
         if (newV && Object.keys(newV).length) {
           const { upstreamProcurementDocuments, salesDocumentsInfos } = newV
-          this.upstreamTableData = upstreamProcurementDocuments.length ? upstreamProcurementDocuments.map(item => {
-            if(item.name) {
-              return item
-            }
-          }) : this.upstreamTableData
-          this.downstreamTableData = salesDocumentsInfos.length ? salesDocumentsInfos.map(item => {
-            if(item.name) {
-              return item
-            }
-          }) : this.downstreamTableData
+          this.upstreamTableData = upstreamProcurementDocuments.length ? upstreamProcurementDocuments.filter(item => item.name) : this.upstreamTableData
+          this.downstreamTableData = salesDocumentsInfos.length ? salesDocumentsInfos.filter(item => item.name) : this.downstreamTableData
         }
       },
       immediate: true,

+ 1 - 1
src/views/creditManage/supplierManage/supplementaryInfo/components/GuaranteeAddInfo.vue

@@ -124,7 +124,7 @@
           disabled
         />
       </el-form-item>
-      <el-form-item label="结案证明或判决书" class="one-form-item form-required" prop="judgment">
+      <el-form-item label="结案证明或判决书" class="one-form-item" prop="judgment">
         <cy-upload
           ref="judgment"
           :upload-params="{

+ 1 - 1
src/views/creditManage/supplierManage/supplementaryInfo/components/RelatedEnterprises.vue

@@ -87,7 +87,7 @@ export default {
       handler(newV) {
         if (newV && Object.keys(newV).length) {
           const { associatedEnterpriseInfos } = newV
-          this.associatedEnterpriseInfos = associatedEnterpriseInfos.length ? associatedEnterpriseInfos : this.associatedEnterpriseInfos
+          this.associatedEnterpriseInfos = associatedEnterpriseInfos.length ? associatedEnterpriseInfos.filter(item => item.name) : this.associatedEnterpriseInfos
         }
       },
       immediate: true,

+ 1 - 1
src/views/creditManage/supplierManage/videoDue/components/Assess.vue

@@ -20,7 +20,7 @@
         </el-input>
       </el-form-item>
       <el-form-item label="修改得分" prop="fixScore">
-        <el-input v-model="ruleForm.fixScore" :disabled="disabled" placeholder="请输入修改得分" />
+        <cy-amount-input v-model="ruleForm.fixScore" :disabled="disabled" placeholder="请输入修改得分" />
       </el-form-item>
     </el-form>
   </div>

+ 4 - 4
src/views/creditManage/supplierManage/videoDue/components/OperateFinance/FinancialSituation.vue

@@ -70,9 +70,9 @@
         </el-input>
       </el-form-item>
       <el-form-item label="主营业务收入" prop="mainBusinessIncomeFix" class="one-form-item">
-        <el-input v-model="ruleForm.mainBusinessIncomeFix" @blur="calcMainBusinessProfit" placeholder="请输入主营业务收入" :disabled="disabled">
+        <cy-amount-input v-model="ruleForm.mainBusinessIncomeFix"  :is-unit="true" unit-name="元" @blur="calcMainBusinessProfit" placeholder="请输入主营业务收入" :disabled="disabled">
           <template slot="append">元</template>
-        </el-input>
+        </cy-amount-input>
       </el-form-item>
       <el-form-item label="主营业务成本" class="one-form-item">
         <el-input v-model="defaultDatailsInfo.mainBusinessCost" disabled placeholder="请输入主营业务成本">
@@ -80,9 +80,9 @@
         </el-input>
       </el-form-item>
       <el-form-item label="主营业务成本" prop="mainBusinessCostFix" class="one-form-item">
-        <el-input v-model="ruleForm.mainBusinessCostFix" @blur="calcMainBusinessProfit" placeholder="请输入主营业务成本" :disabled="disabled">
+        <cy-amount-input v-model="ruleForm.mainBusinessCostFix"  :is-unit="true" unit-name="元" @blur="calcMainBusinessProfit" placeholder="请输入主营业务成本" :disabled="disabled">
           <template slot="append">元</template>
-        </el-input>
+        </cy-amount-input>
       </el-form-item>
       <el-form-item label="上年度毛利率" class="one-form-item">
         <el-input v-model="defaultDatailsInfo.mainBusinessProfit" disabled placeholder="请输入上年度毛利率">