Commit 6544992a by chenwq

fix(allocation): 调整表格列宽及修复调拨详情弹窗样式

- 调整调拨列表页收货人电话列宽度从130px增至140px
- 为调拨详情弹窗状态标签添加右边距,优化视觉间距
- 为调拨详情弹窗容器添加最大高度限制,防止内容溢出
- 修复调拨新增页库存字段显示逻辑,从stock改为outStockQty
- 修正调拨新增页提交参数结构,确保收货信息和备注正确传递
1 parent 71bde735
......@@ -196,9 +196,9 @@ export default {
},
{
label: '库存',
prop: 'stock',
prop: 'outStockQty',
formatter: cellValue => {
return cellValue.stock || cellValue.stock == 0 ? parseFloat(cellValue.stock).toFixed(2) + (this.$membraneTypeList.includes(cellValue.goodsType) ? '米' : '件') : '-'
return cellValue.outStockQty || cellValue.outStockQty == 0 ? parseFloat(cellValue.outStockQty).toFixed(2) + (this.$membraneTypeList.includes(cellValue.goodsType) ? '米' : '件') : '-'
}
},
{
......@@ -625,11 +625,13 @@ export default {
var params = {}
params = {
...params,
...data,
...this.editAllocationForm
...this.editAllocationForm,
receiver: data.receiver || '',
phone: data.phone || '',
address: data.address || '',
remark: data.remark || ''
}
params.stockCheckDetailList = this.chooseDataList
params.remark = data.remark || ''
console.log(params, 'params')
// 调不同按钮的方法
this.handleConfirm(params, btnType)
......
......@@ -4,7 +4,7 @@
<div>
<div>
单据状态:
<span :class="billStatusName()" />
<span :class="billStatusName()" style="margin-right: 4px;" />
{{ baseData.billStatusObj[allocationInfo.billStatus]?.name || '-' }}
</div>
<div class="receipt-box">
......@@ -145,12 +145,19 @@ export default {
margin-top: 20vh !important;
min-width: 700px;
}
/* 深度选择器不生效时,可改用 ::v-deep 或 :deep() 写法 */
.inventoryDetailDailog {
/deep/.el-dialog__body {
max-height: 800px;
}
}
.receipt-box {
display: flex;
margin-top: 9.5px;
color: #666666;
font-size: 14px;
line-height: 16px;
.receiver {
display: flex;
width: 210px;
......
......@@ -249,7 +249,7 @@ export default {
{
label: '收货人电话',
prop: 'phone',
width: 130
width: 140
},
{
label: '收货地址',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!