|
@@ -2,13 +2,23 @@
|
|
|
<div class="app-container">
|
|
|
<!-- 搜索模块 -->
|
|
|
<div class="filter-container">
|
|
|
- <span>
|
|
|
- <span>{{$t("runCenter.searchForm.bomName")}}:</span>
|
|
|
- <el-input v-model="queryParams.model.custDesc" :placeholder='$t("common.pleaseEnter")' style="width: 120px;" size="medium"/>
|
|
|
- </span>
|
|
|
- <span style="margin-left: 15px;">
|
|
|
- <span>{{$t("runCenter.searchForm.orderNo")}}:</span>
|
|
|
- <el-input v-model="queryParams.model.orderNo" :placeholder='$t("common.pleaseEnter")' style="width: 120px;" size="medium"/>
|
|
|
+<!-- <span>-->
|
|
|
+<!-- <span>{{$t("runCenter.searchForm.bomName")}}:</span>-->
|
|
|
+<!-- <el-input v-model="queryParams.model.custDesc" :placeholder='$t("common.pleaseEnter")' style="width: 120px;" size="medium"/>-->
|
|
|
+<!-- </span>-->
|
|
|
+<!-- <span style="margin-left: 15px;">-->
|
|
|
+<!-- <span>{{$t("runCenter.searchForm.orderNo")}}:</span>-->
|
|
|
+<!-- <el-input v-model="queryParams.model.orderNo" :placeholder='$t("common.pleaseEnter")' style="width: 120px;" size="medium"/>-->
|
|
|
+<!-- </span>-->
|
|
|
+<!-- <!– 零件名称 –>-->
|
|
|
+<!-- <span>-->
|
|
|
+<!-- <span>{{$t("runCenter.searchForm.bomName")}}:</span>-->
|
|
|
+<!-- <el-input v-model="queryParams.model.bomDesc" :placeholder='$t("common.pleaseEnter")' style="width: 120px;" size="medium"/>-->
|
|
|
+<!-- </span>-->
|
|
|
+ <!-- 订单名称 -->
|
|
|
+ <span style="margin-left: 15px;">
|
|
|
+ <span>{{$t("runCenter.searchForm.orderName")}}:</span>
|
|
|
+ <el-input v-model="queryParams.model.orderName" :placeholder='$t("common.pleaseEnter")' style="width: 120px;" size="medium"/>
|
|
|
</span>
|
|
|
<span style="margin-left: 15px;">
|
|
|
<span>{{$t("runCenter.searchForm.deliveryTime")}}:</span>
|
|
@@ -220,8 +230,7 @@
|
|
|
// 【订单管理】-API
|
|
|
import orderMgrApi from "@/api/runManageCenter/orderMgr"
|
|
|
import elDragDialog from '@/directive/el-drag-dialog'
|
|
|
- import { downloadFile, initEnums, initDicts, initQueryParams } from '@/utils/commons'
|
|
|
- import axios from 'axios'
|
|
|
+ import { initQueryParams } from '@/utils/commons'
|
|
|
export default {
|
|
|
name: "DraftOrder",
|
|
|
directives: { elDragDialog },
|
|
@@ -469,9 +478,14 @@
|
|
|
fetch (params = {}) {
|
|
|
this.loading = true
|
|
|
if (this.queryParams.timeRange) {
|
|
|
- this.queryParams.model.deliveryTime_st = this.queryParams.timeRange[0]
|
|
|
- this.queryParams.model.deliveryTime_ed = this.queryParams.timeRange[1]
|
|
|
+ this.queryParams.model.deliveryTime_st = this.queryParams.timeRange[0] + " 00:00:00"
|
|
|
+ this.queryParams.model.deliveryTime_ed = this.queryParams.timeRange[1] + " 23:59:59"
|
|
|
}
|
|
|
+ // 如果【零件交货日期】有值
|
|
|
+ if (this.queryParams.timeRange1) {
|
|
|
+ this.queryParams.model.pdeliveryTimeStart = this.queryParams.timeRange1[0] + " 00:00:00"
|
|
|
+ this.queryParams.model.pdeliveryTimeEnd = this.queryParams.timeRange1[1] + " 23:59:59"
|
|
|
+ }
|
|
|
|
|
|
this.queryParams.current = params.current ? params.current : this.queryParams.current
|
|
|
this.queryParams.size = params.size ? params.size : this.queryParams.size
|