Forráskód Böngészése

fix:已派件样式更改

sunchengjie 11 hónapja
szülő
commit
690a3ce36b

+ 1 - 1
src/pages/components/Sented.vue

@@ -25,7 +25,7 @@
 
         </ScrollRefresh>
 
-        <van-popup v-model="show" style="width: 100%; height: 60%;">
+        <van-popup position="bottom" v-model="show" style="width: 100%; height: 80%;">
             <div class="batch-middel" v-for="(item, index) in popupList" :key="index">
                 <div class="batch-middel-text">
                     <div class="batch-middel-text-style" style="width: 100%; margin-left: -4px;margin-top: 0px;">【{{

+ 8 - 5
src/pages/components/Waitsent.vue

@@ -60,7 +60,7 @@
         </ScrollRefresh>
 
         <!-- 签收 -->
-        <van-popup position="bottom" v-model="receiving" style="width: 100%; height: 90%;">
+        <van-popup position="bottom" v-model="receiving" style="width: 100%; height: 93%;">
             <div style="font-size: 20px; text-align: center; margin-top: 12px;">派件签收</div>
             <van-form @submit="onReceipt">
                 <van-field name="expressNo" label="运单号" :value="onReceivingVlaue.expressNo" readonly />
@@ -94,7 +94,7 @@
 
         <!-- 设为滞留 -->
         <van-popup position="bottom" v-model="retention" style="width: 100%; height: 85%;">
-            <div style="font-size: 20px; text-align: center; ">派件滞留</div>
+            <div style="font-size: 20px; text-align: center;  margin-top: 12px;">派件滞留</div>
             <van-form @submit="onSetRetention">
                 <van-field name="expressNo" label="运单号" :value="onSureRetentionVlaue.expressNo" readonly />
                 <van-field label="快件类型" :value="onSureRetentionVlaue.expressType" readonly />
@@ -105,8 +105,8 @@
                 <van-field label="楼层" :value="onSureRetentionVlaue.floorNum" readonly />
                 <van-field label="联系方式" :value="onSureRetentionVlaue.phone" readonly />
 
-                <van-field readonly clickable name="picker" :value="selectedRetention" label="滞留原因" placeholder="点击签收类型"
-                    @click="showRetention = true" />
+                <van-field readonly clickable name="picker" :value="selectedRetention" label="滞留原因"
+                    placeholder="请输入滞留原因" @click="showRetention = true" />
                 <van-popup v-model="showRetention" position="bottom">
                     <van-picker show-toolbar :columns="Retention" @confirm="onRetention"
                         @cancel="showRetention = false" />
@@ -205,7 +205,10 @@ export default {
         },
         // 确定滞留
         async onSetRetention(value) {
-            console.log(value)
+            if (value.picker == '') {
+                this.$toast('请输入滞留原因')
+                return
+            }
             let params = {
                 expressNo: value.expressNo,
                 sendRemark: value.picker

+ 5 - 3
src/pages/new/storage.vue

@@ -48,7 +48,8 @@
                     <van-field name="isPayOnDelivery" label="到付件">
                         <template #input>
                             <van-checkbox :disabled="ischeckDisabled" v-model="checkbox" @change="onCheckboxChange"
-                                shape="square" /><span style="margin-left: 4px;">到付</span>
+                                shape="square" />
+                            <!-- <span style="margin-left: 4px;">到付</span> -->
                         </template>
                     </van-field>
                     <van-field :rules="[{ required: checkbox }]" :disabled="isdisabled" v-model="object.payMoney"
@@ -59,10 +60,10 @@
 
                 <div
                     style=" display: flex; justify-content: space-between; background-color: #fff;  padding: 10px 20px;">
-                    <van-button size="small" style="border-radius: 5px; width: 50vw; " block type="info"
+                    <van-button size="small" style="border-radius: 5px; width: 40vw; " block type="info"
                         @click="handleSubmit(true)" native-type="button">保存并打印</van-button>
 
-                    <van-button size="small" style="border-radius: 5px; width: 35vw;" block type="info"
+                    <van-button size="small" style="border-radius: 5px; width: 30vw;" block type="info"
                         @click="handleSubmit(false)" native-type="button">仅保存</van-button>
                 </div>
             </van-form>
@@ -326,6 +327,7 @@ export default {
                 throw '不在揽收范围'
             } else if (res.code == 444) {
                 this.$toast(res.error)
+                this.$toast(res.msg)
                 throw res.error
             }
             this.object.value4 = this.value14