Commit b0760bef by 夏超

[fix] 玖姿收入支出添加类型字段

parent 02074aa0
......@@ -245,6 +245,9 @@
},
// 获取列表数据
getDataList() {
if(!this.datePickerValue){
this.datePickerValue = ['', '']
}
this.loading = true;
let parameter = {
limit: 10, //每页数量 非必填
......@@ -350,6 +353,12 @@
},
// 保存
saveListData() {
if (!this.createList[0].business_date) {
return this.$message({
type: "warning",
message: "请选择业务日期",
});
}
if (this.createList[0].machinery_type == '') {
this.$message({
type: "warning",
......@@ -381,9 +390,13 @@
income: '',
expenditure: '',
user_name: this.user_name,
user_id: this.user_id
user_id: this.user_id,
machinery_type:''
}
]
this.select_value = ''
this.machinery_type_value = ''
this.datePickerValue = ''
this.getDataList()
} else {
this.$message({
......
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 to comment