Merge remote-tracking branch 'origin/0.8.X' into 0.8.X
This commit is contained in:
@@ -267,15 +267,15 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="card-footer">
|
<div class="card-footer">
|
||||||
<el-button type="primary" icon="el-icon-check" size="mini" @click="handlePickMaterial(item)"
|
<el-button v-if="item.dataType == 1" type="primary" icon="el-icon-check" size="mini" @click="handlePickMaterial(item)"
|
||||||
:loading="item.picking" class="action-btn">领料</el-button>
|
:loading="item.picking" class="action-btn">领料</el-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 分页 -->
|
<!-- 分页 -->
|
||||||
<pagination v-show="materialTotal > 0" :total="materialTotal" :page.sync="materialQueryParams.pageNum"
|
<pagination v-show="materialTotal > 0" :total="materialTotal" :page.sync="form.pageNum"
|
||||||
:limit.sync="materialQueryParams.pageSize" @pagination="getMaterialCoil" />
|
:limit.sync="form.pageSize" @pagination="getMaterialCoil" />
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
@@ -320,6 +320,8 @@ export default {
|
|||||||
},
|
},
|
||||||
// 表单参数
|
// 表单参数
|
||||||
form: {
|
form: {
|
||||||
|
dataType: 1,
|
||||||
|
// materialType: '原料',
|
||||||
materialType: null,
|
materialType: null,
|
||||||
enterCoilNo: null,
|
enterCoilNo: null,
|
||||||
currentCoilNo: null,
|
currentCoilNo: null,
|
||||||
@@ -441,14 +443,14 @@ export default {
|
|||||||
},
|
},
|
||||||
/** 物料搜索 */
|
/** 物料搜索 */
|
||||||
handleMaterialQuery() {
|
handleMaterialQuery() {
|
||||||
this.materialQueryParams.pageNum = 1
|
this.form.pageNum = 1
|
||||||
this.getMaterialCoil()
|
this.getMaterialCoil()
|
||||||
},
|
},
|
||||||
/** 重置物料搜索 */
|
/** 重置物料搜索 */
|
||||||
resetMaterialQuery() {
|
resetMaterialQuery() {
|
||||||
this.resetForm('materialQueryForm')
|
this.resetForm('materialQueryForm')
|
||||||
this.materialQueryParams.enterCoilNo = null
|
this.form.enterCoilNo = null
|
||||||
this.materialQueryParams.currentCoilNo = null
|
this.form.currentCoilNo = null
|
||||||
this.handleMaterialQuery()
|
this.handleMaterialQuery()
|
||||||
},
|
},
|
||||||
/** 领料操作 */
|
/** 领料操作 */
|
||||||
|
|||||||
@@ -4,8 +4,7 @@
|
|||||||
<!-- 调整第一行结构,左侧内容扩大,右侧二维码减小边距 -->
|
<!-- 调整第一行结构,左侧内容扩大,右侧二维码减小边距 -->
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2" style="padding: 0; width: 50%;">
|
<td colspan="2" style="padding: 0; width: 50%;">
|
||||||
<div
|
<div style="
|
||||||
style="
|
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
align-items: space-evenly;
|
align-items: space-evenly;
|
||||||
@@ -15,48 +14,81 @@
|
|||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
">
|
">
|
||||||
<div style="display: flex; flex: 1; align-items: center;">
|
<div style="display: flex; flex: 1; align-items: center;">
|
||||||
<div style="flex: 1; height: 100%; display: flex; align-items: center; justify-content: center; border: 1px solid #333; box-sizing: border-box; padding: 3px; word-break: break-all; overflow-wrap: break-word;" class="label-cell">
|
<div
|
||||||
|
style="flex: 1; height: 100%; display: flex; align-items: center; justify-content: center; border: 1px solid #333; box-sizing: border-box; padding: 3px; word-break: break-all; overflow-wrap: break-word;"
|
||||||
|
class="label-cell">
|
||||||
料卷号
|
料卷号
|
||||||
</div>
|
</div>
|
||||||
<div style="flex: 1; height: 100%; display: flex; align-items: center; justify-content: center; border: 1px solid #333; box-sizing: border-box; padding: 3px; word-break: break-all; overflow-wrap: break-word;" class="value-cell">
|
<div
|
||||||
|
style="flex: 1; height: 100%; display: flex; align-items: center; justify-content: center; border: 1px solid #333; box-sizing: border-box; padding: 3px; word-break: break-all; overflow-wrap: break-word;"
|
||||||
|
class="value-cell">
|
||||||
{{ content.enterCoilNo || '' }}
|
{{ content.enterCoilNo || '' }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="display: flex; flex: 1; align-items: center;">
|
<div style="display: flex; flex: 1; align-items: center;">
|
||||||
<div style="flex: 1; height: 100%; display: flex; align-items: center; justify-content: center; border: 1px solid #333; box-sizing: border-box; padding: 3px; word-break: break-all; overflow-wrap: break-word;" class="label-cell">
|
<div
|
||||||
|
style="flex: 1; height: 100%; display: flex; align-items: center; justify-content: center; border: 1px solid #333; box-sizing: border-box; padding: 3px; word-break: break-all; overflow-wrap: break-word;"
|
||||||
|
class="label-cell">
|
||||||
|
厂家卷号
|
||||||
|
</div>
|
||||||
|
<div
|
||||||
|
style="flex: 1; height: 100%; display: flex; align-items: center; justify-content: center; border: 1px solid #333; box-sizing: border-box; padding: 3px; word-break: break-all; overflow-wrap: break-word;"
|
||||||
|
class="value-cell">
|
||||||
|
{{ content.supplierCoilNo || '' }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div style="display: flex; flex: 1; align-items: center;">
|
||||||
|
<div
|
||||||
|
style="flex: 1; height: 100%; display: flex; align-items: center; justify-content: center; border: 1px solid #333; box-sizing: border-box; padding: 3px; word-break: break-all; overflow-wrap: break-word;"
|
||||||
|
class="label-cell">
|
||||||
逻辑库区
|
逻辑库区
|
||||||
</div>
|
</div>
|
||||||
<div style="flex: 1; height: 100%; display: flex; align-items: center; justify-content: center; border: 1px solid #333; box-sizing: border-box; padding: 3px; word-break: break-all; overflow-wrap: break-word;" class="value-cell">
|
<div
|
||||||
|
style="flex: 1; height: 100%; display: flex; align-items: center; justify-content: center; border: 1px solid #333; box-sizing: border-box; padding: 3px; word-break: break-all; overflow-wrap: break-word;"
|
||||||
|
class="value-cell">
|
||||||
<input type="text" class="nob" :value="content.warehouseName || ''" />
|
<input type="text" class="nob" :value="content.warehouseName || ''" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="display: flex; flex: 1; align-items: center;">
|
<div style="display: flex; flex: 1; align-items: center;">
|
||||||
<div style="flex: 1; height: 100%; display: flex; align-items: center; justify-content: center; border: 1px solid #333; box-sizing: border-box; padding: 3px; word-break: break-all; overflow-wrap: break-word;" class="label-cell">
|
<div
|
||||||
|
style="flex: 1; height: 100%; display: flex; align-items: center; justify-content: center; border: 1px solid #333; box-sizing: border-box; padding: 3px; word-break: break-all; overflow-wrap: break-word;"
|
||||||
|
class="label-cell">
|
||||||
实际库区
|
实际库区
|
||||||
</div>
|
</div>
|
||||||
<div style="flex: 1; height: 100%; display: flex; align-items: center; justify-content: center; border: 1px solid #333; box-sizing: border-box; padding: 3px; word-break: break-all; overflow-wrap: break-word;" class="value-cell">
|
<div
|
||||||
|
style="flex: 1; height: 100%; display: flex; align-items: center; justify-content: center; border: 1px solid #333; box-sizing: border-box; padding: 3px; word-break: break-all; overflow-wrap: break-word;"
|
||||||
|
class="value-cell">
|
||||||
<input type="text" class="nob" :value="content.actualWarehouseName || ''" />
|
<input type="text" class="nob" :value="content.actualWarehouseName || ''" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="display: flex; flex: 1; align-items: center;">
|
<div style="display: flex; flex: 1; align-items: center;">
|
||||||
<div style="flex: 1; height: 100%; display: flex; align-items: center; justify-content: center; border: 1px solid #333; box-sizing: border-box; padding: 3px; word-break: break-all; overflow-wrap: break-word;" class="label-cell">
|
<div
|
||||||
|
style="flex: 1; height: 100%; display: flex; align-items: center; justify-content: center; border: 1px solid #333; box-sizing: border-box; padding: 3px; word-break: break-all; overflow-wrap: break-word;"
|
||||||
|
class="label-cell">
|
||||||
规格(mm)
|
规格(mm)
|
||||||
</div>
|
</div>
|
||||||
<div style="flex: 1; height: 100%; display: flex; align-items: center; justify-content: center; border: 1px solid #333; box-sizing: border-box; padding: 3px; word-break: break-all; overflow-wrap: break-word;" class="value-cell">
|
<div
|
||||||
|
style="flex: 1; height: 100%; display: flex; align-items: center; justify-content: center; border: 1px solid #333; box-sizing: border-box; padding: 3px; word-break: break-all; overflow-wrap: break-word;"
|
||||||
|
class="value-cell">
|
||||||
<input type="text" class="nob" :value="content.specification || ''" />
|
<input type="text" class="nob" :value="content.specification || ''" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="display: flex; flex: 1; align-items: center;">
|
<div style="display: flex; flex: 1; align-items: center;">
|
||||||
<div style="flex: 1; height: 100%; display: flex; align-items: center; justify-content: center; border: 1px solid #333; box-sizing: border-box; padding: 3px; word-break: break-all; overflow-wrap: break-word;" class="label-cell">
|
<div
|
||||||
|
style="flex: 1; height: 100%; display: flex; align-items: center; justify-content: center; border: 1px solid #333; box-sizing: border-box; padding: 3px; word-break: break-all; overflow-wrap: break-word;"
|
||||||
|
class="label-cell">
|
||||||
生产班组
|
生产班组
|
||||||
</div>
|
</div>
|
||||||
<div style="flex: 1; height: 100%; display: flex; align-items: center; justify-content: center; border: 1px solid #333; box-sizing: border-box; padding: 3px; word-break: break-all; overflow-wrap: break-word;" class="value-cell">
|
<div
|
||||||
|
style="flex: 1; height: 100%; display: flex; align-items: center; justify-content: center; border: 1px solid #333; box-sizing: border-box; padding: 3px; word-break: break-all; overflow-wrap: break-word;"
|
||||||
|
class="value-cell">
|
||||||
<input type="text" class="nob" :value="content.team || ''" />
|
<input type="text" class="nob" :value="content.team || ''" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td class="value-cell" colspan="4" style="width: 50%; padding: 2px; text-align: center; vertical-align: middle;">
|
<td class="value-cell" colspan="4"
|
||||||
|
style="width: 50%; padding: 2px; text-align: center; vertical-align: middle;">
|
||||||
<QRCode :content="content.qrcodeRecordId || ' '" :size="130" />
|
<QRCode :content="content.qrcodeRecordId || ' '" :size="130" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -235,19 +267,25 @@ export default {
|
|||||||
width: 25em;
|
width: 25em;
|
||||||
height: 20em;
|
height: 20em;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
display: flex; /* 启用Flex布局 */
|
display: flex;
|
||||||
flex-direction: column; /* 子元素垂直排列 */
|
/* 启用Flex布局 */
|
||||||
|
flex-direction: column;
|
||||||
|
/* 子元素垂直排列 */
|
||||||
font-family: "SimSun", serif;
|
font-family: "SimSun", serif;
|
||||||
box-sizing: border-box; /* 确保内边距/边框不影响总尺寸 */
|
box-sizing: border-box;
|
||||||
|
/* 确保内边距/边框不影响总尺寸 */
|
||||||
}
|
}
|
||||||
|
|
||||||
.material-label-table {
|
.material-label-table {
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
table-layout: fixed;
|
table-layout: fixed;
|
||||||
flex-grow: 1; /* 让表格拉伸,占满剩余垂直空间 */
|
flex-grow: 1;
|
||||||
height: 0; /* 配合flex-grow,自动计算高度 */
|
/* 让表格拉伸,占满剩余垂直空间 */
|
||||||
border: 1px solid #333; /* 确保表格有最外层边框 */
|
height: 0;
|
||||||
|
/* 配合flex-grow,自动计算高度 */
|
||||||
|
border: 1px solid #333;
|
||||||
|
/* 确保表格有最外层边框 */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 四列均分宽度,每列占25% */
|
/* 四列均分宽度,每列占25% */
|
||||||
@@ -299,14 +337,15 @@ export default {
|
|||||||
print-color-adjust: exact !important;
|
print-color-adjust: exact !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
html, body {
|
html,
|
||||||
|
body {
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
overflow: hidden !important;
|
overflow: hidden !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 隐藏所有其他内容,只显示标签容器 */
|
/* 隐藏所有其他内容,只显示标签容器 */
|
||||||
body > *:not(.material-label-container) {
|
body>*:not(.material-label-container) {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -169,6 +169,7 @@ export default {
|
|||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
dataType: 1,
|
dataType: 1,
|
||||||
createBy: 'suanzhakuguan',
|
createBy: 'suanzhakuguan',
|
||||||
|
// updateBy: 'suanzhakuguan',
|
||||||
warehouseId: '1988150099140866050'
|
warehouseId: '1988150099140866050'
|
||||||
}),
|
}),
|
||||||
// 镀锌原料库
|
// 镀锌原料库
|
||||||
@@ -180,6 +181,7 @@ export default {
|
|||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
dataType: 1,
|
dataType: 1,
|
||||||
createBy: 'suanzhakuguan',
|
createBy: 'suanzhakuguan',
|
||||||
|
// updateBy: 'suanzhakuguan',
|
||||||
warehouseId: '1988150263284953089'
|
warehouseId: '1988150263284953089'
|
||||||
}),
|
}),
|
||||||
// 脱脂原料库
|
// 脱脂原料库
|
||||||
|
|||||||
Reference in New Issue
Block a user