Browse Source

修改采购验收单

zhoudw 7 years ago
parent
commit
93f7f25f63
1 changed files with 1 additions and 1 deletions
  1. 1 1
      frontend/saas-web/app/view/purchase/purchaseIn/FormPanel.js

+ 1 - 1
frontend/saas-web/app/view/purchase/purchaseIn/FormPanel.js

@@ -364,7 +364,7 @@ Ext.define('saas.view.purchase.purchaseIn.FormPanel', {
         grid = me.down('detailGridField'),
         grid = me.down('detailGridField'),
         data = grid.getTrueData();
         data = grid.getTrueData();
         Ext.Array.each(data,function(item){
         Ext.Array.each(data,function(item){
-            if(item.pd_price==0){
+            if(item.pd_orderprice==0){
                 showToast(item.pd_pdno+'行'+item.pd_prodcode+'物料单价为0');
                 showToast(item.pd_pdno+'行'+item.pd_prodcode+'物料单价为0');
             }
             }
         });
         });