Commit 74494150 by zhangzhen

细节优化

parent a1f3b701
...@@ -159,7 +159,7 @@ ...@@ -159,7 +159,7 @@
/> />
<!-- 添加或修改门店对话框 --> <!-- 添加或修改门店对话框 -->
<el-dialog :title="title" :visible.sync="open" width="55%" append-to-body> <el-dialog :title="title" :visible.sync="open" width="55%" append-to-body destroy-on-close @close="onClose">
<el-form ref="form" :model="form" :rules="rules" label-width="120px"> <el-form ref="form" :model="form" :rules="rules" label-width="120px">
<el-form-item label="门店名称" prop="name" required> <el-form-item label="门店名称" prop="name" required>
<el-input v-model="form.name" placeholder="请输入门店名称"/> <el-input v-model="form.name" placeholder="请输入门店名称"/>
...@@ -192,13 +192,13 @@ ...@@ -192,13 +192,13 @@
<el-form-item label="联系人电话" prop="phone"> <el-form-item label="联系人电话" prop="phone">
<el-input v-model="form.phone" placeholder="请输入联系人电话"/> <el-input v-model="form.phone" placeholder="请输入联系人电话"/>
</el-form-item> </el-form-item>
<el-form-item label="营业时间" prop="openStartTime"> <el-form-item label="营业时间" prop="">
<el-time-select <el-time-select
v-model="form.openStartTime" v-model="form.openStartTime"
:picker-options="{ :picker-options="{
start: '00:00', start: '00:00',
step: '00:30', step: '00:30',
end: '11:59' end: '24:00'
}" }"
placeholder="请选择开始时间" placeholder="请选择开始时间"
> >
...@@ -208,7 +208,7 @@ ...@@ -208,7 +208,7 @@
:picker-options="{ :picker-options="{
start: '00:00', start: '00:00',
step: '00:30', step: '00:30',
end: '11:59' end: '24:00'
}" }"
placeholder="请选择结束时间" placeholder="请选择结束时间"
> >
...@@ -335,9 +335,9 @@ export default { ...@@ -335,9 +335,9 @@ export default {
updateTime: null, updateTime: null,
status: '0', status: '0',
remark: null, remark: null,
openStartTime: '00:00', openStartTime: '',
storeType: "1", storeType: "1",
openEndTime: '11:30' openEndTime: ''
} }
this.resetForm('form') this.resetForm('form')
}, },
......
...@@ -35,8 +35,8 @@ module.exports = { ...@@ -35,8 +35,8 @@ module.exports = {
proxy: { proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy // detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: { [process.env.VUE_APP_BASE_API]: {
target: `http://localhost:8882`, // target: `http://localhost:8882`,
// target: "http://192.168.137.48:8882", target: "http://192.168.43.21:8882",
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: '' ['^' + process.env.VUE_APP_BASE_API]: ''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment