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

修改

parent 0311a71a
...@@ -334,9 +334,6 @@ ...@@ -334,9 +334,6 @@
prop="packType" prop="packType"
width="120" 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>
<el-table-column <el-table-column
label="包装单位" label="包装单位"
...@@ -637,24 +634,12 @@ export default { ...@@ -637,24 +634,12 @@ export default {
packBySize: "", packBySize: "",
purchaseOrg: "", purchaseOrg: "",
}, },
packOption: [],
currentRowIdx: undefined, currentRowIdx: undefined,
}; };
}, },
created() { created() {
this.getWorkOrderSoDirectivePkgRequireTypeEnum()
}, },
methods: { 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) { handleSelectionChange(val) {
this.selection = 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