wangzhuo 1 yıl önce
ebeveyn
işleme
62fcbe24d3
1 değiştirilmiş dosya ile 32 ekleme ve 21 silme
  1. 32 21
      src/views/iosBasicData/bcorps/detailsPage.vue

+ 32 - 21
src/views/iosBasicData/bcorps/detailsPage.vue

@@ -54,7 +54,7 @@
             </el-form-item>
           </el-col>
           <el-col :span="8">
-            <el-form-item label="信用代码" prop="enName">
+            <el-form-item label="信用代码" prop="uscc">
               <el-input v-model="formData.uscc" placeholder="请输入统一社会信用代码" clearable :style="{ width: '100%' }">
               </el-input>
             </el-form-item>
@@ -334,7 +334,7 @@
                 </div>
                 <h4>授信信息</h4>
                 <el-form-item label="授信状态" prop="creditStatus">
-                  <el-switch style="margin-bottom = 0" :active-value="1" :inactive-value="0"
+                  <el-switch style="margin-bottom = 0" active-value="1" inactive-value="0"
                     v-model="formData.creditStatus" active-text="开启" inactive-text="关闭"></el-switch>
                 </el-form-item>
               </el-row>
@@ -415,7 +415,7 @@
               <el-table :data="formData.corpsBankList"
                 :header-cell-style="{ background: '#ecf5ff', color: '#232526', fontSize: '12px' }" stripe
                 style="width: 100%">
-                <!-- <el-table-column prop="uscc" label="统一社会信用代码" width="180" /> -->
+                <el-table-column prop="uscc" label="税号" width="180" />
                 <el-table-column prop="accountName" label="账户名称" width="180" />
                 <el-table-column prop="accountBank" label="开户银行" width="180" />
                 <el-table-column prop="accountNo" label="银行账号" width="180" />
@@ -471,14 +471,14 @@
               <el-table :data="formData.corpsRenameList"
                 :header-cell-style="{ background: '#ecf5ff', color: '#232526', fontSize: '12px' }" stripe
                 style="width: 100%">
-                <el-table-column prop="oldCnName" label="原中文名称" width="180" />
-                <el-table-column prop="newCnName" label="新中文名称" width="180" />
-                <el-table-column prop="oldEnName" label="原英文名称" width="180" />
-                <el-table-column prop="newEnName" label="新英文名称" width="180" />
+                <el-table-column prop="oldCnName" label="原中文名称" />
+                <el-table-column prop="newCnName" label="新中文名称" />
+                <el-table-column prop="oldEnName" label="原英文名称" />
+                <el-table-column prop="newEnName" label="新英文名称" />
                 <!-- <el-table-column prop="byId" label="操作人" width="180"/> -->
-                <el-table-column prop="byTime" label="操作时间" width="180" />
-                <el-table-column prop="remarks" label="备注" width="180" />
-                <el-table-column fixed="right" label="操作" width="180">
+                <el-table-column prop="byTime" label="操作时间" />
+                <el-table-column prop="remarks" label="备注" />
+                <el-table-column fixed="right" label="操作" >
                   <template slot-scope="scope">
                     <el-button type="text" size="small" @click="corpsAttnHandle(scope)">编辑</el-button>
                     <el-button type="text" size="small" @click="corpsAttnDelete(scope)">删除</el-button>
@@ -500,7 +500,7 @@
                 <el-table-column prop="email" label="电子邮箱" width="180" />
                 <el-table-column prop="taxpayerNature" label="纳税人性质" width="180" />
                 <el-table-column prop="taxRate" label="增值税税率" width="180" />
-                <el-table-column prop="invoiceType" label="发票类型" width="180" />
+                <!-- <el-table-column prop="invoiceType" label="发票类型" width="180" /> -->
                 <el-table-column prop="accountBankCny" label="人民币账户银行" width="180" />
                 <el-table-column prop="accountBankUsd" label="美元账户银行" width="180" />
                 <el-table-column prop="accountNoUsd" label="美元银行账号" width="180" />
@@ -527,16 +527,16 @@
               <el-table :data="formData.corpsBadrecordList"
                 :header-cell-style="{ background: '#ecf5ff', color: '#232526', fontSize: '12px' }" stripe
                 style="width: 100%">
-                <el-table-column prop="oldCreditLevel" label="原授信等级" width="180" />
-                <el-table-column prop="newCreditLevel" label="新授信等级" width="180" />
-                <el-table-column prop="version" label="版本" width="180" />
-                <el-table-column prop="status" label="状态" width="180">
+                <el-table-column prop="oldCreditLevel" label="原授信等级" />
+                <el-table-column prop="newCreditLevel" label="新授信等级" />
+                <el-table-column prop="version" label="版本" />
+                <el-table-column prop="status" label="状态" >
                   <template slot-scope="scope">
                     <span v-if="scope.row.status == 0">正常</span>
                     <span v-if="scope.row.status == 1">启用</span>
                   </template>
                 </el-table-column>
-                <el-table-column prop="remarks" label="备注" width="180" />
+                <el-table-column prop="remarks" label="备注" />
                 <el-table-column fixed="right" label="操作" width="180">
                   <template slot-scope="scope">
                     <el-button type="text" size="small" @click="corpsAttnHandle(scope)">编辑</el-button>
@@ -604,9 +604,9 @@
           </el-form-item>
         </div>
         <div v-if="activeName == 'yhxx'">
-          <!-- <el-form-item label="统一社会信用代码" prop="uscc">
+          <el-form-item label="税号" prop="uscc">
             <el-input v-model="corpsAttnForm.uscc"></el-input>
-          </el-form-item> -->
+          </el-form-item>
           <el-form-item label="账户名称" prop="accountName">
             <el-input v-model="corpsAttnForm.accountName"></el-input>
           </el-form-item>
@@ -692,11 +692,14 @@
             <el-input v-model="corpsAttnForm.taxpayerNature"></el-input>
           </el-form-item>
           <el-form-item label="增值税税率" prop="taxRate">
-            <el-input v-model="corpsAttnForm.taxRate"></el-input>
+            <!-- <el-input v-model="corpsAttnForm.taxRate"></el-input> -->
+            <el-input-number v-model="formData.taxRate" controls-position="right" @change="handleChange" :min="0"
+              :precision="2" :step="1" :style="{ width: '100%' }"></el-input-number>
+            </el-input>
           </el-form-item>
-          <el-form-item label="发票类型" prop="invoiceType">
+          <!-- <el-form-item label="发票类型" prop="invoiceType">
             <el-input v-model="corpsAttnForm.invoiceType"></el-input>
-          </el-form-item>
+          </el-form-item> -->
           <el-form-item label="人民币账户银行" prop="accountBankCny">
             <el-input v-model="corpsAttnForm.accountBankCny"></el-input>
           </el-form-item>
@@ -925,6 +928,11 @@ export default {
           message: ' ',
           trigger: 'change'
         }],
+        uscc: [{
+          required: true,
+          message: ' ',
+          trigger: 'change'
+        }],
       },
       // 客户联系人表单校验
       // corpsAttnRules: {
@@ -978,6 +986,9 @@ export default {
         invoiceHeader: [
           { required: true, message: ' ', trigger: 'change' }
         ],
+        uscc: [
+          { required: true, message: ' ', trigger: 'change' }
+        ]
       },
       statusOptions: [{
         "label": "正常",