fix:修复前端子卷规格无法显示问题
This commit is contained in:
@@ -107,7 +107,7 @@
|
|||||||
<el-table-column show-overflow-tooltip prop="paper_tube_description" label="子卷规格" align="center" />
|
<el-table-column show-overflow-tooltip prop="paper_tube_description" label="子卷规格" align="center" />
|
||||||
</el-table>
|
</el-table>
|
||||||
</el-card>
|
</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>
|
</el-dialog>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -166,7 +166,7 @@ export default {
|
|||||||
stor_id: '',
|
stor_id: '',
|
||||||
sect_id: '',
|
sect_id: '',
|
||||||
sectProp: null,
|
sectProp: null,
|
||||||
paper_tube_description: '',
|
paperTubeDescription: '',
|
||||||
bucketProp: {},
|
bucketProp: {},
|
||||||
structShow: false,
|
structShow: false,
|
||||||
bucketObj: null,
|
bucketObj: null,
|
||||||
@@ -337,9 +337,9 @@ export default {
|
|||||||
debugger
|
debugger
|
||||||
this.form.tableMater = this.currentSelection
|
this.form.tableMater = this.currentSelection
|
||||||
this.form.checked = row.material_code
|
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)
|
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.openParam = res.content
|
||||||
this.clearSelection()
|
this.clearSelection()
|
||||||
this.form.tableMater = []
|
this.form.tableMater = []
|
||||||
@@ -349,7 +349,9 @@ export default {
|
|||||||
divStruct() {
|
divStruct() {
|
||||||
debugger
|
debugger
|
||||||
if (this.currentSelection.length > 0 && this.$refs.dis_table.selection.length > 0) {
|
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.structShow = true
|
||||||
this.$refs.child.getMsg(false)
|
this.$refs.child.getMsg(false)
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -67,10 +67,10 @@
|
|||||||
请仔细核对子卷与木箱规格是否匹配,
|
请仔细核对子卷与木箱规格是否匹配,
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<span class="red-text">木箱长度为:{{ this.box_length }}</span>,
|
<span class="red-text">木箱长度为:{{ this.boxLength }}</span>,
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<span class="red-text">子卷规格为:{{ this.paper_tube_description }}</span>,
|
<span class="red-text">子卷规格为:{{ this.paperTubeDescription }}</span>,
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
点击确定后将立即生成木箱出库任务,无法更改!
|
点击确定后将立即生成木箱出库任务,无法更改!
|
||||||
@@ -121,7 +121,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
box_length: '',
|
boxLength: '',
|
||||||
classes: [],
|
classes: [],
|
||||||
dialogVisible: false,
|
dialogVisible: false,
|
||||||
dialogVisible1: false,
|
dialogVisible1: false,
|
||||||
@@ -211,7 +211,7 @@ export default {
|
|||||||
submit() {
|
submit() {
|
||||||
debugger
|
debugger
|
||||||
this.rows = this.$refs.table.selection
|
this.rows = this.$refs.table.selection
|
||||||
this.box_length = this.rows[0].box_length
|
this.boxLength = this.rows[0].box_length
|
||||||
if (this.rows.length <= 0) {
|
if (this.rows.length <= 0) {
|
||||||
this.$message('请先选择木箱信息')
|
this.$message('请先选择木箱信息')
|
||||||
return
|
return
|
||||||
|
|||||||
@@ -127,7 +127,7 @@
|
|||||||
<DivDialog
|
<DivDialog
|
||||||
:dialog-show.sync="divShow"
|
:dialog-show.sync="divShow"
|
||||||
:open-param="openParam"
|
:open-param="openParam"
|
||||||
:sale_order_name="this.sale_order_name"
|
:sale-order-name="this.saleOrderName"
|
||||||
@childEvent="handleChildEvent"
|
@childEvent="handleChildEvent"
|
||||||
@AddChanged="querytable"
|
@AddChanged="querytable"
|
||||||
/>
|
/>
|
||||||
@@ -198,7 +198,7 @@ export default {
|
|||||||
activeName: 'first',
|
activeName: 'first',
|
||||||
divShow: false,
|
divShow: false,
|
||||||
openParam: [],
|
openParam: [],
|
||||||
sale_order_name: null,
|
saleOrderName: null,
|
||||||
bussConfig: null,
|
bussConfig: null,
|
||||||
currentRow: null,
|
currentRow: null,
|
||||||
dis_flag: true,
|
dis_flag: true,
|
||||||
@@ -224,15 +224,13 @@ export default {
|
|||||||
this.crud.toQuery()
|
this.crud.toQuery()
|
||||||
},
|
},
|
||||||
async divOpen() {
|
async divOpen() {
|
||||||
debugger
|
this.saleOrderName = this.currentRow.sale_order_name
|
||||||
this.sale_order_name = this.currentRow.sale_order_name
|
|
||||||
const res = await crudSubpackagerelation.queryContainerization({ 'sale_order_name': this.currentRow.sale_order_name })
|
const res = await crudSubpackagerelation.queryContainerization({ 'sale_order_name': this.currentRow.sale_order_name })
|
||||||
this.openParam = res.content
|
this.openParam = res.content
|
||||||
// this.divShow = true
|
// this.divShow = true
|
||||||
},
|
},
|
||||||
divOpen1() {
|
divOpen1() {
|
||||||
debugger
|
this.saleOrderName = this.currentRow.sale_order_name
|
||||||
this.sale_order_name = this.currentRow.sale_order_name
|
|
||||||
crudSubpackagerelation.queryContainerization({ 'sale_order_name': this.currentRow.sale_order_name }).then(res => {
|
crudSubpackagerelation.queryContainerization({ 'sale_order_name': this.currentRow.sale_order_name }).then(res => {
|
||||||
this.openParam = res.content
|
this.openParam = res.content
|
||||||
this.divShow = true
|
this.divShow = true
|
||||||
|
|||||||
Reference in New Issue
Block a user