From 2cb84a27ce811520581f95788b32e873b3a75ab0 Mon Sep 17 00:00:00 2001 From: "xunyu.guo" <916759660@qq.com> Date: Fri, 14 Jan 2022 18:18:51 +0800 Subject: [PATCH] 111 --- .../views/ux/vw/dataInput/hq_h_checkout/detail.vue | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/vue/src/views/ux/vw/dataInput/hq_h_checkout/detail.vue b/vue/src/views/ux/vw/dataInput/hq_h_checkout/detail.vue index 65690b6e..d8c9cd3a 100644 --- a/vue/src/views/ux/vw/dataInput/hq_h_checkout/detail.vue +++ b/vue/src/views/ux/vw/dataInput/hq_h_checkout/detail.vue @@ -193,6 +193,7 @@ import permission from "@/directive/permission/index.js"; import CRMTableHead from "../../../components/CRMTableHead"; import { downloadFile } from "@/utils/crmindex.js"; import JobSelectVerson from "@/components/CreateCom/Job-Select.vue"; +import moment from "moment"; export default { name: "sendUnsettledDiffReport", @@ -264,8 +265,8 @@ export default { guids: "", billNum: "", accountDate: "", - branchId: "", - outPutQty: "", + // branchId: "", + // outPutQty: "", }, listDeleteQuery: { billNum: "", @@ -450,6 +451,14 @@ export default { this.listOutPutQuery.version = this.customerInfo.version; this.listOutPutQuery.guids = params; this.listOutPutQuery.billNum = this.customerInfo.parentId; + + let date = new Date(); + let min = date.getMinutes(); + date.setMinutes(min + 1); //这里加1分钟,是为了解决值改变后,系统秒数就过期限制了,无法点击“此刻”按钮, 如果监听 “系统时间”的改变,则会影响性能。 + let nowDate = moment(date).format("HH:mm:ss"); + + this.listOutPutQuery.accountDate = date; + console.log("取消出库条件:" + JSON.stringify(this.listOutPutQuery)); this.$confirm("是否确认取消出库" + myalert + "?", "提示", {