修改省市区和营业时间

master
doublekou 1 year ago
commit 69977f6fb1

@ -63,6 +63,8 @@
:readonly="title === '详情' || title === '审核'"
/>
</a-form-item>
<a-row>
<a-col :span="24">
<a-form-item
label="备注"
name="remark"
@ -70,16 +72,19 @@
:wrapper-col="
title === '详情' || title === '审核'
? { sm: { span: 24 }, md: { span: 9 } }
: { sm: { span: 24 }, md: { span: 11 } }
: { sm: { span: 24 }, md: { span: 19 } }
"
>
<a-input
v-model:value="formModel.remark"
placeholder="请输入备注"
style="width: 65%"
style="width: 100%"
allow-clear
:readonly="title === '详情' || title === '审核'"
/>
</a-form-item>
</a-col>
</a-row>
<a-row :gutter="16">
<a-col :xl="14" :md="14" :sm="14">
<a-form-item

@ -8,7 +8,7 @@
<!-- 工具栏 -->
<a-card :bordered="false" :body-style="{ paddingBottom: 0 }">
<div class="operationButtonArea">
<a-button @click="addShop"></a-button>
<a-button type="primary" @click="addShop"></a-button>
<!-- 更多操作 -->
</div>
</a-card>
@ -30,7 +30,7 @@
<template v-else-if="column.key === 'operate'">
<operation-group>
<a @click="editShop(record)"></a>
<delete-text-button @confirm="deleteShopFun(record)" />
<!-- <delete-text-button @confirm="deleteShopFun(record)" /> -->
<a @click="selectReservation(record)"></a>
</operation-group>
</template>
@ -94,7 +94,7 @@ const editShop = (record: shopDetailVO) => {
const selectReservation = (record: shopDetailVO) => {
reservationModalRef.value?.open(FormAction.OTHER, record)
}
//
//
const deleteShopFun = (record: shopDetailVO) => {
doRequest(deleteShop(record.id as number), {
successMessage: '删除成功!',
@ -115,11 +115,11 @@ const columns: ProColumns[] = [
dataIndex: 'id'
},
{
title: '店名称',
title: '名称',
dataIndex: 'storeName'
},
{
title: '店类型',
title: '类型',
dataIndex: 'storeType',
customRender: ({ record }: any) => {
if (record.storeType === 0) {
@ -130,7 +130,7 @@ const columns: ProColumns[] = [
}
},
{
title: '店状态',
title: '状态',
dataIndex: 'storeStatus',
customRender: function ({ record }: any) {
if (record.storeStatus === 0) {
@ -157,6 +157,10 @@ const columns: ProColumns[] = [
},
{
title: '承接销售',
dataIndex: 'address'
},
{
title: '店铺地址',
dataIndex: 'userName'
},
{
@ -192,12 +196,6 @@ const columns: ProColumns[] = [
.operationButtonArea {
padding-bottom: 20px;
}
// .operationButton {
// background-color: #f4f4f5;
// border-radius: 5px;
// color: #909399;
// margin-right: 10px;
// }
.editable-row-operations a {
margin-right: 8px;
}

@ -96,7 +96,7 @@
</a-form-item>
</a-col>
</a-row>
<a-row v-if="title != '编辑门店'" justify="start">
<a-row justify="start">
<a-col :span="24">
<a-form-item
label="门店地址"
@ -105,10 +105,12 @@
:rules="[{ required: true, message: '请输入详细地址', trigger: ['blur'] }]"
name="address"
>
<a-input
<a-textarea
id="tipinput"
v-model:value="formModel.address"
:disabled="title == '编辑门店'"
allow-clear
auto-size
placeholder="请输入详细地址"
/>
</a-form-item>
@ -258,6 +260,7 @@ const selectUserList = () => {
}
const handleClose = () => {
closeModal()
formModel.tradeTime = []
submitLoading.value = false
}

Loading…
Cancel
Save