You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
85 lines
2.0 KiB
85 lines
2.0 KiB
8 months ago
|
<template>
|
||
|
<div class="device-delivery-from">
|
||
|
<div class="from-input">
|
||
|
<div class="group-box">
|
||
|
<div class="from-row">
|
||
|
<div class="label">出库流向:</div>
|
||
|
<FormItemSelect
|
||
|
v-model="params.flow"
|
||
|
:options="[]"
|
||
|
placeholder="请选择出库流向"
|
||
|
keyTag="value"
|
||
|
labelTag="label"
|
||
|
:isShowLabel="false"
|
||
|
/>
|
||
|
</div>
|
||
|
<div class="from-row">
|
||
|
<div class="label">设备价格:</div>
|
||
|
<number-input v-model="params.cost" placeholder="请输入成本" />
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="group-box">
|
||
|
<div class="from-row">
|
||
|
<div class="label">备注:</div>
|
||
|
<el-input
|
||
|
type="textarea"
|
||
|
v-model="params.descr"
|
||
|
placeholder="请输入备注"
|
||
|
:autosize="{ minRows: 3, maxRows: 4 }"
|
||
|
/>
|
||
|
</div>
|
||
|
</div>
|
||
|
<EdfsButton inner-text="出库" type="success" class="save-button" />
|
||
|
</div>
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<script setup lang="ts">
|
||
|
import numberInput from '@/components/dashboard/Edfs-number-item-input.vue'
|
||
|
import EdfsButton from '@/components/dashboard/Edfs-button/index.vue'
|
||
|
import FormItemSelect from '@/components/dashboard/FormItemSelect.vue'
|
||
|
|
||
|
const params = ref({
|
||
|
flow: '',
|
||
|
cost: '',
|
||
|
descr: '',
|
||
|
})
|
||
|
</script>
|
||
|
|
||
|
<style scoped lang="scss">
|
||
|
.device-delivery-from {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
justify-content: space-around;
|
||
|
height: 100%;
|
||
|
width: 100%;
|
||
|
.from-input {
|
||
|
display: flex;
|
||
|
width: 100%;
|
||
|
column-gap: 30px;
|
||
|
flex-wrap: wrap;
|
||
|
.group-box {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
row-gap: 10px;
|
||
|
}
|
||
|
.from-row {
|
||
|
min-width: 270px;
|
||
|
display: flex;
|
||
|
min-height: 32px;
|
||
|
align-items: center;
|
||
|
.label {
|
||
|
white-space: nowrap;
|
||
|
width: 80px;
|
||
|
text-align: right;
|
||
|
color: var(--label-text);
|
||
|
margin-right: 8px;
|
||
|
}
|
||
|
}
|
||
|
.save-button {
|
||
|
margin-top: auto;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
</style>
|