|
@@ -540,6 +540,7 @@ var projectObj = {
|
|
|
if (isDef(node.data.prefix) && node.data.prefix !== rationPrefix.none){
|
|
|
value = value.replace(new RegExp(node.data.prefix), '');
|
|
|
};
|
|
|
+ value = value.replace(new RegExp(rationPrefix.replace), '');
|
|
|
info.sheet.setValue(info.row, info.col, value);
|
|
|
}
|
|
|
if(node&&fieldName =='quantity'&&(node.data.quantityEXP !==null||node.data.quantityEXP !==undefined)){
|
|
@@ -708,7 +709,7 @@ var projectObj = {
|
|
|
// 编号去掉“换、借、补”等多余的字
|
|
|
code = code.replace(new RegExp(rationPrefix.complementary), '');
|
|
|
code = code.replace(new RegExp(rationPrefix.borrow), '');
|
|
|
- // code = code.replace(new RegExp(rationPrefix.replace), '');
|
|
|
+ code = code.replace(new RegExp(rationPrefix.replace), '');
|
|
|
updateRationCodes.push({'node':ptNode, value:code});
|
|
|
}
|
|
|
projectObj.project.Ration.updateRationCodes(updateRationCodes);
|