出库单出库时间bug修复
This commit is contained in:
parent
b24481e687
commit
0b52be1b32
|
|
@ -440,14 +440,14 @@
|
|||
<!-- 添加精确到时分秒的日期选择器 -->
|
||||
<el-date-picker
|
||||
v-show="showSelect"
|
||||
v-model="leaseOutData.updateTime"
|
||||
v-model="leaseOutData.outTime"
|
||||
type="datetime"
|
||||
value-format="yyyy-MM-dd HH:mm:ss"
|
||||
style="width: 200px"
|
||||
placeholder="请选择出库时间"
|
||||
@change="changeTime"
|
||||
/>
|
||||
<span v-show="!showSelect" @click="showSelect = true" style="cursor: pointer">{{leaseOutData.updateTime
|
||||
<span v-show="!showSelect" @click="showSelect = true" style="cursor: pointer">{{leaseOutData.outTime
|
||||
}}</span>
|
||||
</div>
|
||||
<!-- <div class="item" style="width: 50%; flex-shrink: 0; margin-bottom: 5px; font-size: 14px">
|
||||
|
|
@ -596,6 +596,7 @@ export default {
|
|||
//数量表单-车牌号
|
||||
carCode: '',
|
||||
remark: '',
|
||||
createTime: '',
|
||||
},
|
||||
outQuery: {
|
||||
//编码出库-搜索条件
|
||||
|
|
@ -897,7 +898,7 @@ export default {
|
|||
|
||||
this.leaseOutDetailRecord = res.data.leaseOutDetailRecord
|
||||
this.leaseOutData = res.data
|
||||
|
||||
this.leaseOutData.outTime = res.data.outTime ? new Date(res.data.outTime) : ''
|
||||
console.log('this.leaseApplyData ============', this.leaseApplyData)
|
||||
},
|
||||
// 领料单 打印
|
||||
|
|
@ -1009,7 +1010,7 @@ export default {
|
|||
taskId: this.rowTemp.taskId,
|
||||
}).then((response) => {
|
||||
if (response.code === 200) { // 假设接口返回成功状态码为 200
|
||||
this.leaseOutData.updateTime = newValue;
|
||||
this.leaseOutData.outTime = newValue;
|
||||
this.showSelect = false;
|
||||
this.$message({
|
||||
type: 'success',
|
||||
|
|
|
|||
Loading…
Reference in New Issue