yangan
2024-11-26 7fc17d062bed6f99fd7860898f474dff5b51cf73
feat:原发信息增加限制
5个文件已修改
36 ■■■■ 已修改文件
manifest.json 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/loadUnload-page/selectTarget/selectTarget.vue 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/public-page/faYunstatisticsDetails/faYunstatisticsDetails.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
subPages/bill-of-lading-details/originInfo/originInfo.vue 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
subPages/fayunPlanDetails/fayunPlanMore/fayunPlanMore.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
manifest.json
@@ -100,7 +100,7 @@
            "disableHostCheck" : true,
            "proxy" : {
                "/admin" : {
                    "target" : "http://wrzs.czjlchem.com:9095/",
                    "target" : "http://192.168.0.66:9999",
                    "changeOrigin" : true,
                    "secure" : true,
                    "ws" : false, // 需要websocket 开启
@@ -109,7 +109,7 @@
                    }
                },
                "/gen" : {
                    "target" : "http://wrzs.czjlchem.com:9095/",
                    "target" :  "http://192.168.0.66:9999",
                    "changeOrigin" : true,
                    "secure" : true,
                    "ws" : false, // 需要websocket 开启
@@ -118,7 +118,7 @@
                    }
                },
                "/wrzs" : {
                    "target" : "http://wrzs.czjlchem.com:9095/",
                    "target" :  "http://192.168.0.66:9896",
                    "changeOrigin" : true,
                    "secure" : true,
                    "ws" : true, // 需要websocket 开启
pages/loadUnload-page/selectTarget/selectTarget.vue
@@ -443,6 +443,18 @@
                                >
                                </u-radio>
                            </u-radio-group></view>
                            <!-- 折吨原因 -->
                            <view class="queren" style="display: flex;" v-if="isClean && isCleanFlag === '1'">
                                <text>折吨原因:
                                    </text><u--input
                                    clearable
                                    type='text'
                                    border="bottom"
                                    v-model="discountReason"
                                    placeholder="请输入折吨原因"
                                    />
                            </view>
                            <view v-if="isClean && isCleanFlag === '1'"><text>折吨照片:</text><u-upload :fileList="fileList1"
                                @afterRead="afterRead"
                                @delete="deletePic"
@@ -606,6 +618,7 @@
                enterXg:false,
                isOkNum:'',
                fileList1:[],
                discountReason:'',
                activeObjedit:{},
                discountJpg:'',
                proType:['散装','液氯瓶装','罐装','PVC25','PVC80','PVC1150','PVc1200'],
@@ -1043,7 +1056,8 @@
                    realityMeasure:this.isFlagNum ? this.checkNum : null,
                    productId:this.isFlagNum ? this.activeObj.productId : null,
                    discountJpg:this.discountJpg,
                    containerNumber:this.activeObj.containerNumber ? this.activeObj.containerNumber : null
                    containerNumber:this.activeObj.containerNumber ? this.activeObj.containerNumber : null,
                    discountReason:this.discountReason,
                 },'json').then(res=>{
                    uni.hideLoading();
                    console.log(res,'rez')
pages/public-page/faYunstatisticsDetails/faYunstatisticsDetails.vue
@@ -12,7 +12,7 @@
                    <view class=""
                        v-if="orderType == '转入' || orderType == '转出'">场地:{{ coalDetailsData.filedName || '' }}</view>
                    <view class=""
                        v-else>仓库:{{ coalDetailsData.filedName || '暂无' }}</view>
                        v-else>仓库:{{ coalDetailsData.bunkerName || '暂无' }}</view>
                </view>
            </view>
            <view class="block-information">
subPages/bill-of-lading-details/originInfo/originInfo.vue
@@ -305,7 +305,13 @@
                    if (this.originInfoForm.coalContactSkin && this.originInfoForm.coalContactHair && this
                    .originInfoForm
                    .contactPicture) {
                    this.submitOriginInfoLoading = true
                        //原发净重限制
                        if(this.coalContactClean && this.coalContactClean > 200){
                            this.$u.toast('当前净重超过正常值,请检查皮毛重')
                            return
                        }else{
                            this.submitOriginInfoLoading = true
                    this.$reqPost('appSaveContact', form, 'json').then(res => {
                        if (res.code === 0) {
                            this.$u.toast('提交成功')
@@ -320,6 +326,8 @@
                            this.$u.toast(res.msg ? res.msg : '提交失败')
                        }
                    })
                        }
                } else {
                    uni.$u.toast('请填写完整原发信息')
                }
subPages/fayunPlanDetails/fayunPlanMore/fayunPlanMore.vue
@@ -12,7 +12,7 @@
                    <view class=""
                        v-if="orderType == '转入' || orderType == '转出'">场地:{{ coalDetailsData.filedName || '' }}</view>
                    <view class=""
                        v-else>厂区:{{ coalDetailsData.filedName || '暂无' }}</view>
                        v-else>厂区:{{ coalDetailsData.bunkerName || '暂无' }}</view>
                </view>
            </view>
            <view class="block-information">