|
|
|
@ -440,7 +440,7 @@
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="box in boxTypes"
|
|
|
|
|
:key="box.boxType"
|
|
|
|
|
:label="box.boxType"
|
|
|
|
|
:label="box.boxType + '【长:' + (box.length ? box.length : '') + ' 宽:' + (box.width ? box.width : '') + ' 高:' + (box.height ? box.height : '') + '】'"
|
|
|
|
|
:value="box.boxType"
|
|
|
|
|
></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
@ -896,7 +896,11 @@ export default {
|
|
|
|
|
this.open = true;
|
|
|
|
|
this.title = "添加产品信息";
|
|
|
|
|
// 请求 MesBox 列表数据
|
|
|
|
|
listMesBox().then((response) => {
|
|
|
|
|
let param ={
|
|
|
|
|
"pageNum":1,
|
|
|
|
|
"pageSize":"50"
|
|
|
|
|
}
|
|
|
|
|
listMesBox(param).then((response) => {
|
|
|
|
|
// 将返回的 boxType 数据赋值给 boxTypes
|
|
|
|
|
this.boxTypes = response.rows.map((item) => ({
|
|
|
|
|
boxType: item.boxType, // 假设返回数据的字段名为 boxType
|
|
|
|
@ -919,7 +923,11 @@ export default {
|
|
|
|
|
this.title = "修改产品信息";
|
|
|
|
|
});
|
|
|
|
|
// 请求 MesBox 列表数据
|
|
|
|
|
listMesBox().then((response) => {
|
|
|
|
|
let param ={
|
|
|
|
|
"pageNum":1,
|
|
|
|
|
"pageSize":"50"
|
|
|
|
|
}
|
|
|
|
|
listMesBox(param).then((response) => {
|
|
|
|
|
// 将返回的 boxType 数据赋值给 boxTypes
|
|
|
|
|
this.boxTypes = response.rows.map((item) => ({
|
|
|
|
|
boxType: item.boxType, // 假设返回数据的字段名为 boxType
|
|
|
|
|