Browse Source

bug 修复

lilei 4 years ago
parent
commit
66821b9173
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/views/equipmentManage/boxSetting/AddBoxModal.vue

+ 2 - 1
src/views/equipmentManage/boxSetting/AddBoxModal.vue

@@ -156,7 +156,8 @@ export default {
       for (let i = 0; i < v; i++) {
         this.formData.deviceTypeBoxList.push({
           maxWeight: '',
-          rubbishType: ''
+          rubbishType: '',
+          boxCode: i + 1
         })
       }
       this.$refs.ruleForm.clearValidate()