|
@@ -665,7 +665,7 @@ $(document).ready(function() {
|
|
|
data.update = [ updateData ];
|
|
data.update = [ updateData ];
|
|
|
} else {
|
|
} else {
|
|
|
const sortData = info.sheet.zh_data;
|
|
const sortData = info.sheet.zh_data;
|
|
|
- const order = (!sortData || sortData.length === 0) ? 1 : Math.max(sortData[sortData.length - 1].pcd_order + 1, sortData.length + 1);
|
|
|
|
|
|
|
+ const order = (!sortData || sortData.length === 0) ? 1 : Math.max(sortData[sortData.length - 1].agd_order + 1, sortData.length + 1);
|
|
|
const addData = { lid: ancGcl.lid, pid: ancGcl.pid, ag_id: ancGcl.id, agd_order: order };
|
|
const addData = { lid: ancGcl.lid, pid: ancGcl.pid, ag_id: ancGcl.id, agd_order: order };
|
|
|
if (col.type === 'Number') {
|
|
if (col.type === 'Number') {
|
|
|
const num = _.toNumber(newText);
|
|
const num = _.toNumber(newText);
|