@@ -117,7 +117,7 @@
categoryLevelId: ''
},
current: {},
- radio:''
+ radio:null
};
computed: {
@@ -186,6 +186,7 @@
});
reload () {
+ this.radio = null
this.$nextTick(() => {
this.$refs.table.reload({
pageNum: 1,
@@ -214,7 +215,7 @@
this.radio = row.id
submit () {
- if (!this.current.id) {
+ if (!this.current) {
return this.$message.error('请选择物品编码');
}
this.$emit('succeed', this.current);