li.shaoyi 2 anos atrás
pai
commit
eff0b19529

+ 2 - 2
src/packages/mobile/views/order/inout/components/add/index.vue

@@ -36,9 +36,9 @@
                                 button-size="22" />
                         </template>
                     </Field>
-                    <Field name="FreezeDays" :rules="formRules.FreezeDays" label="冻结天数">
+                    <Field name="FreezeDays" label="冻结天数">
                         <template #input>
-                            <span>{{ formRules.FreezeDays }}</span>
+                            <span>{{ formData.FreezeDays }}</span>
                         </template>
                     </Field>
                 </CellGroup>

+ 1 - 0
src/packages/pc/views/footer/inout/in/confirm/index.vue

@@ -45,6 +45,7 @@ const onSubmit = () => {
         onCancel(true)
     }).catch((err) => {
         ElMessage.error('确认失败:' + err)
+        onCancel(true)
     })
 }
 </script>

+ 1 - 1
src/packages/pc/views/footer/inout/out/add/index.vue

@@ -25,7 +25,7 @@
             <el-form-item prop="Qty" label="转让数量">
                 <el-input-number placeholder="请输入" v-model="formData.Qty" :precision="0" :min="0" :max="enableqty" />
             </el-form-item>
-            <el-form-item prop="FreezeDays" label="冻结天数">
+            <el-form-item label="冻结天数">
                 <span>{{ formData.FreezeDays }}</span>
             </el-form-item>
             <el-form-item label="可用数量">