| | |
| | | </view> |
| | | </view> |
| | | <view |
| | | v-if="messageObj.carNo" |
| | | class="notice-bar"><u-notice-bar :text="messageText" |
| | | :fontSize="30" :showIcon = 'true' |
| | | :direction='messageObj.carNo ? "row" :"column"' |
| | | ></u-notice-bar></view> |
| | | <!-- <u--form labelPosition="top" |
| | | labelWidth="20%" |
| | |
| | | <view class="third-line_text">客户名称:</view> |
| | | <view>{{ item.customerName }}</view> |
| | | </view> |
| | | <view class="third-line" v-if="item.productName === 'EDC'"> |
| | | <view class="third-line" v-if="item.productName === '二氯乙烷(EDC)'"> |
| | | <view class="third-line_text">质检状态:</view> |
| | | <view> <u-tag :text="checkStatusList[item.checkStatus]" plain > </u-tag></view> |
| | | </view> |
| | |
| | | <view class="fourth"> |
| | | <view class="fourth-icon"> |
| | | <view |
| | | style="width: 24rpx;height: 24rpx;line-height: 24rpx;background: url('https://mx.jzeg.cn:9096/appimg/image/banner/clock.png') no-repeat;background-size: cover"> |
| | | style="width: 24rpx;height: 24rpx;line-height: 24rpx;background: url('https://wrzs.czjlchem.com:9090/appimg/image/banner/clock.png') no-repeat;background-size: cover"> |
| | | </view> |
| | | </view> |
| | | <view class="senddate">{{ item.sendDate }}</view> |
| | |
| | | <view class="fourth"> |
| | | <view class="fourth-icon"> |
| | | <view |
| | | style="width: 26rpx;height: 26rpx;line-height: 26rpx;background: url('https://mx.jzeg.cn:9096/appimg/image/banner/carnNUm.png') no-repeat;background-size: cover;"> |
| | | style="width: 26rpx;height: 26rpx;line-height: 26rpx;background: url('https://wrzs.czjlchem.com:9090/appimg/image/banner/carnNUm.png') no-repeat;background-size: cover;"> |
| | | </view> |
| | | </view> |
| | | <view class="senddate">{{ item.orderCode }}</view> |
| | |
| | | </u--input> |
| | | <text> {{isNumOk ? '件' : '吨' }}</text> |
| | | </view> |
| | | <!-- pvc 并且是大包 --> |
| | | <view class="pvcBig" v-if="activeObj.productName === 'PVC' && activeObj.packingType === 5"> |
| | | <!-- 聚氯乙烯树脂 并且是大包 --> |
| | | <view class="pvcBig" v-if="activeObj.productName === '聚氯乙烯树脂' && activeObj.packingType === 5"> |
| | | |
| | | </view> |
| | | <view v-if="isNumOk && activeObj.productQuantity">当前数量:{{activeObj.productQuantity}}件</view> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { BaseUrl } from '@/api/publicInterface.js' |
| | | import { mapState, mapMutations, mapGetters } from 'vuex'; |
| | | export default { |
| | | props: { |
| | |
| | | }else{ |
| | | if(this.errorStatusList.includes(item.status)){ |
| | | return false |
| | | }else if (item.productName ==='二氯乙烷(EDC)' && item.checkStatus !== 7){ |
| | | return false; |
| | | }else{ |
| | | return true; |
| | | } |
| | |
| | | uni.hideLoading() |
| | | if (res.code === 0) { |
| | | this.firstClassActionsList = res.data; |
| | | this.firstClassActionsList.unshift({name:'全部',id:res.data.map(item=>item.id).join(',')}) |
| | | if(res.data.length){ |
| | | this.dataForm.bunkerIds = res.data.map(item=>item.id).join(',') |
| | | uni.setStorageSync('bunkerIds',res.data.map(item=>item.id).join(',')) |
| | | this.firstClassActionsList.unshift({name:'全部',id:res.data.map(item=>item.id).join(',')}) |
| | | this.dataForm.firstClass = '全部' |
| | | if(!uni.getStorageSync('bunkerIds')){ |
| | | this.dataForm.firstClass = '全部' |
| | | this.dataForm.bunkerIds = res.data.map(item=>item.id).join(',') |
| | | uni.setStorageSync('bunkerIds',res.data.map(item=>item.id).join(',')) |
| | | }else{ |
| | | this.dataForm.bunkerIds = uni.getStorageSync('bunkerIds'); |
| | | uni.setStorageSync('bunkerIds',this.dataForm.bunkerIds) |
| | | } |
| | | |
| | | |
| | | this.getDetailData(); |
| | | |
| | | } |
| | |
| | | this.$u.toast('加载失败') |
| | | } |
| | | }).then(() => { |
| | | this.getUserInfo() |
| | | |
| | | }) |
| | | }, |
| | | firstClassSelect() { |
| | |
| | | |
| | | // } |
| | | // }) |
| | | // 计件: 0 pvc type |
| | | // 计件: 0 聚氯乙烯树脂 type |
| | | // 折吨: |
| | | this.activeObj = item; |
| | | if( (parintItem.orderType === '外购' ||parintItem.orderType === '外购退' ) && item.isWeight === 0){ |
| | |
| | | this.isNumOk = false; |
| | | this.isClean = false; |
| | | } |
| | | //pvc |
| | | if(parintItem.orderType ==='外销' && item.productName ==='PVC' && (item.packingType === 3 || item.packingType === 4)){ |
| | | //聚氯乙烯树脂 |
| | | if(parintItem.orderType ==='外销' && (/聚氯乙烯树脂/.test(item.productName) || item.productName === 'PVC') && (item.packingType === 3 || item.packingType === 4)){ |
| | | this.isNumOk = true; |
| | | this.isClean = false; |
| | | } |
| | |
| | | } |
| | | // |
| | | //pvc大包自动计算折吨 |
| | | if(item.productName === 'PVC' && item.packingType === 5){ |
| | | if((/聚氯乙烯树脂/.test(item.productName) || item.productName === 'PVC') && item.packingType === 5){ |
| | | this.isNumOk = true; |
| | | this.isClean = false; |
| | | } |
| | |
| | | uni.showLoading({ |
| | | title:'加载中' |
| | | }); |
| | | console.log(this.activeObj,this.activeObj.productName ==='EDC' && this.activeObj.checkStatus !== 7,'12313') |
| | | if(this.activeObj.productName ==='EDC' && this.activeObj.checkStatus !== 7){ |
| | | console.log(this.activeObj,this.activeObj.productName ==='二氯乙烷(EDC)' && this.activeObj.checkStatus !== 7,'12313') |
| | | if(this.activeObj.productName ==='二氯乙烷(EDC)' && this.activeObj.checkStatus !== 7){ |
| | | console.log('触发,’13131') |
| | | this.enterZx = false; |
| | | this.$u.toast(`请检查当前EDC订单质检状态后在确认装卸!`); |
| | | this.$u.toast(`请检查当前二氯乙烷(EDC)DC订单质检状态后在确认装卸!`); |
| | | |
| | | }else if( this.isEmptyCar === null){ |
| | | this.$u.toast(`请检查${this.isNumOk ? '计件数量' :'折吨'},以及是否空车出厂项!`); |
| | |
| | | } |
| | | // 自主配送 |
| | | .self-deliver { |
| | | position: relative; |
| | | text-indent: 20rpx; |
| | | position: relative; |
| | | text-indent: 20rpx; |
| | | top: vww(10); |
| | | width: 96%; |
| | | width: 95%; |
| | | height: vww(40); |
| | | margin: vww(13) 10rpx; |
| | | margin-left: 20rpx; |
| | | padding: 0 vww(8); |
| | | background: #ffffff; |
| | | box-shadow: 0rpx 0rpx 14rpx 0rpx rgba(73, 120, 240, 0.14), 0rpx 7rpx 45rpx 0rpx rgba(73, 120, 240, 0.12); |
| | |
| | | top: vww(-160); |
| | | .top-tag{ |
| | | width: 60%; |
| | | margin-left: 55%!important; |
| | | margin-left: 55%; |
| | | height: 100rpx; |
| | | margin-left: 50%; |
| | | display: flex; |