1.删除审核时间相关字段

master
x_z 3 years ago
parent 448662e130
commit 938c1d9634

@ -10,7 +10,7 @@
> >
<el-row style="width: 100%"> <el-row style="width: 100%">
<el-form-item class="query-form-item"> <el-form-item class="query-form-item">
<el-input style="width: 300px" v-model="query.orderId" placeholder="单据号"></el-input> <el-input style="width: 300px" v-model="query.orderId" placeholder="单据号" clearable></el-input>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button-group> <el-button-group>
@ -67,17 +67,6 @@
<span>{{ scope.row.actDate }}</span> <span>{{ scope.row.actDate }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column
label="审核时间"
prop="actDate"
width="150"
show-overflow-tooltip="true"
>
<template slot-scope="scope">
<i class="el-icon-time"></i>
<span>{{ scope.row.auditTime }}</span>
</template>
</el-table-column>
<el-table-column label="校验状态" prop="contrastStatus" width="120"> <el-table-column label="校验状态" prop="contrastStatus" width="120">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag :type="(scope.row.contrastStatus === 1) | statusFilterType"> <el-tag :type="(scope.row.contrastStatus === 1) | statusFilterType">
@ -201,6 +190,8 @@
:visible.sync="editOrderVisible" :visible.sync="editOrderVisible"
width="35%" width="35%"
v-if="editOrderVisible" v-if="editOrderVisible"
:close-on-click-modal="false"
:close-on-press-escape="false"
> >
<el-row style="width: 100%"> <el-row style="width: 100%">
@ -214,17 +205,6 @@
</el-date-picker> </el-date-picker>
</el-row> </el-row>
<el-row style="width: 100%; margin-top: 20px;">
<el-lable>审核时间</el-lable>
<el-date-picker
v-model="auditTime"
type="datetime"
value-format="yyyy-MM-dd HH:mm:ss"
:picker-options="pickerOptions"
placeholder="选择日期">
</el-date-picker>
</el-row>
<div style="text-align: right; margin-top: 10px;"> <div style="text-align: right; margin-top: 10px;">
<el-button type="primary" size="small" icon="search" @click="updateOrderInfo" <el-button type="primary" size="small" icon="search" @click="updateOrderInfo"
>提交 >提交
@ -303,7 +283,6 @@
codeDetailVisible: false, codeDetailVisible: false,
editOrderVisible: false, editOrderVisible: false,
actDate: null, // actDate: null, //
auditTime: null, //
orderIds: [], orderIds: [],
pickerOptions: { pickerOptions: {
disabledDate: time => { disabledDate: time => {
@ -498,7 +477,6 @@
return; return;
} }
this.actDate = null; this.actDate = null;
this.auditTime = null;
this.editOrderVisible = true; this.editOrderVisible = true;
}, },
intentDetail(row) { intentDetail(row) {
@ -511,10 +489,6 @@
this.actDate = actDateSplit[0]; this.actDate = actDateSplit[0];
this.actDate2 = actDateSplit[1]; this.actDate2 = actDateSplit[1];
let auditTimeSplit = row.auditTime.split(" ");
this.auditTime = auditTimeSplit[0];
this.auditTime2 = auditTimeSplit[1];
this.orderIds = []; this.orderIds = [];
}, },
updateOrderInfo() { updateOrderInfo() {
@ -523,12 +497,12 @@
return; return;
} }
this.editOrderVisible = false; this.editOrderVisible = false;
this.orderIds = [];
this.list.forEach(item => { this.list.forEach(item => {
this.orderIds.push(item.id); this.orderIds.push(item.orderId);
}); });
let data = { let data = {
actDate: this.actDate, actDate: this.actDate,
auditTime: this.auditTime,
orderIds: this.orderIds orderIds: this.orderIds
}; };
updateOrderInfo(data).then((res) => { updateOrderInfo(data).then((res) => {

Loading…
Cancel
Save