商城测试版v8

This commit is contained in:
2022-07-27 20:52:03 +08:00
parent 3009b65e00
commit 84bc43fbb9
17 changed files with 106 additions and 259 deletions
+2 -1
View File
@@ -20,6 +20,7 @@ type Param = {
sale_mode: number, //订单类型
av_return_roll?: number, //可退数量
is_return?: true|false, //是否申请了售后
is_should_collect_audit?: true|false, //应收单是否审核
},
showStatus?: 'detail'|'list', //订单详情,订单列表
@@ -157,7 +158,7 @@ export default memo(({orderInfo, showStatus = 'detail', onClick}:Param) => {
label: '销售码单',
sort: 9,
validatarFunc: (orderInfo) => {
return orderInfo.actual_amount > 0 && orderInfo.wait_pay_amount == 0 && showStatus == 'detail'
return orderInfo.is_should_collect_audit && showStatus == 'detail'
}
},
])