Commit b4f3409ab1ef417dffc078e83a83f746c7efb699

Authored by Min
1 parent 4f64fb85

1.处理收款单分摊不起作用问题

src/components/Common/CommonBillEvent.js
@@ -5776,10 +5776,10 @@ export default (ChildComponent) => { @@ -5776,10 +5776,10 @@ export default (ChildComponent) => {
5776 const { 5776 const {
5777 sModelsType, masterData: masterDataOld, slaveData: slaveDataOld, app, 5777 sModelsType, masterData: masterDataOld, slaveData: slaveDataOld, app,
5778 } = this.props; 5778 } = this.props;
5779 - if ((sModelsType.includes('cashier/receipt') && masterDataOld.sBillType !== 'customer') ||  
5780 - (sModelsType.includes('cashier/payment') && masterDataOld.sBillType !== 'supply')) {  
5781 - return masterDataOld;  
5782 - } 5779 + // if ((sModelsType.includes('cashier/receipt') && masterDataOld.sBillType !== 'customer') ||
  5780 + // (sModelsType.includes('cashier/payment') && masterDataOld.sBillType !== 'supply')) {
  5781 + // return masterDataOld;
  5782 + // }
5783 const { dNetMoney } = app.decimals; 5783 const { dNetMoney } = app.decimals;
5784 const masterData = { ...masterDataOld }; 5784 const masterData = { ...masterDataOld };
5785 const slaveData = []; 5785 const slaveData = [];