hfxc226 3 years ago
parent
commit
395ed72a8b

+ 1 - 1
src/views/sb/info/modules/BaseForm.vue

@@ -528,7 +528,7 @@
         </a-button>
       </div>
       <a-row class="form-row" :gutter="BaseTool.Constant.row.gutter">
-        <a-col v-for="(item, index) in paramList" :lg="12" :md="24" :sm="24">
+        <a-col :key="index" v-for="(item, index) in paramList" :lg="12" :md="24" :sm="24">
           <a-form-item
             :label="item.name"
             :labelCol="BaseTool.Constant.labelCol"

+ 11 - 0
src/views/sb/measure/modules/BaseForm.vue

@@ -312,6 +312,16 @@
               v-decorator="['remark']" />
           </a-form-item>
         </a-col>
+        <a-col :lg="12" :md="24" :sm="24">
+          <a-form-item
+            label="备注2"
+            :labelCol="BaseTool.Constant.labelCol"
+            :wrapperCol="BaseTool.Constant.wrapperCol"
+          >
+            <a-input
+              v-decorator="['remark2']" />
+          </a-form-item>
+        </a-col>
       </a-row>
     </a-form>
     <sb-model-select-modal ref="sbModelSelectModal" @selected="handleSbModelSelected"/>
@@ -527,6 +537,7 @@ export default {
           // 'sbImage',
           'status',
           'remark',
+          'remark2',
           'zzh',
           'zz',
           'zjm',

+ 1 - 0
src/views/sb/measure/modules/Detail.vue

@@ -168,6 +168,7 @@ export default {
         'qrCode': null,
         'status': null,
         'remark': null,
+        'remark2': null,
         'parentName': null,
         'createdUserName': null,
         'typeName': null,

+ 1 - 0
src/views/sqarepartmanage/sparepartinfo/modules/Detail.vue

@@ -208,6 +208,7 @@ export default {
 <style scoped>
 .image {
   width: calc(20% - 10px);
+  height: auto;
   cursor: pointer;
   margin: 5px;
   display: inline-block;