|
@@ -151,6 +151,12 @@ export default {
|
|
{
|
|
{
|
|
label: "包装要求",
|
|
label: "包装要求",
|
|
prop: "packageRemarks",
|
|
prop: "packageRemarks",
|
|
|
|
+ type: "select",
|
|
|
|
+ dicData: [],
|
|
|
|
+ props: {
|
|
|
|
+ label: 'dictValue',
|
|
|
|
+ value: 'dictValue'
|
|
|
|
+ },
|
|
search: true,
|
|
search: true,
|
|
overHidden: true,
|
|
overHidden: true,
|
|
},
|
|
},
|
|
@@ -169,11 +175,16 @@ export default {
|
|
this.option.column.forEach(item => {
|
|
this.option.column.forEach(item => {
|
|
if (item.search) i++
|
|
if (item.search) i++
|
|
})
|
|
})
|
|
|
|
+ this.getWorkDicts("packageRemarks").then(res => {
|
|
|
|
+ this.findObject(this.defaultOption.column, "packageRemarks").dicData =
|
|
|
|
+ res.data.data;
|
|
|
|
+ });
|
|
if (i % 3 !== 0) {
|
|
if (i % 3 !== 0) {
|
|
const num = 3 - Number(i % 3)
|
|
const num = 3 - Number(i % 3)
|
|
this.option.searchMenuSpan = num * 8;
|
|
this.option.searchMenuSpan = num * 8;
|
|
this.option.searchMenuPosition = "right";
|
|
this.option.searchMenuPosition = "right";
|
|
}
|
|
}
|
|
|
|
+
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
cellStyle() {
|
|
cellStyle() {
|