Przeglądaj źródła

新增材料进场修改

duy 2 lat temu
rodzic
commit
2e9ca36056
1 zmienionych plików z 2 dodań i 0 usunięć
  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('只能选择一条数据编辑')