lilei %!s(int64=4) %!d(string=hai) anos
pai
achega
66821b9173
Modificáronse 1 ficheiros con 2 adicións e 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()