feat:订单管理-强制退租增加文案
This commit is contained in:
@@ -10,10 +10,10 @@
|
|||||||
@ok="save"
|
@ok="save"
|
||||||
>
|
>
|
||||||
<span>订单编号:{{ data.orderNo }}</span>
|
<span>订单编号:{{ data.orderNo }}</span>
|
||||||
|
<div style="font-size: 12px;color: red;margin-top: 15px">注意:退租成功后,请到退租审核页面进行审核完成最终的退租</div>
|
||||||
<a-form
|
<a-form
|
||||||
ref="formRef"
|
ref="formRef"
|
||||||
:model="form"
|
:model="form">
|
||||||
:rules="rules">
|
|
||||||
</a-form>
|
</a-form>
|
||||||
</ele-modal>
|
</ele-modal>
|
||||||
</template>
|
</template>
|
||||||
@@ -56,17 +56,6 @@
|
|||||||
|
|
||||||
const equipmentCode = ref('')
|
const equipmentCode = ref('')
|
||||||
|
|
||||||
// 表单验证规则
|
|
||||||
const rules = reactive<Record<string, Rule[]>>({
|
|
||||||
equipmentCode: [
|
|
||||||
{
|
|
||||||
required: true,
|
|
||||||
message: '请输入新电池编号',
|
|
||||||
type: 'string',
|
|
||||||
trigger: 'blur'
|
|
||||||
}
|
|
||||||
]
|
|
||||||
});
|
|
||||||
|
|
||||||
/* 保存编辑 */
|
/* 保存编辑 */
|
||||||
const save = () => {
|
const save = () => {
|
||||||
@@ -81,7 +70,7 @@
|
|||||||
rentingOut(props.data)
|
rentingOut(props.data)
|
||||||
.then((msg) => {
|
.then((msg) => {
|
||||||
loading.value = false
|
loading.value = false
|
||||||
message.success("退租成功!");
|
message.success("退租成功!请到退租审核页面进行审核");
|
||||||
emit('done');
|
emit('done');
|
||||||
loading.value = false;
|
loading.value = false;
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user