master
飘泊客 1 year ago
parent fc6e8f329d
commit 13a6fec31b

@ -248,6 +248,7 @@ export interface GeopoliticalCustomersSearch {
// salesmanType: number | undefined
customName?: string
customNid?: string
storeId?: string
enrollStatus?: string
// 访问时间区间的开始值
startTime?: string

@ -110,9 +110,9 @@ const columns: ProColumns[] = [
dataIndex: 'enrollStatus',
customRender: function ({ record }: any) {
if (record.enrollStatus === 0) {
return h('div', '待分发')
return h('div', '暂缓中')
} else if (record.enrollStatus === 1) {
return h('div', '分发')
return h('div', '分发')
} else if (record.enrollStatus === 2) {
return h('div', '已通过')
}

@ -22,9 +22,9 @@
</a-form-item>
</a-col>
<a-col :xl="8" :md="12" :sm="24">
<a-form-item label="分发门店" name="customNid">
<a-form-item label="分发门店" name="storeId">
<a-select
v-model:value="formModel.customNid"
v-model:value="formModel.storeId"
:field-names="{ label: 'storeName', value: 'id' }"
:options="shopList"
placeholder="请选择分发门店"
@ -91,7 +91,7 @@ const searchTimeValue = ref<[Dayjs, Dayjs]>()
const distributeTime = ref<[Dayjs, Dayjs]>()
const formModel = reactive<GeopoliticalCustomersSearch>({
customName: '',
customNid: '',
storeId: '',
enrollStatus: undefined
})

Loading…
Cancel
Save