xch1523480 1 month ago
parent
commit
b1e0b5a479

+ 2 - 1
src/components/NewCom/WkForm/WkFormItem.vue

@@ -83,7 +83,7 @@ export default {
     },
     doublePercent: {
       type: String,
-      default: "40%",
+      default: "50%",
     },
     // 忽略的字段直接输出
     ignoreFields: {
@@ -147,6 +147,7 @@ export default {
 }
 .wk-form-item {
   padding: 12px 0 0;
+  margin-right: 0;
 }
 /deep/.el-form-item__content {
   white-space: nowrap;

+ 1 - 1
src/components/NewCom/WkForm/WkFormItems.vue

@@ -57,7 +57,7 @@ export default {
     },
     doublePercent: {
       type: String,
-      default: "40%",
+      default: "50%",
     },
     fieldList: {
       type: Array,

+ 4 - 0
src/components/NewCom/sysComponents/BudgetAmountInput.vue

@@ -49,6 +49,7 @@ export default {
   data() {
     return {
       budgetAmount: "",
+      budgetAmountHistory: "",
       isNoAmount: 0,
       projectServiceRate: {},
       isBudgetTax: true,
@@ -125,7 +126,10 @@ export default {
   methods: {
     onIsNoAmountChange(val) {
       if (val === 1) {
+        this.budgetAmountHistory = this.budgetAmount;
         this.budgetAmount = "0.00";
+      } else {
+        this.budgetAmount = this.budgetAmountHistory;
       }
       this.onValChange();
     },

+ 1 - 1
src/components/NewCom/sysComponents/DevicesTable.vue

@@ -1,5 +1,5 @@
 <template>
-  <el-table :data="devices" size="small" border style="width: 800px">
+  <el-table :data="devices" size="small" border>
     <el-table-column prop="name" label="设备品牌" header-align="center">
       <template slot-scope="scope">
         <el-input

+ 8 - 2
src/views/demand/Create.vue

@@ -36,7 +36,13 @@
             <el-divider></el-divider>
           </template>
           <flexbox class="d-container-bd" align="stretch">
-            <el-form ref="form" :model="fieldForm" label-width="100px" inline>
+            <el-form
+              ref="form"
+              :model="fieldForm"
+              label-width="100px"
+              inline
+              style="width: 90%; margin: 0 auto"
+            >
               <wk-form-items
                 v-for="(children, index) in fieldList"
                 :key="index"
@@ -44,7 +50,7 @@
                 :field-list="children"
                 :fullFieldList="fieldList"
                 :isBatchCreate="isBatchCreate"
-                labelWidth="80px"
+                labelWidth="100px"
                 @change="
                   (field, index, value) =>
                     formChange(field, index, value, fieldList)