更改导入,新增需求时间,目前默认不新增
This commit is contained in:
parent
152d78fa1f
commit
02c3d6d7eb
23
src/layout/kateOrdersTable.vue
Normal file → Executable file
23
src/layout/kateOrdersTable.vue
Normal file → Executable file
|
|
@ -38,10 +38,11 @@
|
|||
<el-table-column prop="sortString" label="SortStrng" min-width="120px" />
|
||||
<el-table-column prop="requirementQuantity" label="需求数量" sortable min-width="120px" />
|
||||
<el-table-column prop="goodsUnit" label="单位" min-width="120px" />
|
||||
<el-table-column v-if="isAddReqmtDate" prop="planStartDate" label="开工时间" min-width="120px" />
|
||||
<el-table-column prop="orderStatus" label="状态" min-width="120px" />
|
||||
<el-table-column prop="lackQuantity" label="缺少数量" min-width="120px" />
|
||||
<el-table-column prop="pickedQuantity" label="已拣数量" min-width="120px" />
|
||||
<el-table-column prop="finishTime" label="完成时间" :formatter="timeFormat" min-width="120px" show-overflow-tooltip />
|
||||
<el-table-column prop="finishTime" label="计划完成时间" :formatter="timeFormat" min-width="120px" show-overflow-tooltip />
|
||||
<el-table-column prop="userName" label="操作人员" min-width="120px" />
|
||||
<el-table-column fixed="right" label="操作" width="240px">
|
||||
<template v-slot="scope">
|
||||
|
|
@ -112,6 +113,19 @@
|
|||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row v-if="isAddReqmtDate" :gutter="16">
|
||||
<el-col :span="12" :offset="0">
|
||||
<el-form-item label="计划开工时间" prop="planStartDate">
|
||||
<el-date-picker
|
||||
v-model="ordersFormEntity.planStartDate"
|
||||
type="date"
|
||||
placeholder="选择日期"
|
||||
style="width: 100%;"
|
||||
value-format="YYYY-MM-DD"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-form>
|
||||
</div>
|
||||
<template #footer>
|
||||
|
|
@ -190,7 +204,8 @@ export default {
|
|||
ordersFormEntity: reactive({}),
|
||||
labelPosition: 'top',
|
||||
ordersFormRef: ref(),
|
||||
rules: reactive({})
|
||||
rules: reactive({}),
|
||||
isAddReqmtDate: false
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
|
@ -243,7 +258,8 @@ export default {
|
|||
requirementQuantity: row.requirementQuantity,
|
||||
orderStatus: row.orderStatus,
|
||||
lackQuantity: row.lackQuantity,
|
||||
pickedQuantity: row.pickedQuantity
|
||||
pickedQuantity: row.pickedQuantity,
|
||||
planStartDate: row.planStartDate
|
||||
}
|
||||
this.dialogVisible = true
|
||||
},
|
||||
|
|
@ -287,6 +303,7 @@ export default {
|
|||
orderStatus: formData.orderStatus,
|
||||
lackQuantity: formData.lackQuantity,
|
||||
pickedQuantity: formData.pickedQuantity,
|
||||
planStartDate: formData.planStartDate,
|
||||
userName: store.getters.getUserName
|
||||
}
|
||||
updateOrders(params).then(res => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user