|
|
@@ -51,13 +51,13 @@ Ext.define('saas.view.home.InfoCard', {
|
|
|
condition: 'purchase.companyId=' + companyId + ' and pu_statuscode=\'AUDITED\' and exists (select 1 from purchasedetail detail where pd_id=purchasedetail.pd_id and IFNULL(pd_acceptqty,0) < ifnull(pd_qty,0) and TO_DAYS(PD_DELIVERY)-TO_DAYS(now()) <= 7)'
|
|
|
},
|
|
|
unpay: {
|
|
|
- title: '未收款出货',
|
|
|
+ title: '未付款验收单',
|
|
|
color: 'red',
|
|
|
viewType: 'purchase-purchasein-querypanel',
|
|
|
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)'
|
|
|
},
|
|
|
unreceive: {
|
|
|
- title: '未审核出货单',
|
|
|
+ title: '未收款出货',
|
|
|
color: 'pink',
|
|
|
viewType: 'sale-saleout-querypanel',
|
|
|
condition: 'pi_class in(\'出货单\',\'销售退货单\') and prodinout.companyId=' + companyId + ' and TO_DAYS(pi_date+ifnull(cu_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)'
|