Merge remote-tracking branch 'origin/master'

prod
郑明梁 2 years ago
commit e3fb944dd2

@ -5,7 +5,7 @@ VUE_APP_TITLE = UDI管理系统
ENV = 'development' ENV = 'development'
# 开发环境 # 开发环境
VUE_APP_BASE_API = 'http://r.jiyuudims.cloud:5004/UDI_WMS_MC/' VUE_APP_BASE_API = 'http://127.0.0.1:9991'
VUE_APP_SYNC_API ="http://127.0.0.1:10001" VUE_APP_SYNC_API ="http://127.0.0.1:10001"

@ -928,6 +928,9 @@ export default {
} else if (response.code == 520) { } else if (response.code == 520) {
this.$message.error("新增扫码单据列表已不存在该扫码单据!"); this.$message.error("新增扫码单据列表已不存在该扫码单据!");
this.getList(); this.getList();
}else {
this.$message.error(response.message);
this.getList();
} }
}) })

@ -156,13 +156,14 @@
>打印 >打印
</el-button </el-button
> >
<!-- <el-button--> <!-- <el-button-->
<!-- type="text"--> <!-- type="text"-->
<!-- size="small"--> <!-- size="small"-->
<!-- @click.native="printOrderDetailPDF(scope.row)"--> <!-- @click.native="printOrderDetailPDF(scope.row)"-->
<!-- >报表打印--> <!-- >报表打印-->
<!-- </el-button--> <!-- </el-button-->
<!-- >--> <!-- >-->
<!-- 暂时隐藏-->
<el-button <el-button
type="text" type="text"
size="small" size="small"
@ -301,8 +302,7 @@
type="text" type="text"
size="small" size="small"
@click.native.stop="upload(scope.row)" @click.native.stop="upload(scope.row)"
v-if="scope.row.checkFileName != null" >编辑
>预览
</el-button </el-button
> >
</template> </template>
@ -400,7 +400,8 @@
<el-image-viewer v-if="imgViewerVisible" style="z-index:9999" :on-close="closeImgViewer" :url-list="imgList"/> <el-image-viewer v-if="imgViewerVisible" style="z-index:9999" :on-close="closeImgViewer" :url-list="imgList"/>
<el-image-viewer v-if="imgViewerVisibleCold" style="z-index:9999" :on-close="closeImgViewerCold" :url-list="imgListCold"/> <el-image-viewer v-if="imgViewerVisibleCold" style="z-index:9999" :on-close="closeImgViewerCold"
:url-list="imgListCold"/>
<el-dialog <el-dialog
@ -419,7 +420,6 @@
</el-dialog> </el-dialog>
<el-dialog <el-dialog
title="根据当前单据生成新单据" title="根据当前单据生成新单据"
:visible.sync="stockChangeVisible" :visible.sync="stockChangeVisible"
@ -466,8 +466,6 @@ import {
} from "@/api/itextpdf/itextpdf"; } from "@/api/itextpdf/itextpdf";
const formJson = { const formJson = {
site_id: "", site_id: "",
site_name: "", site_name: "",
@ -480,13 +478,13 @@ export default {
data() { data() {
return { return {
BASE_URL: process.env.VUE_APP_BASE_API, BASE_URL: process.env.VUE_APP_BASE_API,
imgViewerVisible:false, imgViewerVisible: false,
imgViewerVisibleCold:false, imgViewerVisibleCold: false,
currentManufacturer:{}, currentManufacturer: {},
imgList:[], imgList: [],
imgListCold:[], imgListCold: [],
showSearch: true, showSearch: true,
Upinvoice:false, Upinvoice: false,
filterQuery: { filterQuery: {
id: "", id: "",
billNo: null, billNo: null,
@ -605,7 +603,7 @@ export default {
curRow: null, curRow: null,
}; };
}, },
components: {DialogcChangeNewOrder,ElImageViewer,DialogCheck}, components: {DialogcChangeNewOrder, ElImageViewer, DialogCheck},
methods: { methods: {
onReset() { onReset() {
this.$router.push({ this.$router.push({
@ -648,67 +646,75 @@ export default {
this.filterQuery.page = 1; this.filterQuery.page = 1;
this.getList(); this.getList();
}, },
showImgViewer(row){ showImgViewer(row) {
this.certFileUrl = this.BASE_URL + "/udiwms/image/register/file/getImage?type=image2&name="; this.certFileUrl = this.BASE_URL + "/udiwms/image/register/file/getImage?type=image2&name=";
console.log(this.certFileUrl+"========"); console.log(this.certFileUrl + "========");
this.imgList=[]; this.imgList = [];
previewImage({imageUrl:row.filePath,certFileUrl:this.certFileUrl}).then(response => { previewImage({imageUrl: row.filePath, certFileUrl: this.certFileUrl}).then(response => {
if (response.code === 20000) { if (response.code === 20000) {
this.imgList=response.data; this.imgList = response.data;
} }
console.log(this.imgList) console.log(this.imgList)
this.imgViewerVisible = true; this.imgViewerVisible = true;
}); });
const m = (e) => { e.preventDefault() }; const m = (e) => {
e.preventDefault()
};
document.body.style.overflow = 'hidden'; document.body.style.overflow = 'hidden';
document.addEventListener("touchmove", m, false); // document.addEventListener("touchmove", m, false); //
}, },
showImgViewerCold(row){ showImgViewerCold(row) {
this.certFileUrl = this.BASE_URL + "/udiwms/image/register/file/getImage?type=image2&name="; this.certFileUrl = this.BASE_URL + "/udiwms/image/register/file/getImage?type=image2&name=";
console.log(this.certFileUrl+"========"); console.log(this.certFileUrl + "========");
this.imgListCold=[]; this.imgListCold = [];
previewImage({imageUrl:row.coldFilePath,certFileUrl:this.certFileUrl}).then(response => { previewImage({imageUrl: row.coldFilePath, certFileUrl: this.certFileUrl}).then(response => {
if (response.code === 20000) { if (response.code === 20000) {
this.imgListCold=response.data; this.imgListCold = response.data;
} }
console.log(this.imgListCold) console.log(this.imgListCold)
this.imgViewerVisibleCold = true; this.imgViewerVisibleCold = true;
}); });
const m = (e) => { e.preventDefault() }; const m = (e) => {
e.preventDefault()
};
document.body.style.overflow = 'hidden'; document.body.style.overflow = 'hidden';
document.addEventListener("touchmove", m, false); // document.addEventListener("touchmove", m, false); //
}, },
closeImgViewer(){ closeImgViewer() {
this.imgViewerVisible = false; this.imgViewerVisible = false;
const m = (e) => { e.preventDefault() }; const m = (e) => {
e.preventDefault()
};
document.body.style.overflow = 'auto'; document.body.style.overflow = 'auto';
document.removeEventListener("touchmove", m, true); document.removeEventListener("touchmove", m, true);
}, },
closeImgViewerCold(){ closeImgViewerCold() {
this.imgViewerVisibleCold = false; this.imgViewerVisibleCold = false;
const m = (e) => { e.preventDefault() }; const m = (e) => {
e.preventDefault()
};
document.body.style.overflow = 'auto'; document.body.style.overflow = 'auto';
document.removeEventListener("touchmove", m, true); document.removeEventListener("touchmove", m, true);
}, },
upload(row){ upload(row) {
this.currentManufacturer = row; this.currentManufacturer = row;
this.Upinvoice = true; this.Upinvoice = true;
}, },
freshen(){ freshen() {
this.Upinvoice = false; this.Upinvoice = false;
this.getOrderDetails(); this.getOrderDetails();
}, },
closeCheckDialog(){ closeCheckDialog() {
this.Upinvoice = false; this.Upinvoice = false;
this.getOrderDetails(); this.getOrderDetails();
}, },
@ -958,7 +964,7 @@ export default {
binaryData.push(response); binaryData.push(response);
//blob //blob
let url = window.URL.createObjectURL( let url = window.URL.createObjectURL(
new Blob(binaryData, {type: "application/pdf"}) new Blob(binaryData, {type: "application/pdf"})
); );
this.loading = false; this.loading = false;
window.open(url);//pdf window.open(url);//pdf

@ -150,6 +150,8 @@
</el-button </el-button
> >
<!-- 暂时隐藏-->
<el-button <el-button
type="text" type="text"
size="small" size="small"
@ -301,7 +303,8 @@
</el-table> </el-table>
<el-image-viewer v-if="imgViewerVisible" style="z-index:9999" :on-close="closeImgViewer" :url-list="imgList"/> <el-image-viewer v-if="imgViewerVisible" style="z-index:9999" :on-close="closeImgViewer" :url-list="imgList"/>
<el-image-viewer v-if="imgViewerVisibleCold" style="z-index:9999" :on-close="closeImgViewerCold" :url-list="imgListCold"/> <el-image-viewer v-if="imgViewerVisibleCold" style="z-index:9999" :on-close="closeImgViewerCold"
:url-list="imgListCold"/>
<pagination <pagination
@ -553,9 +556,9 @@ export default {
data() { data() {
return { return {
imgList: [], imgList: [],
imgListCold:[], imgListCold: [],
imgViewerVisible: false, imgViewerVisible: false,
imgViewerVisibleCold:false, imgViewerVisibleCold: false,
BASE_URL: process.env.VUE_APP_BASE_API, BASE_URL: process.env.VUE_APP_BASE_API,
IMAGE_URL: process.env.VUE_APP_SYNC_API, IMAGE_URL: process.env.VUE_APP_SYNC_API,
showSearch: true, showSearch: true,
@ -751,18 +754,20 @@ export default {
document.addEventListener("touchmove", m, false); // document.addEventListener("touchmove", m, false); //
}, },
showImgViewerCold(row){ showImgViewerCold(row) {
this.certFileUrl = this.BASE_URL + "/udiwms/image/register/file/getImage?type=image2&name="; this.certFileUrl = this.BASE_URL + "/udiwms/image/register/file/getImage?type=image2&name=";
console.log(this.certFileUrl+"========"); console.log(this.certFileUrl + "========");
this.imgListCold=[]; this.imgListCold = [];
previewImage({imageUrl:row.coldFilePath,certFileUrl:this.certFileUrl}).then(response => { previewImage({imageUrl: row.coldFilePath, certFileUrl: this.certFileUrl}).then(response => {
if (response.code === 20000) { if (response.code === 20000) {
this.imgListCold=response.data; this.imgListCold = response.data;
} }
console.log(this.imgListCold) console.log(this.imgListCold)
this.imgViewerVisibleCold = true; this.imgViewerVisibleCold = true;
}); });
const m = (e) => { e.preventDefault() }; const m = (e) => {
e.preventDefault()
};
document.body.style.overflow = 'hidden'; document.body.style.overflow = 'hidden';
document.addEventListener("touchmove", m, false); // document.addEventListener("touchmove", m, false); //
}, },
@ -776,9 +781,11 @@ export default {
document.removeEventListener("touchmove", m, true); document.removeEventListener("touchmove", m, true);
}, },
closeImgViewerCold(){ closeImgViewerCold() {
this.imgViewerVisibleCold = false; this.imgViewerVisibleCold = false;
const m = (e) => { e.preventDefault() }; const m = (e) => {
e.preventDefault()
};
document.body.style.overflow = 'auto'; document.body.style.overflow = 'auto';
document.removeEventListener("touchmove", m, true); document.removeEventListener("touchmove", m, true);
}, },
@ -954,6 +961,9 @@ export default {
} else if (response.code == 520) { } else if (response.code == 520) {
this.$message.error("新增扫码单据列表已不存在该扫码单据!"); this.$message.error("新增扫码单据列表已不存在该扫码单据!");
this.getList(); this.getList();
} else {
this.$message.error(response.message);
this.getList();
} }
}) })

@ -732,6 +732,9 @@ export default {
} else if (response.code == 520) { } else if (response.code == 520) {
this.$message.error("新增扫码单据列表已不存在该扫码单据!"); this.$message.error("新增扫码单据列表已不存在该扫码单据!");
this.getList(); this.getList();
}else {
this.$message.error(response.message);
this.getList();
} }
}) })

@ -266,7 +266,6 @@
</el-table-column> </el-table-column>
<el-table-column label="操作" width="160" fixed="right"> <el-table-column label="操作" width="160" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
@ -368,8 +367,8 @@
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
<el-image-viewer v-if="imgViewerVisible" style="z-index:9999" :on-close="closeImgViewer" :url-list="imgList"/> <el-image-viewer v-if="imgViewerVisible" style="z-index:9999" :on-close="closeImgViewer" :url-list="imgList"/>
<el-image-viewer v-if="imgViewerVisibleCold" style="z-index:9999" :on-close="closeImgViewerCold" :url-list="imgListCold"/> <el-image-viewer v-if="imgViewerVisibleCold" style="z-index:9999" :on-close="closeImgViewerCold"
:url-list="imgListCold"/>
<el-dialog <el-dialog
@ -438,9 +437,9 @@ export default {
return { return {
BASE_URL: process.env.VUE_APP_BASE_API, BASE_URL: process.env.VUE_APP_BASE_API,
imgList: [], imgList: [],
imgListCold:[], imgListCold: [],
imgViewerVisible: false, imgViewerVisible: false,
imgViewerVisibleCold:false, imgViewerVisibleCold: false,
showSearch: true, showSearch: true,
Upinvoice: false, Upinvoice: false,
currentManufacturer: {}, currentManufacturer: {},
@ -633,24 +632,25 @@ export default {
document.addEventListener("touchmove", m, false); // document.addEventListener("touchmove", m, false); //
}, },
showImgViewerCold(row){ showImgViewerCold(row) {
this.certFileUrl = this.BASE_URL + "/udiwms/image/register/file/getImage?type=image2&name="; this.certFileUrl = this.BASE_URL + "/udiwms/image/register/file/getImage?type=image2&name=";
console.log(this.certFileUrl+"========"); console.log(this.certFileUrl + "========");
this.imgListCold=[]; this.imgListCold = [];
previewImage({imageUrl:row.coldFilePath,certFileUrl:this.certFileUrl}).then(response => { previewImage({imageUrl: row.coldFilePath, certFileUrl: this.certFileUrl}).then(response => {
if (response.code === 20000) { if (response.code === 20000) {
this.imgListCold=response.data; this.imgListCold = response.data;
} }
console.log(this.imgListCold) console.log(this.imgListCold)
this.imgViewerVisibleCold = true; this.imgViewerVisibleCold = true;
}); });
const m = (e) => { e.preventDefault() }; const m = (e) => {
e.preventDefault()
};
document.body.style.overflow = 'hidden'; document.body.style.overflow = 'hidden';
document.addEventListener("touchmove", m, false); // document.addEventListener("touchmove", m, false); //
}, },
closeImgViewer() { closeImgViewer() {
this.imgViewerVisible = false; this.imgViewerVisible = false;
const m = (e) => { const m = (e) => {
@ -660,9 +660,11 @@ export default {
document.removeEventListener("touchmove", m, true); document.removeEventListener("touchmove", m, true);
}, },
closeImgViewerCold(){ closeImgViewerCold() {
this.imgViewerVisibleCold = false; this.imgViewerVisibleCold = false;
const m = (e) => { e.preventDefault() }; const m = (e) => {
e.preventDefault()
};
document.body.style.overflow = 'auto'; document.body.style.overflow = 'auto';
document.removeEventListener("touchmove", m, true); document.removeEventListener("touchmove", m, true);
}, },
@ -787,7 +789,7 @@ export default {
page: 1, page: 1,
limit: 10 limit: 10
}; };
if(!isBlank(this.currentRow.billNo)) { if (!isBlank(this.currentRow.billNo)) {
this.getBizDetailList(); this.getBizDetailList();
} }
}, },
@ -910,7 +912,7 @@ export default {
page: 1, page: 1,
limit: 10 limit: 10
}; };
if(!isBlank(this.currentRow.billNo)) { if (!isBlank(this.currentRow.billNo)) {
this.getResultDetailList(); this.getResultDetailList();
} }
}, },

@ -134,7 +134,7 @@
<el-table-column label= prop="invName" width="120"> <el-table-column label= prop="invName" width="120">
</el-table-column> </el-table-column>
<el-table-column label="来源单据号" prop="corpOrderId" show-overflow-tooltip width="140"></el-table-column> <el-table-column label="来源单据号" prop="corpOrderId" show-overflow-tooltip width="140"></el-table-column>
<el-table-column label="来源" prop="fromType" width="140"> <el-table-column label="来源" prop="fromType" width="140">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ fromTypeMap[scope.row.fromType] }}</span> <span>{{ fromTypeMap[scope.row.fromType] }}</span>
</template> </template>
@ -456,6 +456,9 @@ export default {
} else if (response.code == 520) { } else if (response.code == 520) {
this.$message.error("新增扫码单据列表已不存在该扫码单据!"); this.$message.error("新增扫码单据列表已不存在该扫码单据!");
this.getList(); this.getList();
} else {
this.$message.error(response.message);
this.getList();
} }
}) })

