md
This commit is contained in:
parent
a5895ff6b0
commit
b259b8d13b
@ -540,10 +540,30 @@
|
|||||||
<WaybillDetailReadOnly :key="currentTraceBillCode" :billCode="currentTraceBillCode" ></WaybillDetailReadOnly>
|
<WaybillDetailReadOnly :key="currentTraceBillCode" :billCode="currentTraceBillCode" ></WaybillDetailReadOnly>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<el-image-viewer
|
||||||
|
v-if="showViewer"
|
||||||
|
:on-close="closeViewer"
|
||||||
|
:url-list="[billPicSendRmk]"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
|
||||||
<el-dialog title="查看揽收底单图片" :visible.sync="openShowGotPic" width="30%" :close-on-click-modal="false" v-dialogDrag append-to-body>
|
<el-dialog title="查看揽收底单图片" :visible.sync="openShowGotPic" width="30%" :close-on-click-modal="false" v-dialogDrag append-to-body>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<el-image :src="billPicSendRmk" style="width: 200px"></el-image>
|
<!-- <el-image :src="billPicSendRmk" style="width: 200px"></el-image> -->
|
||||||
|
<ImagePreview height="300px" :key="billPicSendRmk" :src="billPicSendRmk" >
|
||||||
|
</ImagePreview>
|
||||||
|
<el-image
|
||||||
|
:src="`${realSrc}`"
|
||||||
|
fit="cover"
|
||||||
|
:style="`width:${realWidth};height:${realHeight};`"
|
||||||
|
:preview-src-list="realSrcList"
|
||||||
|
>
|
||||||
|
<div slot="error" class="image-slot">
|
||||||
|
<i class="el-icon-picture-outline"></i>
|
||||||
|
</div>
|
||||||
|
</el-image>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
@ -590,13 +610,14 @@ import WaybillDetailReadOnly from '@/views/oms/emisWaybill/WaybillDetailReadOnly
|
|||||||
import {timeDiffTime,timeFormat} from '@/utils/dateUtils'
|
import {timeDiffTime,timeFormat} from '@/utils/dateUtils'
|
||||||
import { formatSearchStr,deepClone } from '@/utils/index'
|
import { formatSearchStr,deepClone } from '@/utils/index'
|
||||||
import clip from '@/utils/clipboard'
|
import clip from '@/utils/clipboard'
|
||||||
|
import ElImageViewer from 'element-ui/packages/image/src/image-viewer'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "SendWaybillList",
|
name: "SendWaybillList",
|
||||||
// name: "DispatchWaybillList",
|
// name: "DispatchWaybillList",
|
||||||
|
|
||||||
components: {
|
components: {
|
||||||
|
ElImageViewer,
|
||||||
EmisMonthpayAccountPicker,
|
EmisMonthpayAccountPicker,
|
||||||
elDateAdvPicker,
|
elDateAdvPicker,
|
||||||
CountryPicker1,
|
CountryPicker1,
|
||||||
@ -646,6 +667,7 @@ export default {
|
|||||||
openForm: false,
|
openForm: false,
|
||||||
titleForm: "",
|
titleForm: "",
|
||||||
billCode:null,
|
billCode:null,
|
||||||
|
currentSelectBill:null,
|
||||||
|
|
||||||
|
|
||||||
openTraceInfo:false,
|
openTraceInfo:false,
|
||||||
@ -666,6 +688,7 @@ export default {
|
|||||||
|
|
||||||
openShowGotPic:false,
|
openShowGotPic:false,
|
||||||
billPicSendRmk:null,
|
billPicSendRmk:null,
|
||||||
|
showViewer: false,
|
||||||
|
|
||||||
// 时间搜索
|
// 时间搜索
|
||||||
dateRange:[],
|
dateRange:[],
|
||||||
@ -915,14 +938,18 @@ export default {
|
|||||||
},
|
},
|
||||||
handleShowGotPic(row){
|
handleShowGotPic(row){
|
||||||
|
|
||||||
if(!this.billPicSendRmk){
|
if(!this.currentSelectBill.orderStatus==0){
|
||||||
this.$modal.msgError("无揽收底单" );
|
this.$modal.msgError("未揽收" );
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if(this.billPicSendRmk){
|
this.billPicSendRmk=process.env.VUE_APP_BASE_API+"/oms2c/common/getGotImage?billCode="+this.billCode;
|
||||||
this.openShowGotPic=true;
|
// this.billPicSendRmk='https://api.sapp.tanex56.com/api/omssvr/oms2c/common/getGotImage?billCode=T7080300122056';
|
||||||
}
|
this.showViewer=true;
|
||||||
|
|
||||||
|
},
|
||||||
|
closeViewer() {
|
||||||
|
this.showViewer = false
|
||||||
},
|
},
|
||||||
handleCopyOrderRecord(row){
|
handleCopyOrderRecord(row){
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
@ -1008,6 +1035,7 @@ export default {
|
|||||||
handleSelectionChange(selection) {
|
handleSelectionChange(selection) {
|
||||||
console.log("====>selection==>",selection)
|
console.log("====>selection==>",selection)
|
||||||
if(selection!=null){
|
if(selection!=null){
|
||||||
|
this.currentSelectBill = selection[0];
|
||||||
this.billCode=selection[0].billCode;
|
this.billCode=selection[0].billCode;
|
||||||
this.billPicSendRmk=selection[0].billPicSendRmk;
|
this.billPicSendRmk=selection[0].billPicSendRmk;
|
||||||
|
|
||||||
|
|||||||
@ -70,7 +70,7 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item :label="$t('进仓状态')" prop="status">
|
<el-form-item :label="$t('进仓状态')" prop="status">
|
||||||
<el-select clearable v-model="queryParams.status" placeholder="">
|
<el-select clearable v-model="queryParams.stockInFlag" placeholder="">
|
||||||
<el-option key="0" label="未进仓" value="0"></el-option>
|
<el-option key="0" label="未进仓" value="0"></el-option>
|
||||||
<el-option key="1" label="已进仓" value="1"></el-option>
|
<el-option key="1" label="已进仓" value="1"></el-option>
|
||||||
<el-option key="2" label="部分进仓" value="2"></el-option>
|
<el-option key="2" label="部分进仓" value="2"></el-option>
|
||||||
@ -171,9 +171,9 @@
|
|||||||
<el-table-column :label="$t('确认时间')" align="center" prop="confirmDate" min-width="100" :show-overflow-tooltip="true"/>
|
<el-table-column :label="$t('确认时间')" align="center" prop="confirmDate" min-width="100" :show-overflow-tooltip="true"/>
|
||||||
<el-table-column :label="$t('进仓状态')" align="center" prop="status" min-width="100" >
|
<el-table-column :label="$t('进仓状态')" align="center" prop="status" min-width="100" >
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-tag v-if="scope.row.status=='0'" type="info">未入库</el-tag>
|
<el-tag v-if="scope.row.stockInFlag=='0'" type="info">未入库</el-tag>
|
||||||
<el-tag v-if="scope.row.status=='1'" type="success">已入仓</el-tag>
|
<el-tag v-if="scope.row.stockInFlag=='1'" type="success">已入仓</el-tag>
|
||||||
<el-tag v-if="scope.row.status=='2'" type="warning">部分入仓</el-tag>
|
<el-tag v-if="scope.row.stockInFlag=='2'" type="warning">部分入仓</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user