Commit 7c5c885f by 王志慧

commit

1 parent d9f9db29
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
</div> </div>
<div class="d2-container-content"> <div class="d2-container-content">
<div style="padding: 15px 0"> <div style="padding: 15px 0">
<div class="gl-form-page gl-form-min"> <div class="gl-form-min">
<el-form :inline="true" size="small" :model="editAllocationForm"> <el-form :inline="true" size="small" :model="editAllocationForm">
<el-form-item label=""> <el-form-item label="">
<el-input v-model="searchForm.searchName" style="width: 200px" placeholder="请输入商品名称/系列" maxlength="20" clearable /> <el-input v-model="searchForm.searchName" style="width: 200px" placeholder="请输入商品名称/系列" maxlength="20" clearable />
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<div class="addWrap"> <div class="addWrap">
<div class="d2-container-content"> <div class="d2-container-content">
<div style="padding: 15px 0"> <div style="padding: 15px 0">
<div class="gl-form-page gl-form-min"> <div class="gl-form-min">
<el-form ref="ruleForm" :model="searchForm" size="small" inline="true"> <el-form ref="ruleForm" :model="searchForm" size="small" inline="true">
<el-form-item label=""> <el-form-item label="">
<el-input v-model="searchForm.searchName" style="width: 200px" placeholder="请输入商品名称/系列" maxlength="20" clearable /> <el-input v-model="searchForm.searchName" style="width: 200px" placeholder="请输入商品名称/系列" maxlength="20" clearable />
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
</template> </template>
<script> <script>
import * as dayjs from 'dayjs'
import url from '@/assets/empty.png' import url from '@/assets/empty.png'
import { membraneTypeList } from '@/utils/constants.js' import { membraneTypeList } from '@/utils/constants.js'
import stockMonthDialog from './stockMonthDialog' import stockMonthDialog from './stockMonthDialog'
...@@ -153,6 +154,7 @@ export default { ...@@ -153,6 +154,7 @@ export default {
beforeSearchFn() { beforeSearchFn() {
return new Promise(resolve => { return new Promise(resolve => {
this.tableSearchForm = this.$common.utils.deepClone(this.searchForm) this.tableSearchForm = this.$common.utils.deepClone(this.searchForm)
this.tableSearchForm.dataMonth = dayjs(new Date()).format('YYYY-MM')
resolve() resolve()
}) })
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!