Przeglądaj źródła

【修改】bug

howie 3 lat temu
rodzic
commit
86ab657b07

+ 2 - 2
src/views/supply/reserve/components/reserve_form.vue

@@ -157,7 +157,7 @@
                 :label="item.number"
                 :value="item.number">
                 <span>{{ item.number }}</span>
-                <span style="color: #8492a6; font-size: 13px; margin-left: 6px">{{ item.name }}</span>
+                <span style="color: #8492a6; font-size: 13px; margin-left: 6px">{{ item.specification }}</span>
               </el-option>
             </el-select>
           </template>
@@ -627,7 +627,7 @@ export default {
         number: type ==1 ?query:'',
         specification:type ==2 ?query:''
       }).then(res => {
-        this.materialList = res.data || [];
+        this.materialList = res.data.records || [];
       })
     },