|
@@ -90,7 +90,7 @@ $(document).ready(() => {
|
|
|
return data.ptype !== 1;
|
|
|
},
|
|
|
isOld: function (data) {
|
|
|
- return data.csorder < getStageId();
|
|
|
+ return (data.csorder < getStageId()) && (getStageId() > 1);
|
|
|
},
|
|
|
name: function (data) {
|
|
|
return payCol.readOnly.isSpecial(data) || payCol.readOnly.isOld(data);
|
|
@@ -233,12 +233,13 @@ $(document).ready(() => {
|
|
|
checkExpr(validText, data.updateData, 'sprice', 'sexpr');
|
|
|
} else if (col.field === 'rprice') {
|
|
|
checkExpr(validText, data.updateData, 'rprice', 'rexpr');
|
|
|
- } else if (col.field === 'minus') {
|
|
|
+ } else {
|
|
|
data.updateData[col.field] = validText;
|
|
|
}
|
|
|
} else {
|
|
|
data.updateData[col.field] = null;
|
|
|
}
|
|
|
+ console.log(data);
|
|
|
}
|
|
|
// 更新至服务器
|
|
|
postData(window.location.pathname + '/save', data, function (result) {
|