fix:光芯日志中工作开始时间必传
This commit is contained in:
parent
dc5c0ebd49
commit
546a51fd2d
|
@ -208,12 +208,15 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :md="12" :sm="24">
|
<el-col :md="12" :sm="24">
|
||||||
<el-form-item label="工作日期" prop="handle_date">
|
<el-form-item
|
||||||
|
label="开始时间"
|
||||||
|
prop="work_start_time"
|
||||||
|
>
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
v-model="form.handle_date"
|
v-model="form.work_start_time"
|
||||||
type="date"
|
type="datetime"
|
||||||
value-format="YYYY-MM-DD"
|
value-format="YYYY-MM-DD HH:mm:ss"
|
||||||
style="width:100%"
|
style="width: 100%"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
@ -447,15 +450,10 @@ export default {
|
||||||
that.getRoute();
|
that.getRoute();
|
||||||
that.gettestitem();
|
that.gettestitem();
|
||||||
that.form.fmlog = that.fmlog;
|
that.form.fmlog = that.fmlog;
|
||||||
that.form.handle_date = that.$TOOL.dateFormat2(new Date());;
|
// that.form.handle_date = that.$TOOL.dateFormat2(new Date());
|
||||||
|
that.form.work_start_time = that.$TOOL.dateFormat(new Date());
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// getRoute() {
|
|
||||||
// let that = this;
|
|
||||||
// that.$API.mtm.route.list.req({ process: that.process, page: 0, routepack__state: 30 }).then((res) => {
|
|
||||||
// that.routeOptions = res;
|
|
||||||
// });
|
|
||||||
// },
|
|
||||||
changeRoute(){
|
changeRoute(){
|
||||||
let that = this;
|
let that = this;
|
||||||
that.routeOptions.forEach(item=>{
|
that.routeOptions.forEach(item=>{
|
||||||
|
|
|
@ -46,7 +46,6 @@
|
||||||
:apiObj="apiObj"
|
:apiObj="apiObj"
|
||||||
:params="params"
|
:params="params"
|
||||||
row-key="id"
|
row-key="id"
|
||||||
@row-click="table_detail"
|
|
||||||
>
|
>
|
||||||
<el-table-column type="index" width="50"></el-table-column>
|
<el-table-column type="index" width="50"></el-table-column>
|
||||||
<el-table-column label="批次号" prop="batch" min-width="100"></el-table-column>
|
<el-table-column label="批次号" prop="batch" min-width="100"></el-table-column>
|
||||||
|
|
Loading…
Reference in New Issue