huminmin
6 小时以前 b2039d65644966132f2274b861deb942dd78d5ee
报工页面增加检品数量
已修改1个文件
11 ■■■■■ 文件已修改
src/views/productionManagement/workOrder/index.vue 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/productionManagement/workOrder/index.vue
@@ -196,6 +196,15 @@
                    placeholder="请输入报废数量"
                    @input="handleScrapQtyInput" />
        </el-form-item>
        <el-form-item label="检品数量"
                      prop="inspectedQuantity">
          <el-input-number v-model.number="reportForm.inspectedQuantity"
                    :min="0"
                    :step="1"
                    style="width: 300px"
                    controls-position="right"
                    placeholder="请输入检品数量"/>
        </el-form-item>
        <el-form-item label="班组信息">
          <el-select v-model="reportForm.userId"
                     style="width: 300px"
@@ -360,6 +369,7 @@
    planQuantity: 0,
    quantity: null,
    scrapQty: null,
    inspectedQuantity: null,
    userName: "",
    workOrderId: "",
    reportWork: "",
@@ -603,6 +613,7 @@
    reportForm.workOrderId = row.id;
    reportForm.reportWork = row.reportWork;
    reportForm.productMainId = row.productMainId;
    reportForm.inspectedQuantity = row.inspectedQuantity;
    reportForm.scrapQty =
      row.scrapQty !== undefined && row.scrapQty !== null ? row.scrapQty : null;
    nextTick(() => {