huminmin
10 小时以前 37c5e71e2ad11f6b0f047d6843cd1983c9deccea
修改报工提交字段
已修改2个文件
6 ■■■■ 文件已修改
src/views/productionManagement/productionReporting/components/Detail.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/productionManagement/workOrder/index.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/productionManagement/productionReporting/components/Detail.vue
@@ -46,7 +46,6 @@
</script>
<template>
  {{ row }}
  <el-dialog v-model="visible"
             :title="'详情'"
             width="90%">
src/views/productionManagement/workOrder/index.vue
@@ -709,7 +709,7 @@
const handleReport = async () => {
  const data = await productionRecordFormRef.value.submitData()
  reportForm.otherData.rows = JSON.stringify(data || {});
  reportForm.otherData.rows = data || [];
  reportFormRef.value?.validate((valid) => {
    if (!valid) {
      return false;
@@ -761,7 +761,8 @@
    const submitData = {
      ...reportForm,
      quantity: quantity,
      scrapQty: scrapQty
      scrapQty: scrapQty,
      otherData: JSON.stringify(reportForm.otherData)
    };
    // console.log(submitData);