浏览代码

新增材料进场修改

duy 2 年之前
父节点
当前提交
2e9ca36056
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/views/tentative/material/sampling.vue

+ 2 - 0
src/views/tentative/material/sampling.vue

@@ -422,6 +422,8 @@ const editFormModalClick = () => {
     const keys = tableCheckedKeys.value
     if (keys.length === 1) {
         addEditFormModel.value = keys[0]
+        addEditFormModel.value.representativeCount=addEditFormModel.value.representativeCount===-1?'':addEditFormModel.value.representativeCount
+        addEditFormModel.value.materialCount=addEditFormModel.value.materialCount===-1?'':addEditFormModel.value.materialCount
         addEditFormModal.value = true
     } else if (keys.length > 1) {
         window?.$message?.warning('只能选择一条数据编辑')