Commit edf49477 by 李君

人员类型字典值

1 parent 76c41079
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
<a-select v-model:value="queryForm.personType" mode="multiple" :maxTagCount="1" <a-select v-model:value="queryForm.personType" mode="multiple" :maxTagCount="1"
style="width: 230px"> style="width: 230px">
<a-select-option :value="1">店员</a-select-option> <a-select-option :value="1">店员</a-select-option>
<a-select-option :value="2">顾客</a-select-option> <a-select-option :value="0">顾客</a-select-option>
</a-select> </a-select>
</a-form-item> </a-form-item>
<a-form-item label="选择日期:" style="padding: 5px 0"> <a-form-item label="选择日期:" style="padding: 5px 0">
...@@ -190,7 +190,7 @@ ...@@ -190,7 +190,7 @@
type: 0, type: 0,
direction: [1, -1, 0], direction: [1, -1, 0],
picType: 2, picType: 2,
personType: [1, 2], personType: [1, 0],
date: moment(moment().format('YYYY-MM-DD'), 'YYYY-MM-DD'), date: moment(moment().format('YYYY-MM-DD'), 'YYYY-MM-DD'),
startTime: moment('00:00:00', 'HH:mm:ss'), startTime: moment('00:00:00', 'HH:mm:ss'),
endTime: moment('23:59:59', 'HH:mm:ss'), endTime: moment('23:59:59', 'HH:mm:ss'),
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
<a-select v-model:value="queryForm.personType" mode="multiple" :maxTagCount="1" <a-select v-model:value="queryForm.personType" mode="multiple" :maxTagCount="1"
style="width: 230px"> style="width: 230px">
<a-select-option :value="1">店员</a-select-option> <a-select-option :value="1">店员</a-select-option>
<a-select-option :value="2">顾客</a-select-option> <a-select-option :value="0">顾客</a-select-option>
</a-select> </a-select>
</a-form-item> </a-form-item>
<a-form-item label="选择日期:" style="padding: 5px 0"> <a-form-item label="选择日期:" style="padding: 5px 0">
...@@ -177,7 +177,7 @@ ...@@ -177,7 +177,7 @@
type: 0, type: 0,
direction: [1, -1, 0], direction: [1, -1, 0],
picType: 2, picType: 2,
personType: [1, 2], personType: [1, 0],
date: moment(moment().format('YYYY-MM-DD'), 'YYYY-MM-DD'), date: moment(moment().format('YYYY-MM-DD'), 'YYYY-MM-DD'),
startTime: moment('00:00:00', 'HH:mm:ss'), startTime: moment('00:00:00', 'HH:mm:ss'),
endTime: moment('23:59:59', 'HH:mm:ss'), endTime: moment('23:59:59', 'HH:mm:ss'),
......
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
:maxTagCount="1" :maxTagCount="1"
style="width: 280px"> style="width: 280px">
<a-select-option :value="1">店员</a-select-option> <a-select-option :value="1">店员</a-select-option>
<a-select-option :value="2">顾客</a-select-option> <a-select-option :value="0">顾客</a-select-option>
</a-select> </a-select>
</a-form-item> </a-form-item>
<a-form-item label="选择日期:" style="padding: 5px 0"> <a-form-item label="选择日期:" style="padding: 5px 0">
...@@ -174,7 +174,7 @@ export default { ...@@ -174,7 +174,7 @@ export default {
type: 0, type: 0,
direction: [1, -1, 0], direction: [1, -1, 0],
picType: 2, picType: 2,
personType: [1, 2], personType: [1, 0],
date: moment(moment().format('YYYY-MM-DD'), 'YYYY-MM-DD'), date: moment(moment().format('YYYY-MM-DD'), 'YYYY-MM-DD'),
startTime: moment('00:00:00', 'HH:mm:ss'), startTime: moment('00:00:00', 'HH:mm:ss'),
endTime: moment('23:59:59', 'HH:mm:ss'), endTime: moment('23:59:59', 'HH:mm:ss'),
......
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
:maxTagCount="1" :maxTagCount="1"
style="width: 280px"> style="width: 280px">
<a-select-option :value="1">店员</a-select-option> <a-select-option :value="1">店员</a-select-option>
<a-select-option :value="2">顾客</a-select-option> <a-select-option :value="0">顾客</a-select-option>
</a-select> </a-select>
</a-form-item> </a-form-item>
<a-form-item label="选择日期:" style="padding: 5px 0"> <a-form-item label="选择日期:" style="padding: 5px 0">
...@@ -165,7 +165,7 @@ export default { ...@@ -165,7 +165,7 @@ export default {
type: 0, type: 0,
direction: [1, -1, 0], direction: [1, -1, 0],
picType: 2, picType: 2,
personType: [1, 2], personType: [1, 0],
date: moment(moment().format('YYYY-MM-DD'), 'YYYY-MM-DD'), date: moment(moment().format('YYYY-MM-DD'), 'YYYY-MM-DD'),
startTime: moment('00:00:00', 'HH:mm:ss'), startTime: moment('00:00:00', 'HH:mm:ss'),
endTime: moment('23:59:59', 'HH:mm:ss'), endTime: moment('23:59:59', 'HH:mm:ss'),
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!