opt:优化子卷包装界面样式

This commit is contained in:
2024-05-17 10:28:18 +08:00
parent 0880386c3d
commit 58d0dfa279
3 changed files with 40 additions and 22 deletions

View File

@@ -66,7 +66,7 @@
:disabled="dis_flag"
icon="el-icon-position"
size="mini"
@click="divOpen"
@click="divOpen1"
>
分配
</el-button>
@@ -124,7 +124,13 @@
<!--分页组件-->
<pagination />
</div>
<DivDialog :dialog-show.sync="divShow" :open-param="openParam" :sale_order_name="this.sale_order_name" @childEvent="handleChildEvent" @AddChanged="querytable" />
<DivDialog
:dialog-show.sync="divShow"
:open-param="openParam"
:sale_order_name="this.sale_order_name"
@childEvent="handleChildEvent"
@AddChanged="querytable"
/>
</div>
</template>
@@ -217,7 +223,14 @@ export default {
this.query.status = tab.name === 'first' ? '99' : '0'
this.crud.toQuery()
},
divOpen() {
async divOpen() {
debugger
this.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.divShow = true
},
divOpen1() {
debugger
this.sale_order_name = this.currentRow.sale_order_name
crudSubpackagerelation.queryContainerization({ 'sale_order_name': this.currentRow.sale_order_name }).then(res => {
@@ -282,9 +295,11 @@ export default {
.custom-tabs {
margin-bottom: 0px; /* 调整垂直间距,根据需要调整数值 */
}
.custom-table {
margin-top: 0px; /* 调整垂直间距,根据需要调整数值 */
}
.tableAuto.el-table .cell {
white-space: nowrap;
}