li.shaoyi 2 anos atrás
pai
commit
2312c20b58

+ 4 - 3
src/packages/mobile/views/mine/order/detail/purchasetrade/index.vue

@@ -30,12 +30,13 @@
                         <div style="white-space: pre-line">{{ detail.receiptinfo }}</div>
                     </template>
                 </Cell>
-                <Cell title="电子合同" :value="detail.wrtradedetailid" :is-link="!!detail.contractaddrbuy"
-                    @click="openPDF(detail?.contractaddrbuy)" />
+                <Cell title="合同单号" :value="detail.wrtradedetailid" />
+                <Cell title="电子合同" value="下载" is-link @click="openPDF(detail.contractaddrbuy)"
+                    v-if="detail?.contractaddrbuy" />
             </CellGroup>
             <CellGroup title="点价信息"
                 v-if="detail.pointflag && (detail.buyuserid === detail.firstbuyuserid || ['2', '3'].includes(type.toString()))">
-                <Cell title="已点价格" :value="detail.pointprice + '元'" />
+                <Cell title="已点价格" :value="detail.pointprice + '元/吨'" />
                 <Cell title="已点收益" :value="detail.pointincome + '元'" />
             </CellGroup>
         </div>

+ 3 - 3
src/packages/mobile/views/mine/order/detail/transfer/index.vue

@@ -26,11 +26,11 @@
                         <div style="white-space: pre-line">{{ details.receiptinfo }}</div>
                     </template>
                 </Cell>
-                <Cell title="合同单号" :value="details.transferid" :is-link="!!details.contractaddr"
-                    @click="openPDF(details?.contractaddr)" />
+                <Cell title="合同单号" :value="details.transferid" />
+                <Cell title="电子合同" value="下载" is-link @click="openPDF(details.contractaddr)" v-if="details?.contractaddr" />
             </CellGroup>
             <CellGroup title="点价信息" v-if="details.pointflag && loginStore.userId === details.firstbuyuserid">
-                <Cell title="已点价格" :value="details.pointprice + '元'" />
+                <Cell title="已点价格" :value="details.pointprice + '元/吨'" />
                 <Cell title="已点收益" :value="details.pointincome + '元'" />
             </CellGroup>
         </div>

+ 2 - 2
src/packages/mobile/views/mine/order/detail/wrtrade/index.vue

@@ -14,8 +14,8 @@
                 <Cell title="成交金额" :value="(detail.tradeprice * detail.tradeqty).toFixed(2) + '元'" />
                 <Cell title="成交时间" :value="formatDate(detail.tradetime)" />
                 <Cell title="对手方" :value="detail.matchusername" />
-                <Cell title="电子合同" :value="detail.wrtradedetailid" :is-link="!!detail.contractaddr"
-                    @click="openPDF(detail?.contractaddr)" />
+                <Cell title="成交单号" :value="detail.wrtradedetailid" />
+                <Cell title="电子合同" value="下载" is-link @click="openPDF(detail.contractaddr)" v-if="detail?.contractaddr" />
             </CellGroup>
         </div>
         <div v-else>

+ 5 - 0
src/packages/mobile/views/mine/wareorder/components/listing/index.less

@@ -0,0 +1,5 @@
+.wareorder-listing {
+    .van-field__label {
+        width: 2rem;
+    }
+}

+ 7 - 3
src/packages/mobile/views/mine/wareorder/components/listing/index.vue

@@ -1,5 +1,5 @@
 <template>
-    <app-modal direction="right" height="100%" v-model:show="showModal" :refresh="refresh">
+    <app-modal class="wareorder-listing" direction="right" height="100%" v-model:show="showModal" :refresh="refresh">
         <app-view class="g-form">
             <template #header>
                 <app-navbar title="供求挂牌" @back="closed" />
@@ -21,7 +21,7 @@
                             {{ selectedRow.spotgoodsprice }}元/吨
                         </template>
                     </Field>
-                    <Field name="Price" label="挂牌价格(元)" v-model="formData.FixedPrice" placeholder="请输入挂牌价格"
+                    <Field name="Price" label="挂牌价格(元/吨)" v-model="formData.FixedPrice" placeholder="请输入挂牌价格"
                         :rules="formRules.FixedPrice" />
                     <Field label="可用数量">
                         <template #input>
@@ -109,4 +109,8 @@ const closed = (isRefresh = false) => {
 defineExpose({
     closed,
 })
-</script>
+</script>
+
+<style lang="less">
+@import './index.less';
+</style>

+ 1 - 1
src/packages/mobile/views/supply-demand/detail/components/delisting/index.vue

@@ -9,7 +9,7 @@
             </Field>
             <Field label="挂牌价格">
                 <template #input>
-                    <span>{{ quoteDetail.fixedprice }}元</span>
+                    <span>{{ quoteDetail.fixedprice }}元/吨</span>
                 </template>
             </Field>
             <Field label="剩余数量">

+ 4 - 0
src/packages/mobile/views/supply-demand/detail/components/listing/index.less

@@ -1,5 +1,9 @@
 .supply-demand-listing {
     &__form {
+        .van-field__label {
+            width: 2rem;
+        }
+
         .van-stepper {
             display: flex;
             align-items: center;

+ 2 - 2
src/packages/mobile/views/supply-demand/detail/components/listing/index.vue

@@ -2,7 +2,7 @@
     <app-popup class="supply-demand-listing" :title="buyorsell === BuyOrSell.Sell ? '我要卖' : '我要买'" v-model:show="showModal"
         :refresh="refresh">
         <Form class="supply-demand-listing__form" ref="formRef" @submit="onSubmit">
-            <Field name="FixedPrice" :rules="formRules.FixedPrice" label="挂牌价格">
+            <Field name="FixedPrice" :rules="formRules.FixedPrice" label="挂牌价格(元/吨)">
                 <template #input>
                     <Stepper v-model="formData.FixedPrice" :default-value="quoteItem.spotgoodsprice" theme="round"
                         :decimal-length="2" :auto-fixed="false" button-size="22" />
@@ -20,7 +20,7 @@
                     <span>{{ selectedRow?.enableqty ?? 0 }}吨</span>
                 </template>
             </Field>
-            <Field name="OrderQty" :rules="formRules.OrderQty" label="挂牌数量">
+            <Field name="OrderQty" :rules="formRules.OrderQty" label="挂牌数量(吨)">
                 <template #input>
                     <Stepper v-model="formData.OrderQty" theme="round" button-size="22" :auto-fixed="false" integer />
                 </template>