员工管理界面优化

master
wjq 8 months ago
parent c3122c027b
commit 697e052991

@ -8,10 +8,10 @@
</div>
<div style="display: flex">
<a-button class="editable-btn" @click="handleSubmit('in')">
入库商品
货品入库
</a-button>
<a-button class="editable-btn" @click="handleSubmit('out')">
出库商品
货品出库
</a-button>
<download-excel
class="export-excel-wrapper"
@ -31,7 +31,7 @@
<a-table :loading="loading" :columns="columns" :data-source="data" rowKey="id">
<a slot="name" slot-scope="text">{{ text }}</a>
<span slot="customTitle"><a-icon type="smile-o"/> 品名</span>
<span slot="customTitle"><a-icon type="smile-o"/> 品名</span>
<span slot="count" slot-scope="count">
<a-tag color="#108ee9">{{ count }}</a-tag>
</span>
@ -45,14 +45,14 @@
@cancel="visible = false"
>
<a-form-model :model="form">
<a-form-model-item label="请选品">
<a-select v-model="selectIndex" placeholder="请选择入库的商品">
<a-form-model-item label="请选品">
<a-select v-model="selectIndex" placeholder="请选择入库的货物">
<a-select-option :value="index" v-for="(item, index) in commodityList" :key="index">
{{ item.name }}
</a-select-option>
</a-select>
</a-form-model-item>
<a-form-model-item label="品数量">
<a-form-model-item label="品数量">
<a-input-number id="inputNumber" v-model="form.count" :min="1"/>
</a-form-model-item>
<a-form-model-item label="备注">
@ -81,7 +81,7 @@ import InventoryRecords from "../../components/InventoryRecords";
const columns = [
{
title: '品ID',
title: '品ID',
dataIndex: 'id',
key: 'id',
width: '50%'
@ -107,8 +107,8 @@ export default {
data() {
return {
json_fields: {
"品ID": "cid",
"品名称": "name",
"品ID": "cid",
"品名称": "name",
"库存盘点数量": "count",
},
id: this.$route.params.id,

Loading…
Cancel
Save