Commit 68ff5800 by qinjianhui

fix: problem

parent eb8932a5
...@@ -446,7 +446,10 @@ ...@@ -446,7 +446,10 @@
</div> </div>
<div class="order-detail-item"> <div class="order-detail-item">
<span class="order-detail-item-label">物流跟踪号:</span> <span class="order-detail-item-label">物流跟踪号:</span>
<span class="order-detail-item-value" :title="row.trackingNumber"> <span
class="order-detail-item-value"
:title="row.trackingNumber"
>
{{ row.trackingNumber }} {{ row.trackingNumber }}
</span> </span>
<el-icon class="icon" @click="copy(row.trackingNumber || '')"> <el-icon class="icon" @click="copy(row.trackingNumber || '')">
...@@ -982,7 +985,7 @@ ...@@ -982,7 +985,7 @@
@open="handleExceptionDialogOpen" @open="handleExceptionDialogOpen"
> >
<ElForm ref="exceptionFormRef" :model="exceptionForm" label-width="100px"> <ElForm ref="exceptionFormRef" :model="exceptionForm" label-width="100px">
<ElFormItem <!-- <ElFormItem
label="异常类型" label="异常类型"
prop="exceptionType" prop="exceptionType"
:rules="{ required: true, message: '请选择异常类型' }" :rules="{ required: true, message: '请选择异常类型' }"
...@@ -999,8 +1002,12 @@ ...@@ -999,8 +1002,12 @@
:value="type.value" :value="type.value"
/> />
</ElSelect> </ElSelect>
</ElFormItem> </ElFormItem> -->
<ElFormItem label="异常原因" prop="exceptionReason"> <ElFormItem
label="异常原因"
prop="exceptionReason"
:rules="{ required: true, message: '请输入异常原因' }"
>
<ElInput <ElInput
v-model="exceptionForm.exceptionReason" v-model="exceptionForm.exceptionReason"
style="width: 100%" style="width: 100%"
...@@ -1555,10 +1562,10 @@ const pickingComplete = async () => { ...@@ -1555,10 +1562,10 @@ const pickingComplete = async () => {
} }
const exceptionType = ref('') const exceptionType = ref('')
const exceptionReason = ref('') const exceptionReason = ref('')
const exceptionTypes = [ // const exceptionTypes = [
{ value: '1', label: '客户' }, // { value: '1', label: '客户' },
{ value: '2', label: '工厂' }, // { value: '2', label: '工厂' },
] // ]
const exceptionDialogVisible = ref(false) const exceptionDialogVisible = ref(false)
const currentOrderIds = ref<number[]>([]) const currentOrderIds = ref<number[]>([])
const exceptionForm = ref({ const exceptionForm = ref({
...@@ -1593,7 +1600,7 @@ const handleExceptionConfirm = async () => { ...@@ -1593,7 +1600,7 @@ const handleExceptionConfirm = async () => {
try { try {
const res = await changeExceptionOrderApi( const res = await changeExceptionOrderApi(
currentOrderIds.value, currentOrderIds.value,
exceptionForm.value.exceptionType, // exceptionForm.value.exceptionType,
exceptionForm.value.exceptionReason, exceptionForm.value.exceptionReason,
) )
if (res.code !== 200) return if (res.code !== 200) return
......
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