|
|
|
@ -294,21 +294,7 @@ export default class pickingDom extends BasePage {
|
|
|
|
|
|
|
|
|
|
//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;
|
|
|
|
|
}
|
|
|
|
@ -343,6 +329,7 @@ export default class pickingDom extends BasePage {
|
|
|
|
|
dataList.push(item);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
this.arrList = [];
|
|
|
|
|
if (dataList.length == 0) {
|
|
|
|
|
this.customToast(this.$t('message.Warehouse_Tip6') as any);
|
|
|
|
|
return;
|
|
|
|
@ -369,6 +356,9 @@ export default class pickingDom extends BasePage {
|
|
|
|
|
*/
|
|
|
|
|
onQueryVN() {
|
|
|
|
|
console.log('调用订单查询');
|
|
|
|
|
model.clearProOrderList();
|
|
|
|
|
this.arrList = [];
|
|
|
|
|
this.selectIndex = [];
|
|
|
|
|
this.$form.validate(async (valid: boolean) => {
|
|
|
|
|
if (!valid) return;
|
|
|
|
|
await this.model.queryProOrder(this.formParams);
|
|
|
|
|