feat: There is no way the,
This commit is contained in:
@@ -1425,7 +1425,7 @@
|
|||||||
parentIds : null,
|
parentIds : null,
|
||||||
parentIdsName : "",
|
parentIdsName : "",
|
||||||
displaySeq : "",
|
displaySeq : "",
|
||||||
validFlag : "",
|
validFlag : "0",
|
||||||
creationTime : "",
|
creationTime : "",
|
||||||
modifyTime : "",
|
modifyTime : "",
|
||||||
remarks : "",
|
remarks : "",
|
||||||
@@ -2257,6 +2257,8 @@
|
|||||||
saveProduct (name) {
|
saveProduct (name) {
|
||||||
this.$refs[name].validate((valid) => {
|
this.$refs[name].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
this.productModelAdd.sorDivide = 'FOREIGN_LAWS'
|
||||||
|
this.productModelAdd.validFlag = '0'
|
||||||
if (this.modalType === 1) {
|
if (this.modalType === 1) {
|
||||||
this.$http.postData('sarResource/ts-resource/add', this.productModelAdd, {
|
this.$http.postData('sarResource/ts-resource/add', this.productModelAdd, {
|
||||||
_this: this
|
_this: this
|
||||||
@@ -2337,11 +2339,11 @@
|
|||||||
if(row.parentIds.indexOf(res.data.id) != -1){
|
if(row.parentIds.indexOf(res.data.id) != -1){
|
||||||
this.productModelAdd.parentIds = row.parentIds
|
this.productModelAdd.parentIds = row.parentIds
|
||||||
}else {
|
}else {
|
||||||
this.productModelAdd.parentIds = row.parentIds + ',' + res.data.id
|
this.productModelAdd.parentIds = row.parentIds + res.data.id+','
|
||||||
idsName = row.parentIdsName + ',' + res.data.menuName
|
idsName = row.parentIdsName + ',' + res.data.menuName
|
||||||
}
|
}
|
||||||
}else {
|
}else {
|
||||||
this.productModelAdd.parentIds = res.data.id
|
this.productModelAdd.parentIds = +','+res.data.id+','
|
||||||
idsName = res.data.menuName;
|
idsName = res.data.menuName;
|
||||||
}
|
}
|
||||||
this.productModelAdd.parentId = res.data.id
|
this.productModelAdd.parentId = res.data.id
|
||||||
|
|||||||
Reference in New Issue
Block a user