Commit 1593ae0f authored by dragondean@qq.com's avatar dragondean@qq.com

理货转异点击遮罩关闭后打不开,未上传图片无法提交

parent 5414d50d
<template> <template>
<el-dialog :title="orderNo + $t('订单转异')" center :visible.sync="show" v-bind="$attrs"> <el-dialog :title="orderNo + $t('订单转异')" center :visible.sync="show" v-bind="$attrs" :close-on-click-modal="false">
<el-form label-position="top" label-width="200" ref="exceptionForm" :model="form" :rules="exceptionRules"> <el-form label-position="top" label-width="200" ref="exceptionForm" :model="form" :rules="exceptionRules">
<el-form-item :label="$t('原因类型')" prop="manualExceptionType"> <el-form-item :label="$t('原因类型')" prop="manualExceptionType">
<dict-selector v-model="form.manualExceptionType" form-type="checkbox" :type="DICT_TYPE.MANUAL_EXCEPTION_TYPE" multiple ></dict-selector> <dict-selector v-model="form.manualExceptionType" form-type="checkbox" :type="DICT_TYPE.MANUAL_EXCEPTION_TYPE" multiple ></dict-selector>
...@@ -35,7 +35,7 @@ export default { ...@@ -35,7 +35,7 @@ export default {
show: false, show: false,
form: { form: {
manualExceptionType: [], manualExceptionType: [],
exceptionUrls: [], exceptionUrls: '',
descZh: '' descZh: ''
}, },
exceptionRules:{} exceptionRules:{}
...@@ -57,7 +57,7 @@ export default { ...@@ -57,7 +57,7 @@ export default {
batchException({ batchException({
orderIds: [this.orderId], orderIds: [this.orderId],
manualExceptionType: this.form.manualExceptionType.join(","), manualExceptionType: this.form.manualExceptionType.join(","),
exceptionUrls: this.form.exceptionUrls.split(","), exceptionUrls: this.form.exceptionUrls?.split(",") || [],
descZh: this.form.descZh descZh: this.form.descZh
}).then(res=>{ }).then(res=>{
this.$message.success(this.$t('操作成功')); this.$message.success(this.$t('操作成功'));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment