|
@@ -300,16 +300,6 @@ var projectObj = {
|
|
|
let libId = projectObj.project.projectInfo.engineeringInfo.bill_lib[0].id;
|
|
|
CommonAjax.post('/stdBillsEditor/getStdBillsByCode', {userId: userID, billsLibId: libId, code: stdCode}, function (data) {
|
|
|
if (data) {
|
|
|
- items.sort(function (a, b) {
|
|
|
- let rst = 0;
|
|
|
- if(a.serialNo > b.serialNo){
|
|
|
- rst = 1;
|
|
|
- }
|
|
|
- else if(a.serialNo < b.serialNo){
|
|
|
- rst = -1;
|
|
|
- }
|
|
|
- return rst;
|
|
|
- });
|
|
|
|
|
|
function updateBeforeInsert(node, data) {
|
|
|
node.data.name = data.name;
|