浏览代码

bug 修复

lilei 4 年之前
父节点
当前提交
66821b9173
共有 1 个文件被更改,包括 2 次插入1 次删除
  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()