siontion 3 months ago
commit bb94f9614c

@ -123,6 +123,11 @@
</el-table-column>
<!-- <el-table-column label="派工单号" align="center" prop="headerNo" min-width="180" /> -->
<el-table-column label="生产订单号" align="center" prop="projectOrderCode" min-width="180" />
<el-table-column label="领料模式" align="center" prop="materialMode" min-width="180" >
<template #default="scope">
<dict-tag :type="DICT_TYPE.BIZ_STORAGE_OUT_MODE" :value="scope.row.materialMode" />
</template>
</el-table-column>
<el-table-column label="出库仓库" align="center" prop="whId" min-width="140">
<template #default="scope">
{{ warehouseList.find((tag) => tag.id === scope.row.whId)?.whName }}

@ -1,5 +1,5 @@
<template>
<Dialog v-model="dialogVisible" :title="dialogTitle" style="width: 1400px">
<Dialog v-model="dialogVisible" :title="dialogTitle" style="width: 70%">
<!-- 表格类信息 -->
<el-card class="hl-card-info">
<!-- <template #header>

@ -66,7 +66,7 @@ const open = async (val, id, index) => {
item.owner == e.owner ? (e.id = item.id) : undefined
})
})
}
}
dialogVisible.value = true
dialogTitle.value = t('设置联合工时')
}
@ -90,6 +90,17 @@ const submitForm = async () => {
message.error('请输入全部员工预计工时')
return //
}
const allamount = ref(0)
formData.value.ratioSettingss.forEach((item) => {
item.ratio = Number(item.ratio)
allamount.value += item.ratio
})
if (allamount.value !== 100) {
message.error('全部员工占比之和必须等于100%')
return //
}
// console.log(formData.value.ratioSettingss, 'formData.value.ratioResults')
// //
formLoading.value = true

@ -51,7 +51,7 @@
<el-table-column label="客户名称" align="center" prop="customerName" min-width="160" />
<el-table-column label="产品编码" align="center" prop="projectSubCode" min-width="260" />
<el-table-column label="产品名称" align="center" prop="projectSubName" min-width="180" />
<el-table-column label="生产车间" align="center" prop="materialName" min-width="160" />
<el-table-column label="生产车间" align="center" prop="workshopName" min-width="160" />
<el-table-column fixed="right" label="质检类型" align="center" prop="type" min-width="140">
<template #default="scope">
<dict-tag :type="DICT_TYPE.BIZ_INSPECTION_TYPE" :value="scope.row.type" />

Loading…
Cancel
Save