liaoyongfei пре 4 година
родитељ
комит
2b56ee4ff9
1 измењених фајлова са 9 додато и 9 уклоњено
  1. 9 9
      UI/src/pages/ymall/accountDetails.js

+ 9 - 9
UI/src/pages/ymall/accountDetails.js

@@ -79,11 +79,11 @@ class AccountDetails extends React.Component {
             calculationFormula:'',          //计算说明
             calculationExplain:'',          //规则说明            
             prescriptionColumns: [          //处方购药标题
-                {
-                    title: '订单编号',
-                    dataIndex: 'orderCode',
-                    key: 'orderCode'
-                },
+                // {
+                //     title: '订单编号',
+                //     dataIndex: 'orderCode',
+                //     key: 'orderCode'
+                // },
                 {
                     title: '药品编码',
                     dataIndex: 'drugId',
@@ -307,7 +307,7 @@ class AccountDetails extends React.Component {
                         let rate= ((res.items[0].paidPrice - cprice * 100) / res.items[0].paidPrice).toFixed(2)
                         self.setState({
                             projectDetails: list,
-                            drugsRateFront:'毛利率 = (实付金额-成本价)/实付金额',
+                            drugsRateFront:'毛利率 = (药品售价-药品进价)/药品售价',
                             drugsRate: `${rate}=(${res.items[0].paidPrice / 100.0}- ${cprice})/${res.items[0].paidPrice/100.0}`
                         })
                     }else{
@@ -593,13 +593,13 @@ class AccountDetails extends React.Component {
                     <div>
                         业务单号:{this.state.orderCode}
                         {this.renderTable(this.state.type)}
-                        {this.state.calculationFormula}
+                        计算公式:{this.state.calculationFormula}
                         <tr/>
-                        计算说明:{this.state.calculationExplain}
+                        计算公式说明:{this.state.calculationExplain}
                         <tr/>
                         {this.state.drugsRateFront}
                         <tr/>
-                        {this.state.drugsRate}
+                        {/* {this.state.drugsRate} */}
                     </div>
                 </Modal>
             </div>