|
@@ -56,6 +56,7 @@ let repositoryGljObj = {
|
|
|
treeObj: null,
|
|
|
workBook: null,
|
|
|
gljCurTypeId: -1,
|
|
|
+ gljCurClassSeq: 0,
|
|
|
currentRepositoryId: -1,
|
|
|
currentCache: null,
|
|
|
parentNodeIds: {},
|
|
@@ -493,7 +494,6 @@ let repositoryGljObj = {
|
|
|
cache: false,
|
|
|
timeout: 20000,
|
|
|
success: function (result, textStatus, status) {
|
|
|
- debugger;
|
|
|
if (status.status == 200) {
|
|
|
zTreeHelper.createTree(result.data, gljSetting, "repositoryTree", me);
|
|
|
zTreeHelper.createTree(
|
|
@@ -504,6 +504,7 @@ let repositoryGljObj = {
|
|
|
);
|
|
|
if (result.data && result.data.length > 0) {
|
|
|
me.gljCurTypeId = result.data[0].ID;
|
|
|
+ me.gljCurClassSeq = result.data[0].classSeq;
|
|
|
} else {
|
|
|
//重新创建库?
|
|
|
gljTypeTreeOprObj.addRootNode();
|
|
@@ -1247,6 +1248,7 @@ let repositoryGljObj = {
|
|
|
}
|
|
|
if (!me.parentNodeIds["_pNodeId_" + me.gljCurTypeId]) {
|
|
|
rObj.gljClass = me.gljCurTypeId;
|
|
|
+ rObj.classSeq = me.gljCurClassSeq;
|
|
|
}
|
|
|
if (updateArr.length > 0 || addArr.length > 0) {
|
|
|
me.currentEditingGlj = null;
|
|
@@ -1837,6 +1839,7 @@ let repositoryGljObj = {
|
|
|
//pasteObj.basePrice = !isNaN(parseFloat(pasteObj.basePrice)) && (pasteObj.basePrice && typeof pasteObj.basePrice !== 'undefined') ? parseFloat(pasteObj.basePrice) : 0;
|
|
|
if (!me.parentNodeIds["_pNodeId_" + me.gljCurTypeId]) {
|
|
|
pasteObj.gljClass = me.gljCurTypeId;
|
|
|
+ pasteObj.classSeq = me.gljCurClassSeq;
|
|
|
}
|
|
|
return true;
|
|
|
},
|