|
@@ -4,7 +4,9 @@
|
|
|
<Forex v-bind="{ goodsCode: selectedGoods.goodscode }" @price-click="onPriceClick" />
|
|
<Forex v-bind="{ goodsCode: selectedGoods.goodscode }" @price-click="onPriceClick" />
|
|
|
</div>
|
|
</div>
|
|
|
<el-scrollbar class="pricing-listing__form" always>
|
|
<el-scrollbar class="pricing-listing__form" always>
|
|
|
- <h4 class="header-title">{{ selectedGoods?.trademode === 10 ? t('quote.pricing.title1') : t('quote.pricing.title2') }}</h4>
|
|
|
|
|
|
|
+ <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>
|
|
|
<el-form ref="formRef" class="el-form--vertical" label-width="60px" :show-message="false" :model="formData"
|
|
<el-form ref="formRef" class="el-form--vertical" label-width="60px" :show-message="false" :model="formData"
|
|
|
:rules="formRules">
|
|
:rules="formRules">
|
|
|
<el-form-item prop="GoodsID" :label="t('quote.pricing.goods')">
|
|
<el-form-item prop="GoodsID" :label="t('quote.pricing.goods')">
|
|
@@ -45,15 +47,15 @@
|
|
|
</template>
|
|
</template>
|
|
|
</div>
|
|
</div>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
- <el-form-item v-if="selectedGoods?.trademode === 53" class="el-form-item--row" prop="AddrInfo" :label="t('performance.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" >
|
|
|
|
|
- <CirclePlusFilled />
|
|
|
|
|
- </el-icon>
|
|
|
|
|
- </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')">
|
|
|
|
|
+ <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" >
|
|
|
|
|
+ <CirclePlusFilled />
|
|
|
|
|
+ </el-icon>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </el-form-item>
|
|
|
<!-- <el-form-item prop="MarketMaxSub" :label="t('quote.pricing.marketmaxsub1')" v-if="formData.PriceMode === PriceMode.Market">
|
|
<!-- <el-form-item prop="MarketMaxSub" :label="t('quote.pricing.marketmaxsub1')" v-if="formData.PriceMode === PriceMode.Market">
|
|
|
<el-input-number ref="priceRef" :placeholder="t('common.pleaseenter')" :min="0" :max="999" v-model="formData.MarketMaxSub"
|
|
<el-input-number ref="priceRef" :placeholder="t('common.pleaseenter')" :min="0" :max="999" v-model="formData.MarketMaxSub"
|
|
|
@keyup.enter="submitFocus" />
|
|
@keyup.enter="submitFocus" />
|
|
@@ -354,7 +356,7 @@ const getOrderPrice = () => {
|
|
|
|
|
|
|
|
watch([selectedGoodsId, buyOrSell, orderPriceType], () => {
|
|
watch([selectedGoodsId, buyOrSell, orderPriceType], () => {
|
|
|
// 商城模式只有买方向
|
|
// 商城模式只有买方向
|
|
|
- if (selectedGoods.value?.trademode === 53) {
|
|
|
|
|
|
|
+ if ((selectedGoods.value?.trademode === 53 || selectedGoods.value?.trademode === 54)) {
|
|
|
formData.BuyOrSell = BuyOrSell.Buy
|
|
formData.BuyOrSell = BuyOrSell.Buy
|
|
|
formData.PriceMode = PriceMode.Market
|
|
formData.PriceMode = PriceMode.Market
|
|
|
}
|
|
}
|