lilei hace 4 años
padre
commit
66821b9173
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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()