Forráskód Böngészése

设备位号功能

hfxc226 2 éve
szülő
commit
8dbf1c2d45

+ 2 - 2
src/views/sb/info/SbInfo.vue

@@ -87,7 +87,7 @@
                   </a-col>
                   <a-col :md="6" :sm="24">
                     <a-form-item label="生产商">
-                      <a-input v-model="queryParam.producerName" placeholder="生产商名称"/>
+                      <a-input v-model="queryParam.producerId" placeholder="生产商名称"/>
                     </a-form-item>
                   </a-col>
                   <a-col :md="6" :sm="24">
@@ -418,7 +418,7 @@ export default {
         },
         {
           title: '生产商',
-          dataIndex: 'producerName',
+          dataIndex: 'producerId',
           width: 120,
           checked: true
         },

+ 1 - 1
src/views/sb/info/SbInfoDebug.vue

@@ -289,7 +289,7 @@ export default {
         },
         {
           title: '生产商',
-          dataIndex: 'producerName',
+          dataIndex: 'producerId',
           width: 120,
           checked: true
         },

+ 1 - 4
src/views/sb/info/SbInfoForLocation.vue

@@ -198,10 +198,7 @@ export default {
           title: '生产商',
           dataIndex: 'producerId',
           width: 200,
-          checked: true,
-          customRender: (text, record, index) => {
-            return record.producerName
-          }
+          checked: true
         },
         {
           title: '设备来源方式',

+ 1 - 4
src/views/sb/info/SbInfoForPartInfo.vue

@@ -198,10 +198,7 @@ export default {
           title: '生产商',
           dataIndex: 'producerId',
           width: 200,
-          checked: true,
-          customRender: (text, record, index) => {
-            return record.producerName
-          }
+          checked: true
         },
         {
           title: '设备来源方式',

+ 1 - 1
src/views/sb/info/SbInfoStandard.vue

@@ -292,7 +292,7 @@ export default {
 
         {
           title: '生产商',
-          dataIndex: 'producerName',
+          dataIndex: 'producerId',
           width: 120,
           checked: true
         },

+ 2 - 2
src/views/sb/info/modules/Detail.vue

@@ -163,7 +163,7 @@
                 {{ BaseTool.Object.getField(useTypeMap,model.useType) }}
               </a-descriptions-item>
               <a-descriptions-item label="生产商">
-                {{ model.producerName }}
+                {{ model.producerId }}
               </a-descriptions-item>
               <a-descriptions-item label="大小尺寸">
                 {{ model.zz }}
@@ -429,7 +429,7 @@ export default {
         'parentName': null,
         'createdUserName': null,
         'typeName': null,
-        'producerName': null,
+        'producerId': null,
         'zzh': null,
         'fdjxh': null,
         'fdjh': null,