@@ -1195,6 +1195,12 @@ const spreadColor = {
differ: '#FFE699', // 同编号时,名称、单位、单价存在不同
calc_differ: '#f8d7da', //
},
+ pay: {
+ expr_err: '#FF9595',
+ pause: '#f2f2f2',
+ yf_without: '#d6d8db',
+ cur_add: '#FFFFE1',
+ }
};
$(document).ready(function () {
@@ -201,7 +201,9 @@ $(document).ready(() => {
paySpreadSetting.getColor = function (sheet, data, row, col, defaultColor) {
if (data) {
- if (data.pause) {
+ if (data.expr && data.expr.indexOf('#ref!') >= 0) {
+ return spreadColor.pay.expr_err;
+ } else if (data.pause) {
return '#f2f2f2';
} else if (!data.is_yf) {
return '#d6d8db';