Browse Source

销售订单审核后才允许转出货

rainco 7 years ago
parent
commit
f40e135637
1 changed files with 4 additions and 1 deletions
  1. 4 1
      frontend/saas-web/app/view/sale/sale/FormPanel.js

+ 4 - 1
frontend/saas-web/app/view/sale/sale/FormPanel.js

@@ -27,7 +27,10 @@ Ext.define('saas.view.sale.sale.FormPanel', {
      toolBtns: [{
          xtype: 'button',
          text: '转出货单',
-         handler: 'turnOut'
+         handler: 'turnOut',
+         bind: {
+             hidden: '{sa_statuscode!="AUDITED"}'
+         }
      }],
 
     defaultItems: [{