|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<xn-form-container
|
|
|
- :title="'过磅记录详情'"
|
|
|
+ :title="'详情'"
|
|
|
:width="1200"
|
|
|
v-model:open="open"
|
|
|
:destroy-on-close="true"
|
|
@@ -80,6 +80,7 @@
|
|
|
import tool from '@/utils/tool'
|
|
|
import { cloneDeep } from 'lodash-es'
|
|
|
import bizRecordApi from '@/api/biz/bizRecordApi'
|
|
|
+ import sysConfig from "@/config";
|
|
|
|
|
|
// 抽屉状态
|
|
|
const open = ref(false)
|
|
@@ -103,6 +104,49 @@
|
|
|
})*/
|
|
|
let recordData = cloneDeep(record)
|
|
|
formData.value = Object.assign({}, recordData)
|
|
|
+ if(formData.value.grossPlateName.includes("http://218.2.6.74:8065")){
|
|
|
+ console.log("str:"+formData.value.grossPlateName.indexOf("preview/"))
|
|
|
+ formData.value.grossPlateName = formData.value.grossPlateName.replace("http://218.2.6.74:8065/preview/",sysConfig.PREVIEW_PATH)
|
|
|
+ }
|
|
|
+ if(formData.value.grossLicenseName.includes("http://218.2.6.74:8065")){
|
|
|
+ formData.value.grossLicenseName = formData.value.grossLicenseName.replace("http://218.2.6.74:8065/preview/",sysConfig.PREVIEW_PATH)
|
|
|
+ }
|
|
|
+ if(formData.value.grossCaptureHead.includes("http://218.2.6.74:8065")){
|
|
|
+ formData.value.grossCaptureHead = formData.value.grossCaptureHead.replace("http://218.2.6.74:8065/preview/",sysConfig.PREVIEW_PATH)
|
|
|
+ }
|
|
|
+ if(formData.value.grossCaptureTail.includes("http://218.2.6.74:8065")){
|
|
|
+ formData.value.grossCaptureTail = formData.value.grossCaptureTail.replace("http://218.2.6.74:8065/preview/",sysConfig.PREVIEW_PATH)
|
|
|
+ }
|
|
|
+ if(formData.value.grossCaptureBody.includes("http://218.2.6.74:8065")){
|
|
|
+ formData.value.grossCaptureBody = formData.value.grossCaptureBody.replace("http://218.2.6.74:8065/preview/",sysConfig.PREVIEW_PATH)
|
|
|
+ }
|
|
|
+ if(formData.value.grossCaptureWare.includes("http://218.2.6.74:8065")){
|
|
|
+ formData.value.grossCaptureWare = formData.value.grossCaptureWare.replace("http://218.2.6.74:8065/preview/",sysConfig.PREVIEW_PATH)
|
|
|
+ }
|
|
|
+ if(formData.value.grossCapturePoundRoom.includes("http://218.2.6.74:8065")){
|
|
|
+ formData.value.grossCapturePoundRoom = formData.value.grossCapturePoundRoom.replace("http://218.2.6.74:8065/preview/",sysConfig.PREVIEW_PATH)
|
|
|
+ }
|
|
|
+ if(formData.value.tarePlateName.includes("http://218.2.6.74:8065")){
|
|
|
+ formData.value.tarePlateName = formData.value.tarePlateName.replace("http://218.2.6.74:8065/preview/",sysConfig.PREVIEW_PATH)
|
|
|
+ }
|
|
|
+ if(formData.value.tareLicenseName.includes("http://218.2.6.74:8065")){
|
|
|
+ formData.value.tareLicenseName = formData.value.tareLicenseName.replace("http://218.2.6.74:8065/preview/",sysConfig.PREVIEW_PATH)
|
|
|
+ }
|
|
|
+ if(formData.value.tareCaptureHead.includes("http://218.2.6.74:8065")){
|
|
|
+ formData.value.tareCaptureHead = formData.value.tareCaptureHead.replace("http://218.2.6.74:8065/preview/",sysConfig.PREVIEW_PATH)
|
|
|
+ }
|
|
|
+ if(formData.value.tareCaptureTail.includes("http://218.2.6.74:8065")){
|
|
|
+ formData.value.tareCaptureTail = formData.value.tareCaptureTail.replace("http://218.2.6.74:8065/preview/",sysConfig.PREVIEW_PATH)
|
|
|
+ }
|
|
|
+ if(formData.value.tareCaptureBody.includes("http://218.2.6.74:8065")){
|
|
|
+ formData.value.tareCaptureBody = formData.value.tareCaptureBody.replace("http://218.2.6.74:8065/preview/",sysConfig.PREVIEW_PATH)
|
|
|
+ }
|
|
|
+ if(formData.value.tareCaptureWare.includes("http://218.2.6.74:8065")){
|
|
|
+ formData.value.tareCaptureWare = formData.value.tareCaptureWare.replace("http://218.2.6.74:8065/preview/",sysConfig.PREVIEW_PATH)
|
|
|
+ }
|
|
|
+ if(formData.value.tareCapturePoundRoom.includes("http://218.2.6.74:8065")){
|
|
|
+ formData.value.tareCapturePoundRoom = formData.value.tareCapturePoundRoom.replace("http://218.2.6.74:8065/preview/",sysConfig.PREVIEW_PATH)
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
// 关闭抽屉
|