iWare_RawMaterialWarehouse_Web/src/views/main/WmsBase/WmsMaterial/tabItem/WmsControlRule/addForm.vue
@@ -67,6 +67,9 @@ } }, methods: { handleOk(){ }, moment, // 初始化方法 add(record) { @@ -80,14 +83,12 @@ */ handleSubmit() { // if(){ // } if(this.$refs.showList.selectedRows.length!=1){ this.$message.warning("只能选择一个") return } this.visible = false let record1 = this.$refs.showList.selectedRows[0]; let record =record1; console.log("5555555") debugger let record = this.$refs.showList.selectedRows[0]; this.form.setFieldsValue({ id: record.id, ruleCode: record.ruleCode,