Parcourir la source

材料请购单-编辑前增加判断

jingbb il y a 1 an
Parent
commit
123570a524

+ 1 - 1
src/views/production/materialprocurement/materialProcurementList.vue

@@ -352,7 +352,7 @@
             this.$message.warning('请选择数据!')
           }else if(this.selectedRowKeys.length>1){
             this.$message.warning('请选择一条数据!')
-          }else if(this.selectedRowKeys[0].state!=='自由'){
+          }else if(this.selectedRows[0].state!=='自由'){
             this.$message.warning('请选择状态为自由的数据 !')
           }else{
             this.$refs.materialProcurementAdd.visible=true