diff --git a/src/pages/raw/handover/aggregating/index.vue b/src/pages/raw/handover/aggregating/index.vue index 39675d9..86195a5 100644 --- a/src/pages/raw/handover/aggregating/index.vue +++ b/src/pages/raw/handover/aggregating/index.vue @@ -41,7 +41,7 @@ - + {{ $t('message.workArea_Selelct') }} @@ -183,23 +183,23 @@ export default class Aggregating extends BasePage { this.$form.setRules(this.rules); model.clearProOrderList(); this.form.sapFactoryCode = session.factoryCode; - this.form.requestTime = this.getNowFormatDate(); - } - getNowFormatDate() { - var date = new Date(); - var seperator1 = '-'; - var year = date.getFullYear(); - var month: any = date.getMonth() + 1; - var strDate: any = date.getDate(); - if (month >= 1 && month <= 9) { - month = '0' + month; - } - if (strDate >= 0 && strDate <= 9) { - strDate = '0' + strDate; - } - var currentdate = year + seperator1 + month + seperator1 + strDate; - return currentdate; + //this.form.requestTime = this.getNowFormatDate(); } + // getNowFormatDate() { + // var date = new Date(); + // var seperator1 = '-'; + // var year = date.getFullYear(); + // var month: any = date.getMonth() + 1; + // var strDate: any = date.getDate(); + // if (month >= 1 && month <= 9) { + // month = '0' + month; + // } + // if (strDate >= 0 && strDate <= 9) { + // strDate = '0' + strDate; + // } + // var currentdate = year + seperator1 + month + seperator1 + strDate; + // return currentdate; + // } startConfirm(startParams: any) { this.form.requestTime = startParams.year + '-' + startParams.month + '-' + startParams.day; } diff --git a/src/pages/raw/handover/picking/index.vue b/src/pages/raw/handover/picking/index.vue index 82fc772..4650dd2 100644 --- a/src/pages/raw/handover/picking/index.vue +++ b/src/pages/raw/handover/picking/index.vue @@ -28,7 +28,7 @@ - + {{ $t('message.workArea_Selelct') }} @@ -177,23 +177,23 @@ export default class pickingDom extends BasePage { this.$form.setRules(this.rules); model.clearProOrderList(); this.form.sapFactoryCode = session.factoryCode; - this.form.requireDateRegion = this.getNowFormatDate(); - } - getNowFormatDate() { - var date = new Date(); - var seperator1 = '-'; - var year = date.getFullYear(); - var month: any = date.getMonth() + 1; - var strDate: any = date.getDate(); - if (month >= 1 && month <= 9) { - month = '0' + month; - } - if (strDate >= 0 && strDate <= 9) { - strDate = '0' + strDate; - } - var currentdate = year + seperator1 + month + seperator1 + strDate; - return currentdate; + //this.form.requireDateRegion = this.getNowFormatDate(); } + // getNowFormatDate() { + // var date = new Date(); + // var seperator1 = '-'; + // var year = date.getFullYear(); + // var month: any = date.getMonth() + 1; + // var strDate: any = date.getDate(); + // if (month >= 1 && month <= 9) { + // month = '0' + month; + // } + // if (strDate >= 0 && strDate <= 9) { + // strDate = '0' + strDate; + // } + // var currentdate = year + seperator1 + month + seperator1 + strDate; + // return currentdate; + // } startConfirm(startParams: any) { this.form.requireDateRegion = startParams.year + '-' + startParams.month + '-' + startParams.day; }