fix:修复前端子卷规格无法显示问题

This commit is contained in:
2024-06-26 14:17:15 +08:00
parent 4d729392c9
commit ea8b70ec38
3 changed files with 15 additions and 15 deletions

View File

@@ -107,7 +107,7 @@
<el-table-column show-overflow-tooltip prop="paper_tube_description" label="子卷规格" align="center" />
</el-table>
</el-card>
<MaterDiv ref="child" :dialog-show.sync="structShow" :paper_tube_description="paper_tube_description" :sect-prop="sectProp" @tableChanged="tableChanged" />
<MaterDiv ref="child" :dialog-show.sync="structShow" :paper-tube-description="paperTubeDescription" :sect-prop="sectProp" @tableChanged="tableChanged" />
</el-dialog>
</template>
@@ -166,7 +166,7 @@ export default {
stor_id: '',
sect_id: '',
sectProp: null,
paper_tube_description: '',
paperTubeDescription: '',
bucketProp: {},
structShow: false,
bucketObj: null,
@@ -337,9 +337,9 @@ export default {
debugger
this.form.tableMater = this.currentSelection
this.form.checked = row.material_code
this.form.sale_order_name = this.sale_order_name
this.form.sale_order_name = this.saleOrderName
await crudPackagerelation.updateEntityList(this.form)
const res = crudSubpackagerelation.queryContainerization({ 'sale_order_name': this.sale_order_name })
const res = crudSubpackagerelation.queryContainerization({ 'sale_order_name': this.saleOrderName })
this.openParam = res.content
this.clearSelection()
this.form.tableMater = []
@@ -349,7 +349,9 @@ export default {
divStruct() {
debugger
if (this.currentSelection.length > 0 && this.$refs.dis_table.selection.length > 0) {
this.paper_tube_description = this.currentSelection[0].paper_tube_description
debugger
const paper_description = this.currentSelection.filter(item => item.paper_tube_description !== null && item.paper_tube_description !== '')
this.paperTubeDescription = paper_description[0].paper_tube_description
this.structShow = true
this.$refs.child.getMsg(false)
} else {