|
@@ -7,7 +7,7 @@
|
|
|
<a-row :gutter="15">
|
|
|
<a-col :xl="6" :lg="6" :md="12" :sm="24">
|
|
|
<a-form-item label="审核时间">
|
|
|
- <rangeDate ref="rangeDate" @change="dateChange" />
|
|
|
+ <rangeDate ref="rangeDate" :value="time" @change="dateChange" />
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :xl="6" :lg="6" :md="12" :sm="24">
|
|
@@ -111,6 +111,7 @@ import storeTransferOutDetailModal from '@/views/allocationManagement/storeTrans
|
|
|
import chainTransferOutDetailModal from '@/views/allocationManagement/chainTransferOut/detail.vue'
|
|
|
import warehouseAllocationDetailModal from '@/views/allocationManagement/warehouseAllocation/detail.vue'
|
|
|
import { stockOutList, stockOutOut } from '@/api/stockOut'
|
|
|
+import getDate from '@/libs/getDate.js'
|
|
|
export default {
|
|
|
components: { STable, VSelect, rangeDate, pushOrderDetailModal, salesDetailModal, urgentDetailModal, storeTransferOutDetailModal, chainTransferOutDetailModal, warehouseAllocationDetailModal },
|
|
|
data () {
|
|
@@ -118,9 +119,13 @@ export default {
|
|
|
spinning: false,
|
|
|
advanced: true, // 高级搜索 展开/关闭
|
|
|
tableHeight: 0, // 表格高度
|
|
|
+ time: [
|
|
|
+ getDate.getCurrMonthDays().starttime,
|
|
|
+ getDate.getCurrMonthDays().endtime
|
|
|
+ ],
|
|
|
queryParam: { // 查询条件
|
|
|
- beginDate: '',
|
|
|
- endDate: '',
|
|
|
+ beginDate: getDate.getCurrMonthDays().starttime,
|
|
|
+ endDate: getDate.getCurrMonthDays().endtime,
|
|
|
demanderName: undefined, // 单位名称
|
|
|
outBizType: undefined, // 出库类型
|
|
|
state: undefined // 状态
|
|
@@ -214,9 +219,9 @@ export default {
|
|
|
},
|
|
|
// 重置
|
|
|
resetSearchForm () {
|
|
|
- this.$refs.rangeDate.resetDate()
|
|
|
- this.queryParam.beginDate = ''
|
|
|
- this.queryParam.endDate = ''
|
|
|
+ this.$refs.rangeDate.resetDate(this.time)
|
|
|
+ this.queryParam.beginDate = getDate.getCurrMonthDays().starttime
|
|
|
+ this.queryParam.endDate = getDate.getCurrMonthDays().endtime
|
|
|
this.queryParam.demanderName = undefined
|
|
|
this.queryParam.outBizType = undefined
|
|
|
this.queryParam.state = undefined
|