@ -119,7 +119,7 @@
<el-table-column label= prop="invName" width="120"> <el-table-column label= prop="invName" width="120">
</el-table-column> </el-table-column>
<el-table-column label="来源单据号" prop="corpOrderId" show-overflow-tooltip width="140"></el-table-column> <el-table-column label="来源单据号" prop="corpOrderId" show-overflow-tooltip width="140"></el-table-column>
<el-table-column label="来源" prop="fromType" width="140"> <el-table-column label="来源" prop="fromType" width="140">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ fromTypeMap[scope.row.fromType] }}</span> <span>{{ fromTypeMap[scope.row.fromType] }}</span>
</template> </template>
@ -229,7 +229,7 @@ export default {
6: "校验异常", 6: "校验异常",
7: "已审核", 7: "已审核",
8: "审核拒绝", 8: "审核拒绝",
9: "正在处理",10: "待审核", 11: "待配货", 9: "正在处理", 10: "待审核", 11: "待配货",
}, },
curIndex: "", curIndex: "",
idQuery: {}, idQuery: {},
@ -406,6 +406,9 @@ export default {
} else if (response.code == 520) { } else if (response.code == 520) {
this.$message.error("新增扫码单据列表已不存在该扫码单据!"); this.$message.error("新增扫码单据列表已不存在该扫码单据!");
this.getList(); this.getList();
} else {
this.$message.error(response.message);
this.getList();
} }
}) })

@ -488,6 +488,9 @@ export default {
} else if (response.code == 520) { } else if (response.code == 520) {
this.$message.error("新增扫码单据列表已不存在该扫码单据!"); this.$message.error("新增扫码单据列表已不存在该扫码单据!");
this.getList(); this.getList();
} else {
this.$message.error(response.message);
this.getList();
} }
}) })

@ -122,7 +122,7 @@
<el-table-column label= prop="invName" width="120"> <el-table-column label= prop="invName" width="120">
</el-table-column> </el-table-column>
<el-table-column label="来源单据号" prop="corpOrderId" show-overflow-tooltip width="140"></el-table-column> <el-table-column label="来源单据号" prop="corpOrderId" show-overflow-tooltip width="140"></el-table-column>
<el-table-column label="来源" prop="fromType" width="140"> <el-table-column label="来源" prop="fromType" width="140">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ fromTypeMap[scope.row.fromType] }}</span> <span>{{ fromTypeMap[scope.row.fromType] }}</span>
</template> </template>
@ -409,6 +409,9 @@ export default {
} else if (response.code == 520) { } else if (response.code == 520) {
this.$message.error("新增扫码单据列表已不存在该扫码单据!"); this.$message.error("新增扫码单据列表已不存在该扫码单据!");
this.getList(); this.getList();
} else {
this.$message.error(response.message);
this.getList();
} }
}) })

