销售计提比例开始结束时间
This commit is contained in:
parent
4cd2fa887e
commit
042e758b0b
@ -33,10 +33,35 @@
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="开始时间" prop="startDate">
|
||||
<el-date-picker
|
||||
style="width: 100%;"
|
||||
v-model="form.startDate"
|
||||
type="datetime"
|
||||
value-format="yyyy-MM-dd HH:mm:ss"
|
||||
placeholder="选择开始时间"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="结束时间" prop="endDate">
|
||||
<el-date-picker
|
||||
style="width: 100%;"
|
||||
v-model="form.endDate"
|
||||
type="datetime"
|
||||
value-format="yyyy-MM-dd HH:mm:ss"
|
||||
placeholder="选择结束时间"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
||||
<el-col :span="24">
|
||||
<el-form-item label="启用状态" prop="status">
|
||||
<!-- 选项水平显示 -->
|
||||
<el-radio v-model="form.status" label="1">启用</el-radio>
|
||||
<el-radio v-model="form.status" label="2">停用</el-radio>
|
||||
<el-radio v-model="form.status" label="0">未启用</el-radio>
|
||||
<el-radio v-model="form.status" label="2">启用已过期</el-radio>
|
||||
<el-radio v-model="form.status" label="3">启用未过期</el-radio>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
@ -91,12 +116,12 @@ export default {
|
||||
salesmenRatio: [
|
||||
{ required: true, message: "销售联系人占比不能为空", trigger: ["change", "blur"] }
|
||||
],
|
||||
salesSupport: [
|
||||
{ required: true, message: "销售支持不能为空", trigger: ["change", "blur"] }
|
||||
],
|
||||
salesSupportRatio: [
|
||||
{ required: true, message: "销售支持占比不能为空", trigger: ["change", "blur"] }
|
||||
],
|
||||
// salesSupport: [
|
||||
// { required: true, message: "销售支持不能为空", trigger: ["change", "blur"] }
|
||||
// ],
|
||||
// salesSupportRatio: [
|
||||
// { required: true, message: "销售支持占比不能为空", trigger: ["change", "blur"] }
|
||||
// ],
|
||||
}
|
||||
};
|
||||
},
|
||||
@ -136,6 +161,9 @@ export default {
|
||||
salesmenRatio: null,
|
||||
salesSupport: null,
|
||||
salesSupportRatio: null,
|
||||
status: null,
|
||||
startDate: null,
|
||||
endDate: null,
|
||||
createTime: null,
|
||||
updateBy: null,
|
||||
updateTime: null,
|
||||
|
||||
@ -16,7 +16,9 @@
|
||||
<el-form-item label="启用状态" prop="status">
|
||||
<el-select v-model="queryParams.status" placeholder="请选择" clearable>
|
||||
<el-option label="启用" value="1"></el-option>
|
||||
<el-option label="停用" value="0"></el-option>
|
||||
<el-option label="未启用" value="0"></el-option>
|
||||
<el-option label="启用已过期" value="2"></el-option>
|
||||
<el-option label="启用未过期" value="3"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</SearchForm>
|
||||
@ -72,9 +74,13 @@
|
||||
<el-table-column label="启用状态" align="center" prop="status" min-width="100">
|
||||
<template slot-scope="scope">
|
||||
<span v-if="scope.row.status == '1'">启用</span>
|
||||
<span v-else>停用</span>
|
||||
<span v-else-if="scope.row.status == '0'">未启用</span>
|
||||
<span v-else-if="scope.row.status == '2'">启用已过期</span>
|
||||
<span v-else>启用未过期</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="开始时间" align="center" prop="startDate" width="170" />
|
||||
<el-table-column label="结束时间" align="center" prop="endDate" width="170" />
|
||||
<el-table-column label="备注" align="center" prop="remark" min-width="100" tooltip>
|
||||
</el-table-column>
|
||||
<el-table-column label="创建人" align="center" prop="createByName" width="80" :show-overflow-tooltip="true" />
|
||||
|
||||
Loading…
Reference in New Issue
Block a user