新增店铺信息配置

This commit is contained in:
gyq
2024-05-16 16:56:15 +08:00
parent 8135d4616b
commit 1d674d15d3
4 changed files with 18 additions and 3 deletions

View File

@@ -3,8 +3,9 @@ ENV = 'development'
# 接口地址
# VUE_APP_BASE_API = 'http://192.168.2.128:8000'
# VUE_APP_BASE_API = 'http://192.168.2.133:8000'
VUE_APP_BASE_API = 'https://admintestpapi.sxczgkj.cn'
# VUE_APP_BASE_API = 'https://cashieradmin.sxczgkj.cn'
VUE_APP_BASE_API = 'http://192.168.2.96:8000'
# VUE_APP_BASE_API = 'http://192.168.2.96:8000'
VUE_APP_WS_API = 'ws://192.168.2.128:8000'
# 是否启用 babel-plugin-dynamic-import-node插件

View File

@@ -12,6 +12,12 @@
<el-form-item label="支付密码">
<el-input v-model="form.payPassword" placeholder="请输入支付密码"></el-input>
</el-form-item>
<el-form-item label="小程序appid">
<el-input v-model="form.smallAppid" placeholder="请输入小程序appid"></el-input>
</el-form-item>
<el-form-item label="店铺id">
<el-input v-model="form.storeId" placeholder="请输入店铺id"></el-input>
</el-form-item>
<el-form-item label="状态">
<el-radio-group v-model="form.status">
<el-radio :label="1">启用</el-radio>
@@ -44,7 +50,9 @@ export default ({
id: '',
payPassword: '',
status: 1,
appId: ''
appId: '',
smallAppid: '',
storeId: ''
}
}
},
@@ -85,6 +93,8 @@ export default ({
this.form.payPassword = res.payPassword
this.form.status = res.status
this.form.appId = res.appId
this.form.smallAppid = res.smallAppid
this.form.storeId = res.storeId
} catch (error) {
console.log(error)
}

View File

@@ -73,6 +73,10 @@
}" format="HH:mm" value-format="HH:mm">
</el-time-picker>
</el-form-item>
<el-form-item label="是否开启8折活动">
<el-switch v-model="form.isOpenYhq" active-value="true" inactive-value="false"></el-switch>
<!-- <div style="color: #999;">是否允许用户在小程序端支付订单</div> -->
</el-form-item>
<!-- <el-form-item label="结算类型">
<el-radio-group v-model="form.settleType">
<el-radio :label="0">今日</el-radio>

View File

@@ -72,7 +72,7 @@
<el-dropdown @command="dropdownClick">
<el-button type="text">更多<i class="el-icon-arrow-down"></i></el-button>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item :command="{ row: scope.row, command: 1 }">详情</el-dropdown-item>
<el-dropdown-item :command="{ row: scope.row, command: 1 }">三方配置</el-dropdown-item>
<el-dropdown-item :command="2">续费记录</el-dropdown-item>
<el-dropdown-item :command="3">前往店铺</el-dropdown-item>
<el-dropdown-item :command="4">重置密码</el-dropdown-item>