diff --git a/vue/src/views/ux/billManage/vwOutOrder/detail.vue b/vue/src/views/ux/billManage/vwOutOrder/detail.vue
index b3bea7bf..1e248522 100644
--- a/vue/src/views/ux/billManage/vwOutOrder/detail.vue
+++ b/vue/src/views/ux/billManage/vwOutOrder/detail.vue
@@ -21,7 +21,7 @@
type="success"
icon="el-icon-check"
size="mini"
- @click="handleCreateBills()"
+ @click="print()"
>确认出库单(支持批量)
+
+
+
+
+
+
+
+
+
+
+
+
@@ -180,6 +218,7 @@ export default {
version: "",
guids: "",
billNum: "",
+ accountDate: "",
},
page: 1,
JobversionValue: "",
@@ -191,6 +230,9 @@ export default {
showExcelImport: false,
tableHeight: document.documentElement.clientHeight - 230,
isEdit: false,
+ accountDatelist: {
+ accountDate: "",
+ },
};
},
mounted() {
@@ -246,6 +288,9 @@ export default {
},
},
methods: {
+ print() {
+ this.dialogFormVisible = true;
+ },
//版本下拉列表选择项
JobVersionValue(params) {
//版本下拉选择
@@ -319,6 +364,39 @@ export default {
},
//出库单
handleCreateBills(row) {
+ this.dialogFormVisible = true;
+ this.listLoading = true;
+ this.listOutPutQuery.guids = [];
+ this.listOutPutQuery.version = this.customerInfo.version;
+ this.listOutPutQuery.billNum = this.customerInfo.parentId;
+ if (this.accountDatelist != "") {
+ this.listOutPutQuery.accountDate = this.accountDatelist.accountDate;
+ }
+ //this.listOutPutQuery.accountDate = this.accountDatelist;
+ console.log("全部确认出库条件:" + JSON.stringify(this.listOutPutQuery));
+
+ this.$axios
+ .posts(
+ "/api/settleaccount/wmsjitoutput/WmsJitOutPut-Pass",
+ this.listOutPutQuery
+ )
+ .then((response) => {
+ const index = this.list.indexOf(row);
+ this.$notify({
+ title: "成功",
+ message: "生成成功",
+ type: "success",
+ duration: 2000,
+ });
+ this.getList();
+ this.listLoading = false;
+ })
+ .catch(() => {
+ this.listLoading = false;
+ });
+ },
+ //出库单
+ handleCreateBills_old(row) {
if (this.multipleSelection.length == 0) {
this.listLoading = true;
this.listOutPutQuery.guids = [];