Browse Source

1.协议录入添加序号字段
2.修改因弹框内容自适应产生的bug

haizhouwang 2 years ago
parent
commit
f6623837ae
1 changed files with 9 additions and 1 deletions
  1. 9 1
      src/views/AgreementManage/CarInsurance/AgreementEntry.vue

+ 9 - 1
src/views/AgreementManage/CarInsurance/AgreementEntry.vue

@@ -213,6 +213,11 @@
                   </el-select>
                 </el-form-item>
               </el-col>
+              <el-col :span="12">
+                <el-form-item label="序号" prop="serialNumber">
+                  <el-input-number :min="0" v-model="agreement.serialNumber"></el-input-number>
+                </el-form-item>
+              </el-col>
             </el-row>
           </el-form>
         </el-tab-pane>
@@ -1213,7 +1218,7 @@
         </el-tab-pane>
         <el-tab-pane label="保险公司账号配置" name="inscommany">
           <el-form class="demo-ruleForm wrap-scrollbar scroll-style" :model="attributionform" ref="attributionform"
-            label-width="auto" size="small">
+            :label-width="labelWidth" size="small">
             <el-row>
               <el-col :span="12">
                 <el-form-item class="apistyle" label="api类型:">
@@ -1558,6 +1563,7 @@ export default {
   },
   data() {
     return {
+      labelWidth:'160px',
       validAgreementList:[],//非车费用复制同步时,可选协议列表
       copyNonCarCostDesfFlag:false,
       syncNonCarCostDesfFlag:false,
@@ -1636,6 +1642,7 @@ export default {
         validStatus: "",//有效状态
         withTax: "",//含增值税结算
         partnerCompaniesId: "",//合作公司
+        serialNumber: 0,//序号
       },
       VehicleFactorlineindex: "",
       VehicleFactoroutindex: "",
@@ -2235,6 +2242,7 @@ export default {
     this.defaultattributionform = JSON.parse(JSON.stringify(this.attributionform))
   },
   mounted() {
+    this.labelWidth='auto';
     this.findLeftTreeData();
     this.getAllCompany();
     //用像素初始化左边的split的宽度