|
@@ -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 => {
|