diff --git a/src/components/VoucherSelect/single.vue b/src/components/VoucherSelect/single.vue
new file mode 100644
index 00000000..d604bfcf
--- /dev/null
+++ b/src/components/VoucherSelect/single.vue
@@ -0,0 +1,178 @@
+
+
+
+
+
+ {{ "" }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/accounting/voucherDetails/index.vue b/src/views/accounting/voucherDetails/index.vue
index 49827826..7235d358 100644
--- a/src/views/accounting/voucherDetails/index.vue
+++ b/src/views/accounting/voucherDetails/index.vue
@@ -132,13 +132,32 @@
-
-
+
+
+
+
+
-
-
+
+
@@ -186,8 +205,8 @@
-
-
+
+
@@ -209,10 +228,11 @@ import {
getVoucherDetailsPage,
exportVoucherDetailsExcel,
} from "@/api/accounting/voucherDetails";
+import VoucherSelect from "@/components/VoucherSelect/single.vue";
export default {
name: "VoucherDetails",
- components: {},
+ components: { VoucherSelect },
data() {
return {
// 遮罩层
@@ -387,6 +407,15 @@ export default {
})
.catch(() => {});
},
+ handleSelectVoucher() {
+ this.$refs.VoucherSelect.showFlag = true;
+ },
+ onVoucherSelected(obj) {
+ console.log(obj);
+ if (obj != undefined && obj != null) {
+ this.form.voucherNum = obj.voucherNum;
+ }
+ },
},
};