Commit ad5e60d0 authored by zhoutong's avatar zhoutong

【预生产】自编号待理货,出货详情-表单-可以下载已装单

parent 93a5de0f
...@@ -665,6 +665,12 @@ export default { ...@@ -665,6 +665,12 @@ export default {
}, },
formatDate, formatDate,
downloadDetailFile(row) { downloadDetailFile(row) {
if(row.serviceName == 'downloadLoadGoods'){
if(this.shipmentObj.tyStatus < 2112){
this.$message.error('请先完成理货后,再下载已装单')
return
}
}
const { fileFormat, type } = row; const { fileFormat, type } = row;
if (type === "url") { if (type === "url") {
downloadFileByUrl(row.serviceName, { shipmentId: this.shipmentId }); downloadFileByUrl(row.serviceName, { shipmentId: this.shipmentId });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment