Browse Source

物资类型

zxh 2 years ago
parent
commit
5d0e5671b0

+ 3 - 3
src/views/mbsys/materialmanage/configmanage/materialtype/index.vue

@@ -417,9 +417,9 @@ export default {
      * 新增分类
      */
     addmatter() {
-      if (!this.typeForm.hasOwnProperty('isAssets')) {
-        this.$set(this.form, 'isAssets', 0)
-      }
+      // if (!this.form.hasOwnProperty('isAssets')) {
+      //   this.$set(this.form, 'isAssets', 0)
+      // }
       let data = JSON.parse(JSON.stringify(this.form))
       data['matterType'] = data.value[data.value.length - 1]
       addmatter(data).then(res => {