|
@@ -2454,6 +2454,8 @@ $(document).ready(() => {
|
|
|
searchLedger = $.billsSearch({
|
|
|
selector: '#search',
|
|
|
searchSpread: billsSpread,
|
|
|
+ searchOver: true,
|
|
|
+ searchEmpty: true,
|
|
|
resultSpreadSetting: {
|
|
|
cols: [
|
|
|
{title: '项目节编号', field: 'code', hAlign: 0, width: 90, formatter: '@', readOnly: true},
|
|
@@ -2474,7 +2476,19 @@ $(document).ready(() => {
|
|
|
},
|
|
|
afterLocated: function () {
|
|
|
posSpreadObj.loadCurPosData();
|
|
|
- }
|
|
|
+ },
|
|
|
+ customSearch: [
|
|
|
+ {
|
|
|
+ key: 'revise', title: '新增部位', valid: true,
|
|
|
+ check: function (node) {
|
|
|
+ if (node.ccid) {
|
|
|
+ return true;
|
|
|
+ } else {
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
});
|
|
|
}
|
|
|
searchLedger.spread.refresh();
|