Browse Source

仓库报表

3254194295 2 năm trước cách đây
mục cha
commit
6db3664d92
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      src/views/sb/info/modules/BaseForm.vue

+ 5 - 0
src/views/sb/info/modules/BaseForm.vue

@@ -1243,6 +1243,11 @@ export default {
         values.sbFileList = this.sbFileList
         values.paramList = JSON.stringify(this.paramList)
         values.useType = this.useType
+        if (values.isChild === '父设备') {
+          values.isChild = 0
+        } else if (values.isChild === '子设备') {
+          values.isChild = 1
+        }
         if (this.BaseTool.String.isBlank(values.id)) {
           addSbInfo(values)
             .then(() => {