whj 1 rok temu
rodzic
commit
11af67b8e5

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

@@ -297,7 +297,6 @@
               style="width: 100%"
               :dropdownStyle="{ maxHeight: '400px', overflow: 'auto' }"
               :treeData="storeTreeDate"
-              :disabled="!isAdd"
               :treeNodeFilterProp="'title'"
               :showSearch="true"
               v-decorator="['storeId']"

+ 15 - 15
src/views/sqarepartmanage/sparepartinfo/modules/Detail.vue

@@ -8,7 +8,7 @@
       </a-col>
     </a-row>
     <title-divider title="基础信息" width="90px"></title-divider>
-    <detail-list-item title="" :col="3">
+    <detail-list title="" :col="3">
       <detail-list-item term="id">{{ model.id }}</detail-list-item>
       <detail-list-item term="集团统一编码">{{ model.uniteNo }}</detail-list-item>
       <detail-list-item term="自编号">{{ model.zbh }}</detail-list-item>
@@ -49,20 +49,20 @@
       <detail-list-item>
         <img-code :src="model.qrCode" :type="2" title="点击重新生成二维码" :code-id="model.id" :width="200"></img-code>
       </detail-list-item>
-      </detail-list>
-      <title-divider title="设备信息" width="100px"></title-divider>
-      <div class="table-operator">
-      </div>
-      <a-table
-        :data-source="data"
-        :columns="columns"
-        bordered
-        tableLayout="auto"
-        rowKey="id">
-      </a-table>
-      <template slot="footer">
-        <a-button :loading="confirmLoading" type="primary" @click="handleCancel()">返回</a-button>
-      </template>
+    </detail-list>
+    <title-divider title="设备信息" width="100px"></title-divider>
+    <div class="table-operator">
+    </div>
+    <a-table
+      :data-source="data"
+      :columns="columns"
+      bordered
+      tableLayout="auto"
+      rowKey="id">
+    </a-table>
+    <template slot="footer">
+      <a-button :loading="confirmLoading" type="primary" @click="handleCancel()">返回</a-button>
+    </template>
     </detail-list-item></a-card>
 </template>