Commit 2c6859b2 by LJM

css

parent dcde8fdc
......@@ -15,9 +15,6 @@
<el-form-item label="创建时间">
<el-date-picker v-model="formParam.date" value-format="yyyy-MM-dd" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"></el-date-picker>
</el-form-item>
<el-form-item label="更新时间">
<el-date-picker v-model="formParam.date" value-format="yyyy-MM-dd" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"></el-date-picker>
</el-form-item>
<el-form-item>
<el-button type="primary" @click="submit">搜索</el-button>
<el-button @click="resetForm('formParam')">重置</el-button>
......@@ -49,7 +46,6 @@
</template>
</el-table-column>
<el-table-column prop="create_time" label="创建时间" width="140" align="center"></el-table-column>
<el-table-column prop="update_time" label="更新时间" width="140" align="center"></el-table-column>
</el-table>
<el-pagination layout="total, sizes, prev, pager, next, jumper" :page-sizes="[10, 20, 50, 100, 200]" :total="total" @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="page"></el-pagination>
</div>
......@@ -267,6 +263,7 @@ export default {
})
},
resetForm(formName) {
this.formParam.date = '';
this.$refs[formName].resetFields();
},
submit() {
......
......@@ -1127,7 +1127,8 @@ export default {
* @param formName
*/
resetForm(formName) {
this.formParam.date = '';
this.create_time_val = '';
this.deadline_time_val = '';
this.$refs[formName].resetFields();
},
/**
......
......@@ -669,7 +669,7 @@ export default {
})
},
resetForm(formName) {
this.formParam.date = '';
this.quote_time_val = '';
this.$refs[formName].resetFields();
},
onSubmit() {
......
......@@ -258,6 +258,7 @@ export default {
this.getData();
},
resetForm(formName) {
this.create_time_val = '';
this.$refs[formName].resetFields();
},
//生成发货单
......
......@@ -143,6 +143,7 @@ export default {
this.getData();
},
resetForm(formName) {
this.create_time_val='';
this.$refs[formName].resetFields();
},
/**
......
......@@ -469,7 +469,7 @@
<script>
import Vue from 'vue';
import Menu from "@/components/menu.vue";
import {Autocomplete, Button, DatePicker, Dialog, Dropdown, DropdownItem, DropdownMenu, Form, FormItem, Input, Message, MessageBox, Option, Pagination, Popover, Select, Table, TableColumn, Tag, Tooltip,Upload} from 'element-ui'
import {Autocomplete, Button, DatePicker, Dialog, Dropdown, DropdownItem, DropdownMenu, Form, FormItem, Input, Message, MessageBox, Option, Pagination, Popover, Select, Table, TableColumn, Tag, Tooltip, Upload} from 'element-ui'
import {NODE_ENVS} from "../../ajax";
import Tool from "@/tool";
......@@ -576,15 +576,15 @@ export default {
* @param fileList
*/
importTemplate(file, fileList) {
var that=this;
var that = this;
if (file.code === 0) {
this.$message({
message: '导入成功',
type: 'success',
onClose(){
onClose() {
that.$router.push({
path: "/goodDetail",
query: { import_sn: file.data.import_sn},
query: {import_sn: file.data.import_sn},
});
}
});
......@@ -1108,6 +1108,7 @@ export default {
},
resetForm(formName) {
this.formParam.date = '';
this.date_val = '';
this.$refs[formName].resetFields();
},
onSubmit() {
......
......@@ -507,6 +507,7 @@ export default {
},
resetForm(formName) {
this.formParam.date = '';
this.cp_time_val = '';
this.$refs[formName].resetFields();
this.formParam.status = '';
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment