diff --git a/klp-ui/src/views/wms/receive/detail/index.vue b/klp-ui/src/views/wms/receive/detail/index.vue
index 2e8e06ff..c4ae28f7 100644
--- a/klp-ui/src/views/wms/receive/detail/index.vue
+++ b/klp-ui/src/views/wms/receive/detail/index.vue
@@ -34,7 +34,10 @@
刷新
导入
- 打印
+ 模板
+ 打印
@@ -81,7 +84,8 @@
- 签收
+ 签收
-
+
@@ -146,11 +150,11 @@ import ImportGuide from "@/views/wms/receive/components/ImportGuide.vue";
import ActualWarehouseSelect from "@/components/KLPService/ActualWarehouseSelect";
import CoilNo from "@/components/KLPService/Renderer/CoilNo.vue";
import Printer from "../components/Printer.vue";
-
+import { getConfigKey } from '@/api/system/config'
export default {
name: "DeliveryWaybill",
- components: {
+ components: {
MemoInput,
ImportGuide,
ActualWarehouseSelect,
@@ -224,7 +228,7 @@ export default {
// 导入弹窗
importDialogVisible: false,
- // 确认收货表单参数
+ // 确认收货表单参数
receiptModalVisible: false,
receiptForm: {
currentCoilNo: null,
@@ -402,7 +406,7 @@ export default {
...this.queryParams
}, `deliveryWaybill_${new Date().getTime()}.xlsx`)
},
- // 打开收货弹窗
+ // 打开收货弹窗
openReceiptModal(row) {
this.loading = true
// 打开确认收货弹窗
@@ -441,6 +445,13 @@ export default {
this.form = {};
this.$refs.form.resetFields();
this.buttonLoading = false;
+ },
+ // 下载模板文件
+ downloadTemplate() {
+ // 从系统参数中中读取id,然后下载
+ getConfigKey('file.template.receive').then(res => {
+ this.$download.oss(res.msg);
+ })
}
}
};