@ -574,6 +574,9 @@ export default {
} else if (response.code == 520) { } else if (response.code == 520) {
this.$message.error("新增扫码单据列表已不存在该扫码单据!"); this.$message.error("新增扫码单据列表已不存在该扫码单据!");
this.getList(); this.getList();
} else {
this.$message.error(response.message);
this.getList();
} }
}) })
@ -588,8 +591,8 @@ export default {
}) })
.then(() => { .then(() => {
this.deleteOrders(rowId); this.deleteOrders(rowId);
this.currentRow=null; this.currentRow = null;
this.bizDetailList=[]; this.bizDetailList = [];
}) })
.catch(() => { .catch(() => {
}); });

@ -535,6 +535,9 @@ export default {
} else if (response.code == 520) { } else if (response.code == 520) {
this.$message.error("新增扫码单据列表已不存在该扫码单据!"); this.$message.error("新增扫码单据列表已不存在该扫码单据!");
this.getList(); this.getList();
} else {
this.$message.error(response.message);
this.getList();
} }
}) })

@ -161,9 +161,6 @@
<el-table-column label="入库数量" prop="inCount" width="120"></el-table-column> <el-table-column label="入库数量" prop="inCount" width="120"></el-table-column>
<el-table-column label="出库数量" prop="outCount" width="120"></el-table-column> <el-table-column label="出库数量" prop="outCount" width="120"></el-table-column>
<el-table-column label="结余数量" prop="reCount" width="120"> <el-table-column label="结余数量" prop="reCount" width="120">
<template slot-scope="scope">
<span>{{ scope.row.inCount - scope.row.outCount }}</span>
</template>
</el-table-column> </el-table-column>
<el-table-column label="部门" prop="deptName" v-if="showSup" <el-table-column label="部门" prop="deptName" v-if="showSup"
show-overflow-tooltip width="120"></el-table-column> show-overflow-tooltip width="120"></el-table-column>

@ -161,11 +161,12 @@
<el-table-column label="规格型号" prop="ggxh" show-overflow-tooltip width="180"></el-table-column> <el-table-column label="规格型号" prop="ggxh" show-overflow-tooltip width="180"></el-table-column>
<el-table-column label="批次号" prop="batchNo" width="120"></el-table-column> <el-table-column label="批次号" prop="batchNo" width="120"></el-table-column>
<el-table-column label="入库数量" prop="inCount" width="120"></el-table-column> <el-table-column label="入库数量" prop="inCount" width="120"></el-table-column>
<el-table-column label="出库数量" prop="outCount" width="120"></el-table-column> <el-table-column label="出库数量" prop="outCount" width="120">
</el-table-column>
<el-table-column label="结余数量" prop="reCount" width="120"> <el-table-column label="结余数量" prop="reCount" width="120">
<template slot-scope="scope"> <!-- <template slot-scope="scope">-->
<span>{{ scope.row.inCount - scope.row.outCount }}</span> <!-- <span>{{ scope.row.inCount - scope.row.outCount }}</span>-->
</template> <!-- </template>-->
</el-table-column> </el-table-column>
<el-table-column label="部门" prop="deptName" v-if="showSup" <el-table-column label="部门" prop="deptName" v-if="showSup"
show-overflow-tooltip width="120"></el-table-column> show-overflow-tooltip width="120"></el-table-column>

