li.shaoyi преди 3 години
родител
ревизия
86d53aaf51
променени са 9 файла, в които са добавени 10 реда и са изтрити 10 реда
  1. 1 1
      src/views/order/commodity_contract/components/commodity_contract_bargain/components/commodity_contract_bargain_refuse_order/setup.ts
  2. 1 1
      src/views/order/commodity_contract/components/commodity_contract_summary/components/commodity_contract_summary_deal_closed/setup.ts
  3. 1 1
      src/views/order/commodity_contract/components/commodity_contract_summary/components/commodity_contract_summary_order_closed/setup.ts
  4. 2 2
      src/views/order/commodity_contract/components/commodity_contract_summary/components/commodity_contract_summary_transfer/setup.ts
  5. 1 1
      src/views/order/funding_information/components/funding_information_funding_summary/components/funding_information_funding_summary_recharge/setup.ts
  6. 1 1
      src/views/order/funding_information/components/funding_information_funding_summary/components/funding_information_funding_summary_withdraw/setup.ts
  7. 1 1
      src/views/order/swap_the_order/components/swap_commodity_contract_bargain/components/commodity_contract_bargain_refuse_order/setup.ts
  8. 1 1
      src/views/order/swap_the_order/components/swap_commodity_contract_summary/components/swap_commodity_contract_summary_deal_closed/setup.ts
  9. 1 1
      src/views/order/swap_the_order/components/swap_commodity_contract_summary/components/swap_commodity_contract_summary_order_closed/setup.ts

+ 1 - 1
src/views/order/commodity_contract/components/commodity_contract_bargain/components/commodity_contract_bargain_refuse_order/setup.ts

@@ -8,7 +8,7 @@ export function handleForm() {
     })
     const rules = {
         AuditRemark: [
-            { require, message: '请输入拒绝原因', trigger: 'blur', },
+            { require: true, message: '请输入拒绝原因', trigger: 'blur', },
         ],
     }
     return { rules, formState, formRef }

+ 1 - 1
src/views/order/commodity_contract/components/commodity_contract_summary/components/commodity_contract_summary_deal_closed/setup.ts

@@ -13,7 +13,7 @@ export function handleForm() {
     })
     const rules = {
         price: [
-            { require, message: '请输入协议价', trigger: 'blur', type: 'number', validator: v_num },
+            { require: true, message: '请输入协议价', trigger: 'blur', type: 'number', validator: v_num },
         ],
     }
     return { rules, formState, formRef }

+ 1 - 1
src/views/order/commodity_contract/components/commodity_contract_summary/components/commodity_contract_summary_order_closed/setup.ts

@@ -13,7 +13,7 @@ export function handleForm() {
     })
     const rules = {
         price: [
-            { require, message: '请输入协议价', trigger: 'blur', type: 'number', validator: v_num },
+            { require: true, message: '请输入协议价', trigger: 'blur', type: 'number', validator: v_num },
         ],
     }
     return { rules, formState, formRef }

+ 2 - 2
src/views/order/commodity_contract/components/commodity_contract_summary/components/commodity_contract_summary_transfer/setup.ts

@@ -15,10 +15,10 @@ export function handleForm() {
     };
     const rules = {
         price: [
-            { require, trigger: 'blur', type: 'number', validator: v_num },
+            { require: true, trigger: 'blur', type: 'number', validator: v_num },
         ],
         num: [
-            { require, message: '请输入挂牌数量', trigger: 'blur', type: 'number' },
+            { require: true, message: '请输入挂牌数量', trigger: 'blur', type: 'number' },
             { message: '挂牌数量小于1', min: 1, type: 'number' }
         ],
     }

+ 1 - 1
src/views/order/funding_information/components/funding_information_funding_summary/components/funding_information_funding_summary_recharge/setup.ts

@@ -14,7 +14,7 @@ export function handleForm() {
     };
     const rules = {
         price: [
-            { require, trigger: 'blur', type: 'number', validator: v_price },
+            { require: true, trigger: 'blur', type: 'number', validator: v_price },
         ]
     }
     return { rules, formState, formRef }

+ 1 - 1
src/views/order/funding_information/components/funding_information_funding_summary/components/funding_information_funding_summary_withdraw/setup.ts

@@ -14,7 +14,7 @@ export function handleForm() {
     };
     const rules = {
         price: [
-            { require, trigger: 'blur', type: 'number', validator: v_price },
+            { require: true, trigger: 'blur', type: 'number', validator: v_price },
         ]
     }
     return { rules, formState, formRef }

+ 1 - 1
src/views/order/swap_the_order/components/swap_commodity_contract_bargain/components/commodity_contract_bargain_refuse_order/setup.ts

@@ -8,7 +8,7 @@ export function handleForm() {
     })
     const rules = {
         AuditRemark: [
-            { require, message: '请输入拒绝原因', trigger: 'blur', },
+            { require: true, message: '请输入拒绝原因', trigger: 'blur', },
         ],
     }
     return { rules, formState, formRef }

+ 1 - 1
src/views/order/swap_the_order/components/swap_commodity_contract_summary/components/swap_commodity_contract_summary_deal_closed/setup.ts

@@ -13,7 +13,7 @@ export function handleForm() {
     })
     const rules = {
         price: [
-            { require, message: '请输入协议价', trigger: 'blur', type: 'number', validator: v_num },
+            { require: true, message: '请输入协议价', trigger: 'blur', type: 'number', validator: v_num },
         ],
     }
     return { rules, formState, formRef }

+ 1 - 1
src/views/order/swap_the_order/components/swap_commodity_contract_summary/components/swap_commodity_contract_summary_order_closed/setup.ts

@@ -13,7 +13,7 @@ export function handleForm() {
     })
     const rules = {
         price: [
-            { require, message: '请输入协议价', trigger: 'blur', type: 'number', validator: v_num },
+            { require: true, message: '请输入协议价', trigger: 'blur', type: 'number', validator: v_num },
         ],
     }
     return { rules, formState, formRef }