179 lines
6.5 KiB
Vue
179 lines
6.5 KiB
Vue
<!--
|
|
* @Author: zwq
|
|
* @Date: 2020-12-29 16:37:56
|
|
* @LastEditors: zwq
|
|
* @LastEditTime: 2022-03-16 09:50:12
|
|
* @Description:
|
|
-->
|
|
<template>
|
|
<el-dialog
|
|
:title="'btn.see' | i18nFilter"
|
|
:visible.sync="visible"
|
|
>
|
|
<el-row :gutter="10">
|
|
<el-form
|
|
ref="dataForm"
|
|
:model="dataForm"
|
|
size="medium"
|
|
label-width="160px"
|
|
label-position="left"
|
|
>
|
|
<el-col :span="8">
|
|
<el-row>
|
|
<el-col :span="24">
|
|
<el-form-item :label="$t('module.basicData.Warehouse.Code')" prop="taskCode">
|
|
<el-input v-model="dataForm.taskCode" readonly :style="{width: '100%'}" />
|
|
</el-form-item>
|
|
</el-col>
|
|
<el-col :span="24">
|
|
<el-form-item :label="$t('module.basicData.Warehouse.OrderName')" prop="orderName">
|
|
<el-input v-model="dataForm.orderName" readonly :style="{width: '100%'}" />
|
|
</el-form-item>
|
|
</el-col>
|
|
<el-col :span="24">
|
|
<el-form-item :label="$t('module.basicData.Warehouse.TaskBoxNumber')" prop="fullCode">
|
|
<el-input v-model="dataForm.fullCode" readonly :style="{width: '100%'}" />
|
|
</el-form-item>
|
|
</el-col>
|
|
<el-col :span="24">
|
|
<el-form-item :label="$t('module.basicData.Warehouse.VehicleName')" prop="name">
|
|
<el-input v-model="dataForm.name" readonly :style="{width: '100%'}" />
|
|
</el-form-item>
|
|
</el-col>
|
|
<el-col :span="24">
|
|
<el-form-item :label="$t('module.basicData.Warehouse.EmptyFork')" prop="field124">
|
|
<el-input v-model="dataForm.field124" readonly :style="{width: '100%'}" />
|
|
</el-form-item>
|
|
</el-col>
|
|
<el-col :span="24">
|
|
<el-form-item :label="$t('module.basicData.Warehouse.EmptyHandlingTime')" prop="field119">
|
|
<el-input v-model="dataForm.field119" readonly :style="{width: '100%'}" />
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-row>
|
|
</el-col>
|
|
<el-col :span="8">
|
|
<el-row>
|
|
<el-col :span="24">
|
|
<el-form-item :label="$t('module.basicData.Warehouse.ExecutionTime')" prop="createTime">
|
|
<el-input v-model="dataForm.createTime" readonly :style="{width: '100%'}" />
|
|
</el-form-item>
|
|
</el-col>
|
|
<el-col :span="24">
|
|
<el-form-item :label="$t('module.basicData.Warehouse.TaskType')" prop="taskType">
|
|
<el-input v-model="dataForm.taskType" readonly :style="{width: '100%'}" />
|
|
</el-form-item>
|
|
</el-col>
|
|
<el-col :span="24">
|
|
<el-form-item :label="$t('module.basicData.Warehouse.FullBoxNumber')" prop="emptyCode">
|
|
<el-input v-model="dataForm.emptyCode" readonly :style="{width: '100%'}" />
|
|
</el-form-item>
|
|
</el-col>
|
|
<el-col :span="24">
|
|
<el-form-item :label="$t('module.basicData.Warehouse.TaskLocation')" prop="anotherCurrLocation">
|
|
<el-input
|
|
v-model="dataForm.anotherCurrLocation"
|
|
readonly
|
|
:style="{width: '100%'}"
|
|
/>
|
|
</el-form-item>
|
|
</el-col>
|
|
<el-col :span="24">
|
|
<el-form-item :label="$t('module.basicData.Warehouse.TaskBoxFork')" prop="field121">
|
|
<el-input v-model="dataForm.field121" readonly :style="{width: '100%'}" />
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-row>
|
|
</el-col>
|
|
<el-col :span="8">
|
|
<el-row>
|
|
<el-col :span="24">
|
|
<el-form-item :label="$t('module.basicData.Warehouse.TaskSource')" prop="taskSource">
|
|
<el-input v-model="dataForm.taskSource" readonly :style="{width: '100%'}" />
|
|
</el-form-item>
|
|
</el-col>
|
|
<el-col :span="24">
|
|
<el-form-item :label="$t('module.basicData.Warehouse.PreviousOperation')" prop="anotherCurrProcessCode">
|
|
<el-input
|
|
v-model="dataForm.anotherCurrProcessCode"
|
|
readonly
|
|
:style="{width: '100%'}"
|
|
/>
|
|
</el-form-item>
|
|
</el-col>
|
|
<el-col :span="24">
|
|
<el-form-item :label="$t('module.basicData.Warehouse.NextOperation')" prop="anotherNextProcessCode">
|
|
<el-input
|
|
v-model="dataForm.anotherNextProcessCode"
|
|
readonly
|
|
:style="{width: '100%'}"
|
|
/>
|
|
</el-form-item>
|
|
</el-col>
|
|
<el-col :span="24">
|
|
<el-form-item :label="$t('module.basicData.Warehouse.TargetLocation')" prop="anotherTargetLocation">
|
|
<el-input
|
|
v-model="dataForm.anotherTargetLocation"
|
|
readonly
|
|
:style="{width: '100%'}"
|
|
/>
|
|
</el-form-item>
|
|
</el-col>
|
|
<el-col :span="24">
|
|
<el-form-item :label="$t('module.basicData.Warehouse.BoxStatus')" prop="field126">
|
|
<el-input v-model="dataForm.field126" readonly :style="{width: '100%'}" />
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-row>
|
|
</el-col>
|
|
</el-form>
|
|
</el-row>
|
|
<span slot="footer" class="dialog-footer">
|
|
<el-button @click="visible = false">{{ 'btn.cancel' | i18nFilter }}</el-button>
|
|
</span>
|
|
</el-dialog>
|
|
</template>
|
|
|
|
<script>
|
|
import { CurrentTaskDetail } from '@/api/basicData/Warehouse/HistoricalTask'
|
|
|
|
export default {
|
|
data() {
|
|
return {
|
|
visible: false,
|
|
dataForm: {
|
|
id: '',
|
|
taskCode: undefined,
|
|
orderName: undefined,
|
|
fullCode: undefined,
|
|
name: undefined,
|
|
field124: undefined,
|
|
field119: undefined,
|
|
createTime: undefined,
|
|
taskType: undefined,
|
|
emptyCode: undefined,
|
|
anotherCurrLocation: undefined,
|
|
field121: undefined,
|
|
taskSource: undefined,
|
|
anotherCurrProcessCode: undefined,
|
|
anotherNextProcessCode: undefined,
|
|
anotherTargetLocation: undefined,
|
|
field126: undefined
|
|
}
|
|
}
|
|
},
|
|
methods: {
|
|
init(id) {
|
|
this.dataForm.id = id
|
|
this.visible = true
|
|
this.$nextTick(() => {
|
|
this.$refs['dataForm'].resetFields()
|
|
CurrentTaskDetail(this.dataForm.id).then(res => {
|
|
this.dataForm = res.data
|
|
})
|
|
})
|
|
}
|
|
}
|
|
}
|
|
</script>
|