mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-11-01 07:20:56 +00:00
improve: 样式及筛选
This commit is contained in:
parent
dfdb8ef2e9
commit
cbb1d0bb17
@ -9,32 +9,33 @@
|
||||
@submit.native.prevent
|
||||
>
|
||||
<Row :gutter="24" type="flex">
|
||||
<Col span="24">
|
||||
<Col span="6">
|
||||
<FormItem label="订单时间:">
|
||||
<!-- <dateRadio @selectDate="onSelectDate"></dateRadio> -->
|
||||
<DatePicker
|
||||
:editable="false"
|
||||
:clearable="false"
|
||||
@on-change="onchangeTime"
|
||||
:value="timeVal"
|
||||
format="yyyy/MM/dd"
|
||||
type="daterange"
|
||||
placement="bottom-start"
|
||||
placeholder="请选择时间"
|
||||
style="width: 200px"
|
||||
style="width: 100%"
|
||||
:options="options"
|
||||
clearable
|
||||
class="mr20"
|
||||
></DatePicker>
|
||||
</FormItem>
|
||||
</Col>
|
||||
<Col span="24">
|
||||
<Col span="6">
|
||||
<FormItem label="交易类型:">
|
||||
<Select
|
||||
type="button"
|
||||
v-model="formValidate.trading_type"
|
||||
class="mr15"
|
||||
@on-change="selChange"
|
||||
style="width: 30%"
|
||||
style="width: 100%"
|
||||
clearable
|
||||
>
|
||||
<Option
|
||||
:label="item"
|
||||
|
||||
@ -8,10 +8,10 @@
|
||||
class="tabform"
|
||||
@submit.native.prevent
|
||||
>
|
||||
<Row :gutter="24" type="flex" justify="end">
|
||||
<Row :gutter="24">
|
||||
<Col span="8" class="ivu-text-left">
|
||||
<FormItem label="订单状态:">
|
||||
<RadioGroup v-model="orderData.status" type="button" @on-change="selectChange2(orderData.status)">
|
||||
<RadioGroup v-model="orderData.status" type="button" @on-change="selectChange2(orderData.status)" style="width: 400px">
|
||||
<Radio label="">全部 {{ '(' + orderChartType.statusAll ? orderChartType.statusAll : 0 + ')' }}</Radio>
|
||||
<Radio label="1">未发货 {{ '(' + orderChartType.unshipped ? orderChartType.unshipped : 0 + ')' }}</Radio>
|
||||
<Radio label="2">待收货 {{ '(' + orderChartType.untake ? orderChartType.untake : 0 + ')' }}</Radio>
|
||||
@ -35,7 +35,9 @@
|
||||
></DatePicker>
|
||||
</FormItem>
|
||||
</Col>
|
||||
<Col span="8">
|
||||
</Row>
|
||||
<Row :gutter="24" type="flex">
|
||||
<Col span="12">
|
||||
<div class="df">
|
||||
<FormItem label="搜索:" prop="real_name" label-for="real_name">
|
||||
<Input
|
||||
@ -268,7 +270,7 @@ export default {
|
||||
},
|
||||
watch: {
|
||||
$route() {
|
||||
if (this.$route.fullPath === (this.$routeProStr + '/order/list?status=1')) {
|
||||
if (this.$route.fullPath === this.$routeProStr + '/order/list?status=1') {
|
||||
this.getPath();
|
||||
}
|
||||
},
|
||||
@ -276,7 +278,7 @@ export default {
|
||||
created() {
|
||||
// this.timeVal = this.today;
|
||||
// this.orderData.data = this.timeVal.join('-');
|
||||
if (this.$route.fullPath === (this.$routeProStr + '/order/list?status=1')) {
|
||||
if (this.$route.fullPath === this.$routeProStr + '/order/list?status=1') {
|
||||
this.getPath();
|
||||
}
|
||||
// this.getToken();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user