|
|
|
|
@ -1,16 +1,58 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div>
|
|
|
|
|
<xy-dialog ref="dialog" :form="form" :is-show.sync="isShow" :rules="rules" :title="type === 'add' ? '新增产品' : '编辑产品'"
|
|
|
|
|
:width="70"
|
|
|
|
|
type="form" @submit="submit">
|
|
|
|
|
<xy-dialog
|
|
|
|
|
ref="dialog"
|
|
|
|
|
:form="form"
|
|
|
|
|
:is-show.sync="isShow"
|
|
|
|
|
:rules="rules"
|
|
|
|
|
:title="type === 'add' ? '新增产品' : '编辑产品'"
|
|
|
|
|
:width="70"
|
|
|
|
|
type="form"
|
|
|
|
|
@submit="submit"
|
|
|
|
|
>
|
|
|
|
|
<template v-slot:product_type_id>
|
|
|
|
|
<div class="xy-table-item">
|
|
|
|
|
<div class="xy-table-item-label">
|
|
|
|
|
<span style="color: red;font-weight: 600;padding-right: 4px;">*</span>业务板块:
|
|
|
|
|
<span style="color: red; font-weight: 600; padding-right: 4px"
|
|
|
|
|
>*</span
|
|
|
|
|
>业务板块:
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content">
|
|
|
|
|
<el-select v-model="form.product_type_id" placeholder="请选择业务板块" style="width: 300px">
|
|
|
|
|
<el-option v-for="item in productType" :key="item.id" :label="item.name" :value="item.id"></el-option>
|
|
|
|
|
<el-select
|
|
|
|
|
v-model="form.product_type_id"
|
|
|
|
|
placeholder="请选择业务板块"
|
|
|
|
|
style="width: 300px"
|
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in productType"
|
|
|
|
|
:key="item.id"
|
|
|
|
|
:label="item.name"
|
|
|
|
|
:value="item.id"
|
|
|
|
|
></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<template v-slot:area_id>
|
|
|
|
|
<div class="xy-table-item">
|
|
|
|
|
<div class="xy-table-item-label">
|
|
|
|
|
<span style="color: red; font-weight: 600; padding-right: 4px"
|
|
|
|
|
>*</span
|
|
|
|
|
>区域:
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content">
|
|
|
|
|
<el-select
|
|
|
|
|
v-model="form.area_id"
|
|
|
|
|
placeholder="请选择区域"
|
|
|
|
|
style="width: 300px"
|
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in areas"
|
|
|
|
|
:key="item.id"
|
|
|
|
|
:label="item.value"
|
|
|
|
|
:value="item.id"
|
|
|
|
|
></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
@ -19,10 +61,17 @@
|
|
|
|
|
<template v-slot:name>
|
|
|
|
|
<div class="xy-table-item">
|
|
|
|
|
<div class="xy-table-item-label">
|
|
|
|
|
<span style="color: red;font-weight: 600;padding-right: 4px;">*</span>名称:
|
|
|
|
|
<span style="color: red; font-weight: 600; padding-right: 4px"
|
|
|
|
|
>*</span
|
|
|
|
|
>名称:
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content">
|
|
|
|
|
<el-input v-model="form.name" clearable placeholder="请输入产品名称" style="width: 300px;"></el-input>
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="form.name"
|
|
|
|
|
clearable
|
|
|
|
|
placeholder="请输入产品名称"
|
|
|
|
|
style="width: 300px"
|
|
|
|
|
></el-input>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
@ -30,11 +79,27 @@
|
|
|
|
|
<template v-slot:cycle>
|
|
|
|
|
<div class="xy-table-item">
|
|
|
|
|
<div class="xy-table-item-label">
|
|
|
|
|
<span style="color: red;font-weight: 600;padding-right: 4px;">*</span>周期:
|
|
|
|
|
<span style="color: red; font-weight: 600; padding-right: 4px"
|
|
|
|
|
>*</span
|
|
|
|
|
>周期:
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content">
|
|
|
|
|
<el-select v-model="form.cycle" style="width: 300px;" placeholder="请选择周期">
|
|
|
|
|
<el-option v-for="(item,index) in [{label:'年',value:1},{label:'月',value:2},{label:'周',value:3},{label:'次',value:4}]" :key="item.value" :label="item.label" :value="item.value"></el-option>
|
|
|
|
|
<el-select
|
|
|
|
|
v-model="form.cycle"
|
|
|
|
|
style="width: 300px"
|
|
|
|
|
placeholder="请选择周期"
|
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="(item, index) in [
|
|
|
|
|
{ label: '年', value: 1 },
|
|
|
|
|
{ label: '月', value: 2 },
|
|
|
|
|
{ label: '周', value: 3 },
|
|
|
|
|
{ label: '次', value: 4 },
|
|
|
|
|
]"
|
|
|
|
|
:key="item.value"
|
|
|
|
|
:label="item.label"
|
|
|
|
|
:value="item.value"
|
|
|
|
|
></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
@ -43,13 +108,17 @@
|
|
|
|
|
<template v-slot:service_rule>
|
|
|
|
|
<div class="xy-table-item">
|
|
|
|
|
<div class="xy-table-item-label">
|
|
|
|
|
<span style="color: red;font-weight: 600;padding-right: 4px;">*</span>服务时长规则:
|
|
|
|
|
<span style="color: red; font-weight: 600; padding-right: 4px"
|
|
|
|
|
>*</span
|
|
|
|
|
>服务时长规则:
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content">
|
|
|
|
|
<el-switch v-model="form.service_rule"
|
|
|
|
|
active-text="总时长"
|
|
|
|
|
inactive-text="单次限时"
|
|
|
|
|
style="width: 300px;"></el-switch>
|
|
|
|
|
<el-switch
|
|
|
|
|
v-model="form.service_rule"
|
|
|
|
|
active-text="总时长"
|
|
|
|
|
inactive-text="单次限时"
|
|
|
|
|
style="width: 300px"
|
|
|
|
|
></el-switch>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
@ -57,10 +126,17 @@
|
|
|
|
|
<template v-slot:total v-if="form.service_rule">
|
|
|
|
|
<div class="xy-table-item">
|
|
|
|
|
<div class="xy-table-item-label">
|
|
|
|
|
<span style="color: red;font-weight: 600;padding-right: 4px;">*</span>总计时长:
|
|
|
|
|
<span style="color: red; font-weight: 600; padding-right: 4px"
|
|
|
|
|
>*</span
|
|
|
|
|
>总计时长:
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content xy-table-item-min">
|
|
|
|
|
<el-input v-model="form.total" clearable placeholder="请输入总计时长" style="width: 300px;"/>
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="form.total"
|
|
|
|
|
clearable
|
|
|
|
|
placeholder="请输入总计时长"
|
|
|
|
|
style="width: 300px"
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
@ -68,10 +144,17 @@
|
|
|
|
|
<template v-slot:time_lenth v-else>
|
|
|
|
|
<div class="xy-table-item">
|
|
|
|
|
<div class="xy-table-item-label">
|
|
|
|
|
<span style="color: red;font-weight: 600;padding-right: 4px;">*</span>单次时长:
|
|
|
|
|
<span style="color: red; font-weight: 600; padding-right: 4px"
|
|
|
|
|
>*</span
|
|
|
|
|
>单次时长:
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content xy-table-item-min">
|
|
|
|
|
<el-input v-model="form.time_lenth" clearable placeholder="请输入单次时长" style="width: 300px;"/>
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="form.time_lenth"
|
|
|
|
|
clearable
|
|
|
|
|
placeholder="请输入单次时长"
|
|
|
|
|
style="width: 300px"
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
@ -79,11 +162,19 @@
|
|
|
|
|
<template v-slot:frequency>
|
|
|
|
|
<div class="xy-table-item">
|
|
|
|
|
<div class="xy-table-item-label">
|
|
|
|
|
<span style="color: red;font-weight: 600;padding-right: 4px;">*</span>周期内服务次数:
|
|
|
|
|
<span style="color: red; font-weight: 600; padding-right: 4px"
|
|
|
|
|
>*</span
|
|
|
|
|
>周期内服务次数:
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content">
|
|
|
|
|
<el-input-number v-model="form.frequency" :controls="false" :precision="0" clearable
|
|
|
|
|
placeholder="请输入周期内服务次数" style="width: 300px;"/>
|
|
|
|
|
<el-input-number
|
|
|
|
|
v-model="form.frequency"
|
|
|
|
|
:controls="false"
|
|
|
|
|
:precision="0"
|
|
|
|
|
clearable
|
|
|
|
|
placeholder="请输入周期内服务次数"
|
|
|
|
|
style="width: 300px"
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
@ -91,11 +182,26 @@
|
|
|
|
|
<template v-slot:purchase_price>
|
|
|
|
|
<div class="xy-table-item">
|
|
|
|
|
<div class="xy-table-item-label">
|
|
|
|
|
<span style="color: red;font-weight: 600;padding-right: 4px;">*</span>采购单价:
|
|
|
|
|
<span style="color: red; font-weight: 600; padding-right: 4px"
|
|
|
|
|
>*</span
|
|
|
|
|
>采购单价:
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content" :class="form.service_rule ? 'xy-table-item-min_price' : 'xy-table-item-price'">
|
|
|
|
|
<el-input-number v-model="form.purchase_price" :controls="false" :precision="2" clearable
|
|
|
|
|
placeholder="请输入采购单价" style="width: 300px;"/>
|
|
|
|
|
<div
|
|
|
|
|
class="xy-table-item-content"
|
|
|
|
|
:class="
|
|
|
|
|
form.service_rule
|
|
|
|
|
? 'xy-table-item-min_price'
|
|
|
|
|
: 'xy-table-item-price'
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<el-input-number
|
|
|
|
|
v-model="form.purchase_price"
|
|
|
|
|
:controls="false"
|
|
|
|
|
:precision="2"
|
|
|
|
|
clearable
|
|
|
|
|
placeholder="请输入采购单价"
|
|
|
|
|
style="width: 300px"
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
@ -103,11 +209,26 @@
|
|
|
|
|
<template v-slot:nurse_price>
|
|
|
|
|
<div class="xy-table-item">
|
|
|
|
|
<div class="xy-table-item-label">
|
|
|
|
|
<span style="color: red;font-weight: 600;padding-right: 4px;">*</span>护工单价:
|
|
|
|
|
<span style="color: red; font-weight: 600; padding-right: 4px"
|
|
|
|
|
>*</span
|
|
|
|
|
>护工单价:
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content" :class="form.service_rule ? 'xy-table-item-min_price' : 'xy-table-item-price'">
|
|
|
|
|
<el-input-number v-model="form.nurse_price" :controls="false" :precision="2" clearable placeholder="请输入护工单价"
|
|
|
|
|
style="width: 300px;"/>
|
|
|
|
|
<div
|
|
|
|
|
class="xy-table-item-content"
|
|
|
|
|
:class="
|
|
|
|
|
form.service_rule
|
|
|
|
|
? 'xy-table-item-min_price'
|
|
|
|
|
: 'xy-table-item-price'
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<el-input-number
|
|
|
|
|
v-model="form.nurse_price"
|
|
|
|
|
:controls="false"
|
|
|
|
|
:precision="2"
|
|
|
|
|
clearable
|
|
|
|
|
placeholder="请输入护工单价"
|
|
|
|
|
style="width: 300px"
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
@ -115,11 +236,19 @@
|
|
|
|
|
<template v-slot:process_total>
|
|
|
|
|
<div class="xy-table-item">
|
|
|
|
|
<div class="xy-table-item-label">
|
|
|
|
|
<span style="color: red;font-weight: 600;padding-right: 4px;">*</span>单次服务打卡次数:
|
|
|
|
|
<span style="color: red; font-weight: 600; padding-right: 4px"
|
|
|
|
|
>*</span
|
|
|
|
|
>单次服务打卡次数:
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content">
|
|
|
|
|
<el-input-number v-model="form.process_total" :controls="false" :precision="0" clearable placeholder="请输入护工单价"
|
|
|
|
|
style="width: 300px;"/>
|
|
|
|
|
<el-input-number
|
|
|
|
|
v-model="form.process_total"
|
|
|
|
|
:controls="false"
|
|
|
|
|
:precision="0"
|
|
|
|
|
clearable
|
|
|
|
|
placeholder="请输入护工单价"
|
|
|
|
|
style="width: 300px"
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
@ -127,12 +256,25 @@
|
|
|
|
|
<template v-slot:type>
|
|
|
|
|
<div class="xy-table-item">
|
|
|
|
|
<div class="xy-table-item-label">
|
|
|
|
|
<span style="color: red;font-weight: 600;padding-right: 4px;">*</span>单次规定项目:
|
|
|
|
|
<span style="color: red; font-weight: 600; padding-right: 4px"
|
|
|
|
|
>*</span
|
|
|
|
|
>单次规定项目:
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content">
|
|
|
|
|
<el-select v-model="form.type" placeholder="请选择单次规定项目" style="width: 300px">
|
|
|
|
|
<el-option v-for="item in [{id:1,value:'自由组合'},{id:2,value:'按订单组合'}]" :key="item.id" :label="item.value"
|
|
|
|
|
:value="item.id"></el-option>
|
|
|
|
|
<el-select
|
|
|
|
|
v-model="form.type"
|
|
|
|
|
placeholder="请选择单次规定项目"
|
|
|
|
|
style="width: 300px"
|
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in [
|
|
|
|
|
{ id: 1, value: '自由组合' },
|
|
|
|
|
{ id: 2, value: '按订单组合' },
|
|
|
|
|
]"
|
|
|
|
|
:key="item.id"
|
|
|
|
|
:label="item.value"
|
|
|
|
|
:value="item.id"
|
|
|
|
|
></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
@ -142,101 +284,91 @@
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import {save, getForm} from '@/api/product'
|
|
|
|
|
import { save, getForm } from "@/api/product";
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
props: {
|
|
|
|
|
productType: {
|
|
|
|
|
type: Array,
|
|
|
|
|
default: () => []
|
|
|
|
|
}
|
|
|
|
|
default: () => [],
|
|
|
|
|
},
|
|
|
|
|
areas: {
|
|
|
|
|
type: Array,
|
|
|
|
|
default: () => [],
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
id: '',
|
|
|
|
|
id: "",
|
|
|
|
|
isShow: false,
|
|
|
|
|
type: 'add',
|
|
|
|
|
type: "add",
|
|
|
|
|
|
|
|
|
|
form: {
|
|
|
|
|
product_type_id: '',
|
|
|
|
|
name: '',
|
|
|
|
|
cycle: '',
|
|
|
|
|
product_type_id: "",
|
|
|
|
|
area_id: "",
|
|
|
|
|
name: "",
|
|
|
|
|
cycle: "",
|
|
|
|
|
frequency: 0,
|
|
|
|
|
|
|
|
|
|
service_rule:false,
|
|
|
|
|
purchase_price: '',
|
|
|
|
|
nurse_price: '',
|
|
|
|
|
time_lenth: '',
|
|
|
|
|
total:'',
|
|
|
|
|
process_total:'',
|
|
|
|
|
service_rule: false,
|
|
|
|
|
purchase_price: "",
|
|
|
|
|
nurse_price: "",
|
|
|
|
|
time_lenth: "",
|
|
|
|
|
total: "",
|
|
|
|
|
process_total: "",
|
|
|
|
|
},
|
|
|
|
|
rules: {
|
|
|
|
|
product_type_id: [
|
|
|
|
|
{required: true, message: '请选择产品板块'}
|
|
|
|
|
],
|
|
|
|
|
name: [
|
|
|
|
|
{required: true, message: '请填写名称'}
|
|
|
|
|
],
|
|
|
|
|
cycle: [
|
|
|
|
|
{required: true, message: '请填写周期'}
|
|
|
|
|
],
|
|
|
|
|
frequency: [
|
|
|
|
|
{required: true, message: '请填写服务次数'}
|
|
|
|
|
],
|
|
|
|
|
purchase_price: [
|
|
|
|
|
{required: true, message: '请填写采购单价'}
|
|
|
|
|
],
|
|
|
|
|
nurse_price: [
|
|
|
|
|
{required: true, message: '请填写护工单价'}
|
|
|
|
|
],
|
|
|
|
|
time_lenth: [
|
|
|
|
|
{required: true, message: '请填写单词时长'}
|
|
|
|
|
],
|
|
|
|
|
type: [
|
|
|
|
|
{required: true, message: '请选择规定项目'}
|
|
|
|
|
],
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
product_type_id: [{ required: true, message: "请选择产品板块" }],
|
|
|
|
|
area_id: [{ required: true, message: "请选择区域" }],
|
|
|
|
|
name: [{ required: true, message: "请填写名称" }],
|
|
|
|
|
cycle: [{ required: true, message: "请填写周期" }],
|
|
|
|
|
frequency: [{ required: true, message: "请填写服务次数" }],
|
|
|
|
|
purchase_price: [{ required: true, message: "请填写采购单价" }],
|
|
|
|
|
nurse_price: [{ required: true, message: "请填写护工单价" }],
|
|
|
|
|
time_lenth: [{ required: true, message: "请填写单词时长" }],
|
|
|
|
|
type: [{ required: true, message: "请选择规定项目" }],
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
async getDetail() {
|
|
|
|
|
const res = await getForm(this.id)
|
|
|
|
|
this.$integrateData(this.form, res)
|
|
|
|
|
this.form.service_rule = res.service_rule === 2
|
|
|
|
|
const res = await getForm(this.id);
|
|
|
|
|
this.$integrateData(this.form, res);
|
|
|
|
|
this.form.service_rule = res.service_rule === 2;
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
submit() {
|
|
|
|
|
this.form.service_rule = this.form.service_rule ? 2 : 1
|
|
|
|
|
if (this.type === 'editor') {
|
|
|
|
|
Object.defineProperty(this.form, 'id', {
|
|
|
|
|
this.form.service_rule = this.form.service_rule ? 2 : 1;
|
|
|
|
|
if (this.type === "editor") {
|
|
|
|
|
Object.defineProperty(this.form, "id", {
|
|
|
|
|
value: this.id,
|
|
|
|
|
writable: true,
|
|
|
|
|
configurable: true,
|
|
|
|
|
enumerable: true
|
|
|
|
|
})
|
|
|
|
|
enumerable: true,
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
save(this.form).then(res => {
|
|
|
|
|
this.$successMessage(this.type, '产品')
|
|
|
|
|
this.$emit('refresh')
|
|
|
|
|
this.isShow = false
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
save(this.form).then((res) => {
|
|
|
|
|
this.$successMessage(this.type, "产品");
|
|
|
|
|
this.$emit("refresh");
|
|
|
|
|
this.isShow = false;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
watch: {
|
|
|
|
|
isShow(val) {
|
|
|
|
|
if (val) {
|
|
|
|
|
if (this.type === 'editor') {
|
|
|
|
|
this.getDetail()
|
|
|
|
|
if (this.type === "editor") {
|
|
|
|
|
this.getDetail();
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
this.id = ''
|
|
|
|
|
this.type = ''
|
|
|
|
|
this.$refs['dialog'].reset()
|
|
|
|
|
delete this.form.id
|
|
|
|
|
this.id = "";
|
|
|
|
|
this.type = "";
|
|
|
|
|
this.$refs["dialog"].reset();
|
|
|
|
|
delete this.form.id;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
@ -247,24 +379,23 @@ export default {
|
|
|
|
|
::v-deep .el-input__inner {
|
|
|
|
|
text-align: left !important;
|
|
|
|
|
}
|
|
|
|
|
.xy-table-item-min{
|
|
|
|
|
::v-deep .el-input__clear{
|
|
|
|
|
.xy-table-item-min {
|
|
|
|
|
::v-deep .el-input__clear {
|
|
|
|
|
position: relative;
|
|
|
|
|
right: 46px;
|
|
|
|
|
z-index: 2;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.xy-table-item-min_price{
|
|
|
|
|
.xy-table-item-min_price {
|
|
|
|
|
position: relative;
|
|
|
|
|
&::after{
|
|
|
|
|
&::after {
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: 0;
|
|
|
|
|
top: 0;
|
|
|
|
|
content:'(元/分钟)'
|
|
|
|
|
content: "(元/分钟)";
|
|
|
|
|
}
|
|
|
|
|
::v-deep .el-input__clear{
|
|
|
|
|
::v-deep .el-input__clear {
|
|
|
|
|
position: relative;
|
|
|
|
|
right: 46px;
|
|
|
|
|
z-index: 2;
|
|
|
|
|
|