|
|
|
@ -15,7 +15,7 @@
|
|
|
|
|
<el-button size="mini" type="primary" @click.native="submit()" :loading="submitLoading"
|
|
|
|
|
style="margin-right: 8px;border-radius: 5%;"
|
|
|
|
|
>添加完成
|
|
|
|
|
</el-button>
|
|
|
|
|
</el-button>
|
|
|
|
|
</el-button-group>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
@ -171,8 +171,8 @@
|
|
|
|
|
<el-text tag="b" size="large">父级编码:<span>{{ a || '暂未录入'}}</span></el-text>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<el-table v-loading="loading"
|
|
|
|
|
:data="detailList"
|
|
|
|
|
<el-table v-loading="loading"
|
|
|
|
|
:data="detailList"
|
|
|
|
|
style="width: 100%;" max-height="350" height="350"
|
|
|
|
|
border
|
|
|
|
|
:row-style="rowStyle"
|
|
|
|
@ -190,6 +190,7 @@
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import {addRelCode,scanCodeRelCode} from "@/api/collect/relCode";
|
|
|
|
|
// import relCodeDetail from "@/views/collect/relCode/relCodeDetail";
|
|
|
|
|
import A from "@/plugins/KeyScaner";
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
@ -276,7 +277,7 @@ export default {
|
|
|
|
|
],
|
|
|
|
|
validateDate: [
|
|
|
|
|
{required: true, message: "请选入有效日期", trigger: "blur"},
|
|
|
|
|
],
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
isScan: true,
|
|
|
|
|
scanText: "扫码录入:",
|
|
|
|
@ -312,6 +313,7 @@ export default {
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
components: {
|
|
|
|
|
// relCodeDetail
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
splitChange() {
|
|
|
|
@ -342,7 +344,7 @@ export default {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
refreshCodesPanel() {
|
|
|
|
|
this.warnVisible = false;
|
|
|
|
|
this.errVisible = false;
|
|
|
|
@ -479,10 +481,10 @@ export default {
|
|
|
|
|
this.$refs.inputRef.focus();
|
|
|
|
|
},
|
|
|
|
|
beforeDestroy() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|