出库单出库时间bug修复

This commit is contained in:
hongchao 2025-04-07 18:11:16 +08:00
parent b24481e687
commit 0b52be1b32
1 changed files with 5 additions and 4 deletions

View File

@ -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',