opt: 1
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Logo from '@/assets/images/zgwk3.png'
|
||||
import Logo from '@/assets/images/zgwk2.png'
|
||||
import variables from '@/assets/styles/variables.scss'
|
||||
export default {
|
||||
name: 'SidebarLogo',
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
<el-table-column v-if="!isSingle" type="selection" width="55" :selectable="checkSelectable"/>
|
||||
<el-table-column v-if="isSingle" label="选择" width="55">
|
||||
<template slot-scope="scope">
|
||||
<el-radio v-model="tableRadio" :label="scope.row" :disabled="scope.row.struct_code !== 'YL'"><i /></el-radio>
|
||||
<el-radio v-model="tableRadio" :label="scope.row" :disabled="scope.row.stor_code !== 'YL'"><i /></el-radio>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="material_code" label="物料编码" width="160" />
|
||||
@@ -164,7 +164,9 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
clickChange(item) {
|
||||
this.tableRadio = item
|
||||
if (item.stor_code === 'YL') {
|
||||
this.tableRadio = item
|
||||
}
|
||||
},
|
||||
open() {
|
||||
crudBsrealstorattr.getStor().then(res => {
|
||||
@@ -204,7 +206,7 @@ export default {
|
||||
this.$emit('tableChanged', this.rows, this.flag)
|
||||
},
|
||||
checkSelectable(row, index) {
|
||||
return row.struct_code !== 'YL'
|
||||
return row.stor_code === 'YL'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -79,17 +79,17 @@
|
||||
<el-table-column v-if="!isSingle" type="selection" width="55" :selectable="checkSelectable"/>
|
||||
<el-table-column v-if="isSingle" label="选择" width="55">
|
||||
<template slot-scope="scope">
|
||||
<el-radio v-model="tableRadio" :label="scope.row" :disabled="scope.row.struct_code === 'YL'"><i /></el-radio>
|
||||
<el-radio v-model="tableRadio" :label="scope.row" :disabled="scope.row.stor_code === 'YL'"><i /></el-radio>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="material_code" label="物料编码" width="160" />
|
||||
<el-table-column prop="material_name" label="物料名称" width="180" show-overflow-tooltip />
|
||||
<el-table-column prop="pcsn" label="物料批次" width="180" show-overflow-tooltip />
|
||||
<el-table-column prop="material_spec" label="物料规格" width="140" />
|
||||
<el-table-column prop="struct_code" label="仓位编码" width="160" />
|
||||
<el-table-column prop="storagevehicle_code" label="载具编码" width="160" />
|
||||
<el-table-column prop="qty_unit_name" label="单位" width="160" />
|
||||
<el-table-column prop="supp_name" label="供应商" width="160" />
|
||||
<el-table-column prop="material_spec" label="物料规格" width="140" />
|
||||
<!-- <el-table-column prop="material_model" label="物料型号" width="140" />-->
|
||||
<el-table-column prop="update_name" label="修改人" />
|
||||
<el-table-column prop="update_time" label="修改时间" width="135" />
|
||||
@@ -193,7 +193,7 @@ export default {
|
||||
this.$emit('tableChanged', this.rows)
|
||||
},
|
||||
checkSelectable(row, index) {
|
||||
return row.struct_code === 'YL'
|
||||
return row.stor_code === 'YL'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user