li.shaoyi 3 hónapja
szülő
commit
f24c81c57a

+ 2 - 2
app/package.json

@@ -1,6 +1,6 @@
 {
-  "name": "trading",
-  "version": "1.0.9",
+  "name": "trading-beta",
+  "version": "1.0.0",
   "main": "main.js",
   "dependencies": {
     "electron-updater": "^6.1.4",

+ 4 - 3
src/packages/pc/views/footer/capital/summary/deposit/index.vue

@@ -4,7 +4,7 @@
         <el-form ref="formRef" v-if="cusBank?.caninamount === 1" class="el-form--vertical" label-width="120px"
             :model="formData" :rules="formRules">
             <el-form-item prop="Amount" :label="t('banksign.wallet.deposit.inamount')">
-                <el-input-number :placeholder="t('common.pleaseenter')" :max="9999999999" :precision="2" v-model="formData.Amount"
+                <el-input-number :placeholder="t('common.pleaseenter')" :precision="2" v-model="formData.Amount"
                     :rules="formRules.Amount" />
             </el-form-item>
             <el-form-item :label="t('banksign.wallet.deposit.credit')" prop="filePath">
@@ -47,7 +47,8 @@
         </fieldset>
         <template #footer>
             <el-button type="info" @click="onCancel">{{ t('operation.cancel') }}</el-button>
-            <el-button v-if="cusBank?.caninamount === 1" type="primary" @click="doDepositWarning">{{ t('operation.submit') }}</el-button>
+            <el-button v-if="cusBank?.caninamount === 1" type="primary" @click="doDepositWarning">{{
+                t('operation.submit') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -115,7 +116,7 @@ const doDepositWarning = () => {
                 const e = moment(endTime.value, 'HH:mm')
                 if (n.isSameOrAfter(s) && n.isBefore(e)) {
                     ElMessageBox.confirm(
-                        t('banksign.wallet.deposit.tips1') ,
+                        t('banksign.wallet.deposit.tips1'),
                         t('common.tips'),
                         { confirmButtonText: t('operation.confirm'), cancelButtonText: t('operation.cancel'), })
                         .then(() => {

+ 2 - 3
src/packages/pc/views/market/trade/goods/list/listing/index.vue

@@ -38,9 +38,8 @@
                 </el-form-item>
                 <el-form-item prop="OrderQty" :label="t('quote.goods.orderqty')">
                     <div class="g-qty-group">
-                        <el-input-number ref="qtyRef" :placeholder="t('common.pleaseenter')" :min="0" :max="9999999999"
-                            :precision="0" :step="qtyStep || 1" v-model="formData.OrderQty"
-                            @keyup.enter="submitFocus" />
+                        <el-input-number ref="qtyRef" :placeholder="t('common.pleaseenter')" :min="0" :precision="0"
+                            :step="qtyStep || 1" v-model="formData.OrderQty" @keyup.enter="submitFocus" />
                         <el-radio-group size="small" v-model="qtyStep" :validate-event="false" @change="onRadioChange">
                             <el-radio v-for="(value, index) in qtyStepList" :key="index" :label="value" :value="value"
                                 border />

+ 18 - 13
src/packages/pc/views/market/trade/pricing/list/listing/index.vue

@@ -6,7 +6,7 @@
         <el-scrollbar class="pricing-listing__form" always>
             <h4 class="header-title" v-if="selectedGoods?.trademode === 10">{{ t('quote.pricing.title1') }}</h4>
             <h4 class="header-title" v-else-if="selectedGoods?.trademode === 54">积分购买</h4>
-            <h4 class="header-title" v-else>{{  t('quote.pricing.title2') }}</h4>
+            <h4 class="header-title" v-else>{{ t('quote.pricing.title2') }}</h4>
             <el-form ref="formRef" class="el-form--vertical" label-width="60px" :show-message="false" :model="formData"
                 :rules="formRules">
                 <el-form-item prop="GoodsID" :label="t('quote.pricing.goods')">
@@ -15,13 +15,15 @@
                             v-for="(item, index) in marketGoodsList" :key="index" />
                     </el-select>
                 </el-form-item>
-                <el-form-item v-if="selectedGoods?.trademode === 10" prop="BuyOrSell" :label="t('quote.pricing.buyorsell')">
+                <el-form-item v-if="selectedGoods?.trademode === 10" prop="BuyOrSell"
+                    :label="t('quote.pricing.buyorsell')">
                     <el-radio-group v-model="formData.BuyOrSell">
                         <el-radio v-for="(item, index) in getBuyOrSellList()" :key="index" :label="item.label"
                             :value="item.value" />
                     </el-radio-group>
                 </el-form-item>
-                <el-form-item v-if="selectedGoods?.trademode === 10" prop="PriceMode" :label="t('quote.pricing.pricemode')">
+                <el-form-item v-if="selectedGoods?.trademode === 10" prop="PriceMode"
+                    :label="t('quote.pricing.pricemode')">
                     <el-radio-group v-model="formData.PriceMode">
                         <el-radio v-for="(item, index) in getPricemode2List()" :key="index" :label="item.label"
                             :value="item.value" />
@@ -29,11 +31,11 @@
                 </el-form-item>
                 <el-form-item prop="OrderQty" :label="t('quote.pricing.orderqty')">
                     <div class="g-qty-group">
-                        <el-input-number ref="qtyRef" :placeholder="t('common.pleaseenter')" :min="0" :max="9999999999"
-                            :precision="0" :step="qtyStep || 1" v-model="formData.OrderQty"
-                            @keyup.enter="submitFocus" />
+                        <el-input-number ref="qtyRef" :placeholder="t('common.pleaseenter')" :min="0" :precision="0"
+                            :step="qtyStep || 1" v-model="formData.OrderQty" @keyup.enter="submitFocus" />
                         <el-radio-group size="small" v-model="qtyStep" :validate-event="false" @change="onRadioChange">
-                            <el-radio v-for="(value, index) in qtyStepList" :key="index" :label="value" :value="value" border />
+                            <el-radio v-for="(value, index) in qtyStepList" :key="index" :label="value" :value="value"
+                                border />
                         </el-radio-group>
                         <template
                             v-if="(formData.BuyOrSell === BuyOrSell.Buy || selectedGoods?.tradeproperty !== 2) && settingStore.getSettingValue('showOrderEnableQty')">
@@ -47,10 +49,12 @@
                         </template>
                     </div>
                 </el-form-item>
-                <el-form-item v-if="selectedGoods?.trademode === 53 || selectedGoods?.trademode === 54" class="el-form-item--row" prop="AddrInfo" :label="t('quote.pricing.address')">
+                <el-form-item v-if="selectedGoods?.trademode === 53 || selectedGoods?.trademode === 54"
+                    class="el-form-item--row" prop="AddrInfo" :label="t('quote.pricing.address')">
                     <div class="el-form-item--col">
-                        <el-input type="textarea" :placeholder="t('performance.pleaseentertheaddress')" :rows="3" v-model="formData.AddrInfo" />
-                        <el-icon :size="20" style="cursor: pointer;" @click="showAddress = true" >
+                        <el-input type="textarea" :placeholder="t('performance.pleaseentertheaddress')" :rows="3"
+                            v-model="formData.AddrInfo" />
+                        <el-icon :size="20" style="cursor: pointer;" @click="showAddress = true">
                             <CirclePlusFilled />
                         </el-icon>
                     </div>
@@ -61,15 +65,16 @@
                 </el-form-item> -->
                 <el-form-item prop="OrderPrice" :label="t('quote.pricing.price')"
                     v-if="formData.PriceMode === PriceMode.Limit">
-                    <el-input-number ref="priceRef" :placeholder="t('common.pleaseenter')" :max="9999999999" :min="0"
+                    <el-input-number ref="priceRef" :placeholder="t('common.pleaseenter')" :min="0"
                         v-model="formData.OrderPrice" :auto-fixed="false" :decimal-length="decimalplace"
                         :step="decimalvalue" @keyup.enter="submitFocus" />
                 </el-form-item>
                 <el-form-item class="footer-btnbar">
                     <template v-if="formData.BuyOrSell === BuyOrSell.Buy">
                         <el-button ref="submitRef" type="danger" :disabled="!selectedGoodsId || !formData.OrderQty"
-                            @click="onBeforeSubmit(BuildType.Open)" v-if="!selectedGoods?.iscannotbuy">{{ ![53, 54].includes(selectedGoods?.trademode) ?
-                            t('operation.order') : t('operation.buynow') }}</el-button>
+                            @click="onBeforeSubmit(BuildType.Open)" v-if="!selectedGoods?.iscannotbuy">{{ ![53,
+                                54].includes(selectedGoods?.trademode) ?
+                                t('operation.order') : t('operation.buynow') }}</el-button>
                         <!-- <el-button type="primary"
                             :disabled="!formData.OrderQty || !sellQty || (formData.OrderQty > sellQty)"
                             @click="onBeforeSubmit(BuildType.Close)" v-if="!isTrademode16 && riskcontrolmode != 1">