Commit 6767fa66 authored by 前端-许佳敏's avatar 前端-许佳敏

fix: 隐藏销售订单评价按钮

parent 3ab50520
......@@ -272,7 +272,7 @@ const SaleOrder: React.FC<SaleOrderProps> = () => {
const buttonGroup = {
[intl.formatMessage({ id: 'saleOrder.quxiaodingdan', defaultMessage: '取消订单' })]: record.showCancel,
[intl.formatMessage({ id: 'saleOrder.zhongzhi', defaultMessage: '中止' })]: record.showTerminate,
[intl.formatMessage({ id: 'saleOrder.pingjia', defaultMessage: '评价' })]: record.showComment,
// [intl.formatMessage({ id: 'saleOrder.pingjia', defaultMessage: '评价' })]: record.showComment,
[intl.formatMessage({ id: 'saleOrder.zhuandan', defaultMessage: '转单' })]: record.showTransfer,
[intl.formatMessage({ id: 'saleOrder.xiugaidingdanjia', defaultMessage: '修改订单价格' })]: record.showModifyPrice,
[intl.formatMessage({ id: 'saleOrder.shengchengzhifulian', defaultMessage: '生成支付链接' })]: record.showGeneratePayLink,
......@@ -281,7 +281,7 @@ const SaleOrder: React.FC<SaleOrderProps> = () => {
const operationHandler = {
[intl.formatMessage({ id: 'saleOrder.quxiaodingdan', defaultMessage: '取消订单' })]: () => handleCancel(record),
[intl.formatMessage({ id: 'saleOrder.zhongzhi', defaultMessage: '中止' })]: () => handleSuspend(record),
[intl.formatMessage({ id: 'saleOrder.pingjia', defaultMessage: '评价' })]: () => handleEvaluate(),
// [intl.formatMessage({ id: 'saleOrder.pingjia', defaultMessage: '评价' })]: () => handleEvaluate(),
[intl.formatMessage({ id: 'saleOrder.zhuandan', defaultMessage: '转单' })]: () => onlyTransform(record.orderId),
[intl.formatMessage({ id: 'saleOrder.xiugaidingdanjia', defaultMessage: '修改订单价格' })]: () => handleModifyPrice(record),
[intl.formatMessage({ id: 'saleOrder.shengchengzhifulian', defaultMessage: '生成支付链接' })]: () => generatePayChart(record)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment