提交
This commit is contained in:
parent
452375874b
commit
247dfdc318
@ -31,12 +31,12 @@
|
|||||||
clearable
|
clearable
|
||||||
></el-autocomplete>
|
></el-autocomplete>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="起点" prop="startPoint">
|
<!-- <el-form-item label="起点" prop="startPoint">
|
||||||
<el-input v-model="dataForm.startPoint" placeholder="起点"></el-input>
|
<el-input v-model="dataForm.startPoint" placeholder="起点"></el-input>
|
||||||
</el-form-item>
|
</el-form-item> -->
|
||||||
<el-form-item label="终点" prop="endPoint">
|
<!-- <el-form-item label="终点" prop="endPoint">
|
||||||
<el-input v-model="dataForm.endPoint" placeholder="终点"></el-input>
|
<el-input v-model="dataForm.endPoint" placeholder="终点"></el-input>
|
||||||
</el-form-item>
|
</el-form-item> -->
|
||||||
<el-form-item label="数量" prop="num">
|
<el-form-item label="数量" prop="num">
|
||||||
<el-input v-model="dataForm.num" placeholder="数量" oninput = "value=value.replace(/[^\d]/g,'')"></el-input>
|
<el-input v-model="dataForm.num" placeholder="数量" oninput = "value=value.replace(/[^\d]/g,'')"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@ -67,8 +67,8 @@ export default {
|
|||||||
id: 0,
|
id: 0,
|
||||||
taskType: '',
|
taskType: '',
|
||||||
model: '',
|
model: '',
|
||||||
startPoint: '',
|
// startPoint: '',
|
||||||
endPoint: '',
|
// endPoint: '',
|
||||||
num: '',
|
num: '',
|
||||||
unit: '',
|
unit: '',
|
||||||
remarks: '',
|
remarks: '',
|
||||||
@ -83,13 +83,13 @@ export default {
|
|||||||
],
|
],
|
||||||
num: [
|
num: [
|
||||||
{ required: true, message: '数量不能为空', trigger: 'blur' }
|
{ required: true, message: '数量不能为空', trigger: 'blur' }
|
||||||
],
|
|
||||||
startPoint: [
|
|
||||||
{ required: true, message: '起点不能为空', trigger: 'blur' }
|
|
||||||
],
|
|
||||||
endPoint: [
|
|
||||||
{ required: true, message: '终点不能为空', trigger: 'blur' }
|
|
||||||
]
|
]
|
||||||
|
// startPoint: [
|
||||||
|
// { required: true, message: '起点不能为空', trigger: 'blur' }
|
||||||
|
// ],
|
||||||
|
// endPoint: [
|
||||||
|
// { required: true, message: '终点不能为空', trigger: 'blur' }
|
||||||
|
// ]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -151,8 +151,8 @@ export default {
|
|||||||
'taskType': this.dataForm.taskType,
|
'taskType': this.dataForm.taskType,
|
||||||
'model': this.dataForm.model,
|
'model': this.dataForm.model,
|
||||||
'num': this.dataForm.num,
|
'num': this.dataForm.num,
|
||||||
'startPoint': this.dataForm.startPoint,
|
// 'startPoint': this.dataForm.startPoint,
|
||||||
'endPoint': this.dataForm.endPoint,
|
// 'endPoint': this.dataForm.endPoint,
|
||||||
'remarks': this.dataForm.remarks,
|
'remarks': this.dataForm.remarks,
|
||||||
'dateNum': this.dataForm.dateNum
|
'dateNum': this.dataForm.dateNum
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user