|
|
@@ -10,7 +10,7 @@ Ext.define('saas.view.home.infoCardList.Payment', {
|
|
|
codeField: 'pi_inoutno',
|
|
|
// detailTitle: '采购验收单',
|
|
|
// detailXType: 'purchase-purchasein-formpanel',
|
|
|
- condition: 'pi_class in (\'采购验收单\',\'采购验退单\') and prodinout.companyId=#{companyId} and TO_DAYS(pi_date+ifnull(ve_promisedays,0))-TO_DAYS(now()) <= 7 and exists (select 1 from subledger where sl_code=pi_inoutno and sl_kind=pi_class and subledger.companyId=#{companyId} and ifnull(sl_namount,0)<>0)',
|
|
|
+ condition: 'pi_class in (\'采购验收单\',\'采购验退单\') and prodinout.companyId=#{companyId} and ( TO_DAYS(pi_date) + ifnull(ve_promisedays,0)-TO_DAYS(now()) ) <= 7 and exists (select 1 from subledger where sl_code=pi_inoutno and sl_kind=pi_class and subledger.companyId=#{companyId} and ifnull(sl_namount,0)<>0)',
|
|
|
listColumns: [{
|
|
|
text: 'id',
|
|
|
dataIndex: 'pu_id',
|