| | |
| | | </div> |
| | | |
| | | </div> |
| | | <div class="content"> |
| | | <div class="content" v-if="false"> |
| | | <div class="unit_wrap"> |
| | | <span class="la">同比</span> |
| | | <template v-if="StockOutData.currentNum && StockOutData.lastNum"> |
| | | <img v-if="StockOutData.currentNum >= StockOutData.lastNum" src="@/assets/images/ic_up.png" |
| | | <template v-if="StockOutData.sameOutNum"> |
| | | <img v-if="StockOutData.currentOutNum >= StockOutData.sameOutNum" src="@/assets/images/ic_up.png" |
| | | class="icon" alt=""> |
| | | <img v-else src="@/assets/images/ic_down.webp" class="icon" alt=""> |
| | | </template> |
| | | <span v-if="StockOutData.lastNum && StockOutData.currentNum">{{ Math.abs((((StockOutData.currentNum |
| | | <span v-if="StockOutData.sameOutNum">{{ Math.abs((((StockOutData.currentOutNum |
| | | - |
| | | StockOutData.lastNum) / |
| | | StockOutData.lastNum) |
| | | StockOutData.sameOutNum) / |
| | | StockOutData.sameOutNum) |
| | | * 100).toFixed(2)) }}%</span> |
| | | <span v-else style="margin-left: 6px;">-</span> |
| | | <span class="la" style="margin-left: 30px;margin-right: 10px;">累计出库车次</span> |
| | | <span v-if="StockOutData.totalCarNum" class="la" |
| | | style="margin-left: 30px;margin-right: 10px;">累计出库车次</span> |
| | | <span>{{ StockOutData.totalCarNum || '' }}</span> |
| | | </div> |
| | | |
| | |
| | | showModal.value = true |
| | | kzorderInfo({ contractNumber: item.contractNumber }).then(res => { |
| | | modalInfo.value = res.data |
| | | const apiKey = 'd9a554b1808ce10a12a932ed9b0db1d0' |
| | | // const apiKey = 'd9a554b1808ce10a12a932ed9b0db1d0' |
| | | const apiKey = '3916a7b434e7f13ae1a0af64e88ec0a3' |
| | | if (modalInfo.value.gisList && modalInfo.value.gisList.length > 0) { |
| | | const gisInfo = modalInfo.value.gisList[0] |
| | | if (gisInfo && gisInfo.gisList && gisInfo.gisList.length > 0) { |
| | |
| | | const location = adsInfo.lon1 + ',' + adsInfo.lat1 |
| | | axios.get(`https://restapi.amap.com/v3/geocode/regeo?key=${apiKey}&location=${location}`).then(res => { |
| | | console.log('res', res.data) |
| | | if(res.data.status == 1){ |
| | | if (res.data.status == 1) { |
| | | modalInfo.value.position = res.data.regeocode.formatted_address |
| | | } |
| | | }) |
| | |
| | | color: #01D9FE; |
| | | width: 70px; |
| | | } |
| | | .val{ |
| | | |
| | | .val { |
| | | flex: 1; |
| | | } |
| | | } |