修改虚拟订单字段

master
lifenlong 2021-06-29 10:06:54 +08:00
parent 59a580ccac
commit 9b83d20b85
3 changed files with 5 additions and 5 deletions

View File

@ -137,7 +137,7 @@
<Form-item label="订单类型" prop="orderType"> <Form-item label="订单类型" prop="orderType">
<Select v-model="orderSearchForm.orderType" placeholder="请选择" clearable style="width: 200px"> <Select v-model="orderSearchForm.orderType" placeholder="请选择" clearable style="width: 200px">
<Option value="NORMAL">普通订单</Option> <Option value="NORMAL">普通订单</Option>
<Option value="FICTITIOUS">虚拟订单</Option> <Option value="VIRTUAL">虚拟订单</Option>
<Option value="GIFT">赠品订单</Option> <Option value="GIFT">赠品订单</Option>
<Option value="PINTUAN">拼团订单</Option> <Option value="PINTUAN">拼团订单</Option>
</Select> </Select>
@ -479,7 +479,7 @@
render: (h, params) => { render: (h, params) => {
if (params.row.orderType == "NORMAL") { if (params.row.orderType == "NORMAL") {
return h('div', [h('span', {}, '普通订单'),]); return h('div', [h('span', {}, '普通订单'),]);
} else if (params.row.orderType == "FICTITIOUS") { } else if (params.row.orderType == "VIRTUAL") {
return h('div', [h('span', {}, '虚拟订单'),]); return h('div', [h('span', {}, '虚拟订单'),]);
} else if (params.row.orderType == "GIFT") { } else if (params.row.orderType == "GIFT") {
return h('div', [h('span', {}, '赠品订单'),]); return h('div', [h('span', {}, '赠品订单'),]);

View File

@ -98,7 +98,7 @@
order: "", // order: "", //
startDate: "", // startDate: "", //
endDate: "", // endDate: "", //
orderType: "FICTITIOUS", orderType: "VIRTUAL",
orderSn: "", orderSn: "",
buyerName: "", buyerName: "",
orderStatus: "" orderStatus: ""

View File

@ -217,7 +217,7 @@
<Form-item label="订单类型" prop="orderType"> <Form-item label="订单类型" prop="orderType">
<Select v-model="orderSearchForm.orderType" placeholder="请选择" clearable style="width: 200px"> <Select v-model="orderSearchForm.orderType" placeholder="请选择" clearable style="width: 200px">
<Option value="NORMAL">普通订单</Option> <Option value="NORMAL">普通订单</Option>
<Option value="FICTITIOUS">虚拟订单</Option> <Option value="VIRTUAL">虚拟订单</Option>
<Option value="GIFT">赠品订单</Option> <Option value="GIFT">赠品订单</Option>
<Option value="PINTUAN">拼团订单</Option> <Option value="PINTUAN">拼团订单</Option>
</Select> </Select>
@ -577,7 +577,7 @@
render: (h, params) => { render: (h, params) => {
if (params.row.orderType == "NORMAL") { if (params.row.orderType == "NORMAL") {
return h('div', [h('span', {}, '普通订单'),]); return h('div', [h('span', {}, '普通订单'),]);
} else if (params.row.orderType == "FICTITIOUS") { } else if (params.row.orderType == "VIRTUAL") {
return h('div', [h('span', {}, '虚拟订单'),]); return h('div', [h('span', {}, '虚拟订单'),]);
} else if (params.row.orderType == "GIFT") { } else if (params.row.orderType == "GIFT") {
return h('div', [h('span', {}, '赠品订单'),]); return h('div', [h('span', {}, '赠品订单'),]);