Browse Source

feat:[模板管理][update]

lkf
luojie 2 months ago
parent
commit
f5b580aaaa
3 changed files with 23 additions and 7 deletions
  1. +4
    -4
      src/components/Template/operation/TableOpertaion.vue
  2. +4
    -3
      src/views/business/comps/template/dialog/SubPackageDialog.vue
  3. +15
    -0
      src/views/business/comps/template/dialog/TagPrintDialog.vue

+ 4
- 4
src/components/Template/operation/TableOpertaion.vue View File

@ -61,15 +61,15 @@ export default {
methods: {
//
onStartConfig() {
this.$emit("startConfig", this.innerRow)
this.$emit("startConfig", this.innerRow,this.rowIndex)
},
//
onConfigComplete() {
this.$emit("configComplete", this.innerRow)
this.$emit("configComplete", this.innerRow,this.rowIndex)
},
//
onPrintLabel() {
this.$emit("printLabel", this.innerRow)
this.$emit("printLabel", this.innerRow,this.rowIndex)
},
//
onSubPackage() {
@ -97,7 +97,7 @@ export default {
resourceList: null,
}
EventBus.$emit('onModifyRecord', params);
this.$emit("subPackageSubmit", {fzsj:data,rowData:this.innerRow});
this.$emit("subPackageSubmit", {fzsj:data,rowData:this.innerRow,headerSelectFields:this.columns.headerSelectFields});
}
},
//

+ 4
- 3
src/views/business/comps/template/dialog/SubPackageDialog.vue View File

@ -108,13 +108,14 @@ export default {
this.resetErrors();
},
show(data) {
const cloneData = JSON.parse(JSON.stringify(data));
if (data.fzList) {
this.fzList = JSON.parse(JSON.stringify(data.fzList));
this.fzList = JSON.parse(JSON.stringify(cloneData.fzList));
//
this.fzListErrors = new Array(this.fzList.length).fill(false);
delete data.fzList;
delete cloneData.fzList;
}
this.formData = data;
this.formData = cloneData;
//
this.resetErrors();
this.visible = true;

+ 15
- 0
src/views/business/comps/template/dialog/TagPrintDialog.vue View File

@ -0,0 +1,15 @@
<template>
<el-dialog>
</el-dialog>
</template>
<script>
export default {
}
</script>
<style lang="scss" scoped>
</style>

Loading…
Cancel
Save