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>
|
||||
</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 {
|
||||
|
||||
@@ -67,10 +67,10 @@
|
||||
请仔细核对子卷与木箱规格是否匹配,
|
||||
<br>
|
||||
<br>
|
||||
<span class="red-text">木箱长度为:{{ this.box_length }}</span>,
|
||||
<span class="red-text">木箱长度为:{{ this.boxLength }}</span>,
|
||||
<br>
|
||||
<br>
|
||||
<span class="red-text">子卷规格为:{{ this.paper_tube_description }}</span>,
|
||||
<span class="red-text">子卷规格为:{{ this.paperTubeDescription }}</span>,
|
||||
<br>
|
||||
<br>
|
||||
点击确定后将立即生成木箱出库任务,无法更改!
|
||||
@@ -121,7 +121,7 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
box_length: '',
|
||||
boxLength: '',
|
||||
classes: [],
|
||||
dialogVisible: false,
|
||||
dialogVisible1: false,
|
||||
@@ -211,7 +211,7 @@ export default {
|
||||
submit() {
|
||||
debugger
|
||||
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) {
|
||||
this.$message('请先选择木箱信息')
|
||||
return
|
||||
|
||||
@@ -127,7 +127,7 @@
|
||||
<DivDialog
|
||||
:dialog-show.sync="divShow"
|
||||
:open-param="openParam"
|
||||
:sale_order_name="this.sale_order_name"
|
||||
:sale-order-name="this.saleOrderName"
|
||||
@childEvent="handleChildEvent"
|
||||
@AddChanged="querytable"
|
||||
/>
|
||||
@@ -198,7 +198,7 @@ export default {
|
||||
activeName: 'first',
|
||||
divShow: false,
|
||||
openParam: [],
|
||||
sale_order_name: null,
|
||||
saleOrderName: null,
|
||||
bussConfig: null,
|
||||
currentRow: null,
|
||||
dis_flag: true,
|
||||
@@ -224,15 +224,13 @@ export default {
|
||||
this.crud.toQuery()
|
||||
},
|
||||
async divOpen() {
|
||||
debugger
|
||||
this.sale_order_name = this.currentRow.sale_order_name
|
||||
this.saleOrderName = this.currentRow.sale_order_name
|
||||
const res = await crudSubpackagerelation.queryContainerization({ 'sale_order_name': this.currentRow.sale_order_name })
|
||||
this.openParam = res.content
|
||||
// this.divShow = true
|
||||
},
|
||||
divOpen1() {
|
||||
debugger
|
||||
this.sale_order_name = this.currentRow.sale_order_name
|
||||
this.saleOrderName = this.currentRow.sale_order_name
|
||||
crudSubpackagerelation.queryContainerization({ 'sale_order_name': this.currentRow.sale_order_name }).then(res => {
|
||||
this.openParam = res.content
|
||||
this.divShow = true
|
||||
|
||||
Reference in New Issue
Block a user