Handy_Cao преди 1 месец
родител
ревизия
f1a553abe8
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      src/packages/digital/views/contract/components/position/list/close/index.vue

+ 3 - 3
src/packages/digital/views/contract/components/position/list/close/index.vue

@@ -27,7 +27,7 @@
                             </span>
                         </template>
                     </Cell>
-                    <Field label="平仓类型" is-link>
+                    <Field label="价格方式" is-link>
                         <template #input>
                             <app-select v-model="formData.PriceMode" :options="getPricemode2List()" />
                         </template>
@@ -91,13 +91,13 @@ const { formSubmit, formData } = useOrder()
 // 表单验证规则
 const formRules: { [key: string]: FieldRule[] } = {
     OrderPrice: [{
-        message: t('position.goods.tips1'),
+        message: '请输入价格',
         validator: () => {
             return !!formData.OrderPrice
         }
     }],
     OrderQty: [{
-        message: t('position.goods.tips2'),
+        message: '请输入数量',
         validator: () => {
             return !!formData.OrderQty
         }