@ -162,9 +162,6 @@
<el-table-column label="入库数量" prop="inCount" width="120"></el-table-column> <el-table-column label="入库数量" prop="inCount" width="120"></el-table-column>
<el-table-column label="出库数量" prop="outCount" width="120"></el-table-column> <el-table-column label="出库数量" prop="outCount" width="120"></el-table-column>
<el-table-column label="结余数量" prop="reCount" width="120"> <el-table-column label="结余数量" prop="reCount" width="120">
<template slot-scope="scope">
<span>{{ scope.row.inCount - scope.row.outCount }}</span>
</template>
</el-table-column> </el-table-column>
<el-table-column label="部门" prop="deptName" v-if="showSup" <el-table-column label="部门" prop="deptName" v-if="showSup"
show-overflow-tooltip width="120"></el-table-column> show-overflow-tooltip width="120"></el-table-column>

@ -294,7 +294,7 @@ export default {
}, },
idQuery: { idQuery: {
id: "", id: "",
billNo:"" billNo: ""
}, },
curIndex: "", curIndex: "",
adListNoDataText: "无数据", adListNoDataText: "无数据",
@ -468,28 +468,12 @@ export default {
intentDetail(row) { intentDetail(row) {
this.codeDetailVisible = true; this.codeDetailVisible = true;
this.idQuery.id = row.id; this.idQuery.id = row.id;
this.idQuery.billNo=row.billNo; this.idQuery.billNo = row.billNo;
}, },
closeDialog() { closeDialog() {
this.successOrderExportPDFSettingVisible = false; this.successOrderExportPDFSettingVisible = false;
this.getList(); this.getList();
}, },
deleteOrders(data) {
this.loading = true;
this.deleteData.id = data;
deleteByOrderId(this.deleteData)
.then((response) => {
this.getList();
this.refresgOrderDetail();
this.$message({
type: "success",
message: "删除成功!",
});
})
.catch(() => {
});
},
tableRowClassName({row, rowIndex}) { tableRowClassName({row, rowIndex}) {
if (row.reCount === row.count) { if (row.reCount === row.count) {
return "success-row"; return "success-row";
@ -497,7 +481,6 @@ export default {
return "warning-row"; return "warning-row";
} }
}, },
exportDialog(value) { exportDialog(value) {
var mOrder = value; var mOrder = value;
if (mOrder.exportStatus === "已上传") { if (mOrder.exportStatus === "已上传") {
@ -651,18 +634,6 @@ export default {
}); });
}, },
deleteDialog(rowId) {
this.$confirm("此操作将永久删除该订单, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
this.deleteOrders(rowId);
})
.catch(() => {
});
},
closeDetailDialog(val) { closeDetailDialog(val) {
this.codeDetailVisible = false; this.codeDetailVisible = false;
}, },

Loading…
Cancel
Save