@@ -26,12 +26,21 @@
<el-text>取件方式:</el-text>
<el-text>{{ expressTypeText }}</el-text>
</div>
+ <div class="common-text" v-if="verifyPeriodText">
+ <el-text>结算方式:</el-text>
+ <el-text>{{ verifyPeriodText }}</el-text>
+ </div>
</template>
<script setup>
import { useDictData } from '@/utils/use-dict-data';
+ const VERIFY_PERIOD_MAP = {
+ 7: '7天极速验货',
+ 15: '15天安心验货'
+ };
+
/** 字典数据 */
const [orderTypeDicts, expressTypeDicts] = useDictData([
'order_type',
@@ -50,6 +59,10 @@
)?.dictLabel;
});
+ const verifyPeriodText = computed(() => {
+ return VERIFY_PERIOD_MAP[props.row.verifyPeriodDays] || '';
+ });
const props = defineProps({
row: {
type: Object,
@@ -88,6 +88,15 @@
prop: 'finalExpress',
props: { code: 'final_express' }
},
+ {
+ type: 'select',
+ label: '结算方式',
+ prop: 'verifyPeriodDays',
+ options: [
+ { label: '7天极速验货', value: 7 },
+ { label: '15天安心验货', value: 15 }
+ ]
+ },
{
type: 'dictSelect',
label: '全部方式',
@@ -247,7 +247,7 @@
minWidth: 230
{ label: '客户', prop: 'customer', slot: 'customer', minWidth: 360 },
- { label: '金额', prop: 'amount', slot: 'amount', minWidth: 160 },
+ { label: '金额', prop: 'amount', slot: 'amount', minWidth: 190 },
label: '状态',
prop: 'status',