WMS系统文件新增,NPM添加功能(kr-print-designer打印功能插件=》预计作为二维码条码使用) (moment时间简易处理插件)(stylus stylus-loader css样式预处理)
This commit is contained in:
36
src/components/WmsCustomerSelect/index.vue
Normal file
36
src/components/WmsCustomerSelect/index.vue
Normal file
@@ -0,0 +1,36 @@
|
||||
<template>
|
||||
<el-select placeholder="请选择客户" clearable v-model="customer">
|
||||
<el-option
|
||||
v-for="customer in customerList"
|
||||
:key="customer.id"
|
||||
:label="customer.customerName"
|
||||
:value="customer.id"
|
||||
></el-option>
|
||||
</el-select>
|
||||
</template>
|
||||
<script>
|
||||
import { mapGetters } from 'vuex';
|
||||
export default {
|
||||
props: ['value','size'],
|
||||
data() {
|
||||
return {
|
||||
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
...mapGetters(['customerList']),
|
||||
customer: {
|
||||
get() {
|
||||
return this.value;
|
||||
},
|
||||
set(v) {
|
||||
this.$emit('input', v);
|
||||
}
|
||||
}
|
||||
},
|
||||
created() {
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user