| ¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <GlobalWindow title="è¿å详æ
" center :visible.sync="isShowModal" width="800px" :confirm-working="subLoading" |
| | | @confirm="isShowModal = false"> |
| | | <div class="detail_modal"> |
| | | <div class="head"> |
| | | <div class="plate" v-if="info.plateNumber"> |
| | | <span>{{ info.plateNumber.slice(0, 1) }}</span> |
| | | <span>{{ info.plateNumber.slice(1, 2) }}</span> |
| | | <span>·</span> |
| | | <span>{{ info.plateNumber.slice(2) }}</span> |
| | | </div> |
| | | <div class="list"> |
| | | <div class="item"> |
| | | <span>è¿è¾åå·ï¼</span> |
| | | <span>{{ info.carryBillCode }}</span> |
| | | </div> |
| | | <div class="item"> |
| | | <span>æ»è¿è¾éï¼</span> |
| | | <span>{{ info.ioQty || info.totalNum }}䏿¯</span> |
| | | </div> |
| | | <div class="item"> |
| | | <span>驾驶åï¼</span> |
| | | <span>{{ info.driverName }} {{ info.driverPhone }}</span> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="title">ååå表</div> |
| | | <div class="content"> |
| | | <div class="item" v-for="item in info.wmsJobContractVOList"> |
| | | <div class="contract"> |
| | | <span>ååå·ï¼{{ item.contractCode }}</span> |
| | | <!-- <div> --> |
| | | <span class="scs" v-if="item.status == 1">WMSä½ä¸å·²å®æ</span> |
| | | <span class="pad" v-if="item.status == 0">WMSä½ä¸æªå®æ</span> |
| | | <span class="err" v-if="item.status == 2">WMSä½ä¸å·²åæ¶</span> |
| | | |
| | | <span class="scs" v-if="item.lockStatus == 1">çµåéå·²ä¸é</span> |
| | | <span class="pad" v-if="item.lockStatus == 0">çµåéæªä¸é</span> |
| | | <!-- </div> --> |
| | | </div> |
| | | <div class="placeholder6">æ¶è´§å°ï¼{{ item.address }}</div> |
| | | <div class="list"> |
| | | <div class="line" v-for="line in item.platformWmsDetailList"> |
| | | <div class="left"><span>ç©æåç§°ï¼</span><span>{{ line.materialName }}</span></div> |
| | | <div class="right"><span>æ°éï¼</span><span>{{ line.ioQty }}䏿¯</span></div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </GlobalWindow> |
| | | </template> |
| | | |
| | | <script> |
| | | import GlobalWindow from '@/components/common/GlobalWindow' |
| | | import { platformWmsJobDetail } from '@/api' |
| | | export default { |
| | | components: { |
| | | GlobalWindow |
| | | }, |
| | | data() { |
| | | return { |
| | | isShowModal: false, |
| | | subLoading: false, |
| | | info: {}, |
| | | id: '' |
| | | |
| | | } |
| | | }, |
| | | methods: { |
| | | getDetail() { |
| | | const { id } = this |
| | | platformWmsJobDetail(id).then(res => { |
| | | this.info = res |
| | | }) |
| | | } |
| | | } |
| | | |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | @import "@/assets/style/variables.scss"; |
| | | |
| | | .detail_modal { |
| | | font-size: 12px; |
| | | color: #282828; |
| | | |
| | | .head { |
| | | background: rgba(39, 155, 170, 0.05); |
| | | border-radius: 4px; |
| | | border: 1px solid #dfe2e8; |
| | | padding: 16px; |
| | | |
| | | .plate { |
| | | display: flex; |
| | | font-weight: 600; |
| | | height: 30px; |
| | | line-height: 30px; |
| | | font-size: 15px; |
| | | color: #111111; |
| | | background-color: #fff; |
| | | border-radius: 4px; |
| | | border: 1px solid $primaryColor; |
| | | padding-right: 4px; |
| | | width:106px; |
| | | span { |
| | | &:nth-of-type(1) { |
| | | background: $primaryColor; |
| | | padding: 0 8px; |
| | | color: #fff; |
| | | } |
| | | |
| | | &:nth-of-type(2) { |
| | | padding-left: 4px; |
| | | } |
| | | } |
| | | } |
| | | |
| | | .list { |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | margin-top: 16px; |
| | | |
| | | .item { |
| | | width: 50%; |
| | | margin-bottom: 8px; |
| | | |
| | | span { |
| | | &:nth-child(1) { |
| | | color: #666666; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | .title { |
| | | margin: 16px 0; |
| | | font-weight: 500; |
| | | font-size: 16px; |
| | | color: #222222; |
| | | } |
| | | |
| | | .content { |
| | | .item { |
| | | border-radius: 4px; |
| | | border: 1px solid #dfe2e8; |
| | | padding: 16px; |
| | | margin-bottom: 10px; |
| | | |
| | | .list { |
| | | background: #f7f7f7; |
| | | border-radius: 4px; |
| | | padding: 12px 16px; |
| | | margin-top: 10px; |
| | | } |
| | | |
| | | .contract { |
| | | font-weight: 500; |
| | | font-size: 15px; |
| | | color: #279baa; |
| | | margin-bottom: 4px; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | .scs{ |
| | | color: #00ba67; |
| | | } |
| | | .pad{ |
| | | color: #f19c3f; |
| | | } |
| | | .err{ |
| | | color: red; |
| | | } |
| | | } |
| | | |
| | | .line { |
| | | display: flex; |
| | | margin-bottom: 8px; |
| | | |
| | | &:nth-last-child(1) { |
| | | margin: 0; |
| | | } |
| | | |
| | | div { |
| | | span { |
| | | &:nth-child(1) { |
| | | color: #666666; |
| | | } |
| | | } |
| | | } |
| | | |
| | | .left { |
| | | flex: 6; |
| | | } |
| | | |
| | | .right { |
| | | flex: 4; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | </style> |