|
@@ -10,7 +10,7 @@ Ext.define('saas.view.home.infoCardList.SaleOut', {
|
|
|
codeField: 'sa_code',
|
|
codeField: 'sa_code',
|
|
|
detailTitle: '销售订单',
|
|
detailTitle: '销售订单',
|
|
|
detailXType: 'sale-sale-formpanel',
|
|
detailXType: 'sale-sale-formpanel',
|
|
|
- condition: 'sale.companyid=#{companyId} and sa_statuscode=\'AUDITED\' and exists (select 1 from saledetail detail where sd_id=saledetail.sd_id and IFNULL(sa_sendstatus,\' \') <> \'已出库\' ',
|
|
|
|
|
|
|
+ condition: 'sale.companyid=#{companyId} and sa_statuscode=\'AUDITED\' and exists (select 1 from saledetail detail where sd_id=saledetail.sd_id and IFNULL(sd_sendqty,0)<ifnull(sd_qty,0) and TO_DAYS(sd_delivery)-TO_DAYS(now())<= 7)',
|
|
|
listColumns: [{
|
|
listColumns: [{
|
|
|
text: 'id',
|
|
text: 'id',
|
|
|
dataIndex: 'sa_id',
|
|
dataIndex: 'sa_id',
|