Commit bbacdebb authored by 沈翠玲's avatar 沈翠玲

修改

parent 0311a71a
......@@ -334,9 +334,6 @@
prop="packType"
width="120"
>
<template slot-scope="scope">
{{ packOption.find(v => v.value === scope.row.packType) ? packOption.find(v => v.value === scope.row.packType).name : '' }}
</template>
</el-table-column>
<el-table-column
label="包装单位"
......@@ -637,24 +634,12 @@ export default {
packBySize: "",
purchaseOrg: "",
},
packOption: [],
currentRowIdx: undefined,
};
},
created() {
this.getWorkOrderSoDirectivePkgRequireTypeEnum()
},
methods: {
getWorkOrderSoDirectivePkgRequireTypeEnum (){
getWorkOrderSoDirectivePkgRequireTypeEnum().then((res)=>{
if(res.code === 200) {
Object.keys(res.data).forEach(item => {
this.packOption.push({name: res.data[item], value: item})
})
}
})
},
/**多选 */
handleSelectionChange(val) {
this.selection = val;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment