刘璐珈

This commit is contained in:
Vergil
2020-02-26 18:12:42 +08:00
parent 00a2116efe
commit 0b6cb6f55a
12 changed files with 460 additions and 254 deletions

View File

@@ -4,10 +4,14 @@
<el-input v-model="invoiceNumber" placeholder="发货单号和收货单位" clearable style="width: 200px;margin-right: 10px" size="small" @keyup.enter.native="openSearch"/>
<!--<el-input v-model="receivingUnit" placeholder="请输入收货单位" clearable style="width: 150px;margin-right: 10px" size="mini"/>-->
<el-button type="primary" icon="el-icon-search" size="mini" style="margin-left: 10px" plain @click="openSearch">查询</el-button>
<InputNumberNew
v-model="invoiceNumber"
placeholder="请输入数字"
/>
</el-card>
<el-card>
<el-col :span="10">
<el-table :data="tableDataSearchList" style="width: 100%" height="600" border stripe size="mini" highlight-current-row @row-click="searchListItem">
<el-col :span="12">
<el-table :data="tableDataSearchList" style="width: 100%" height="640" border stripe size="mini" highlight-current-row @row-click="searchListItem">
<el-table-column align="center" label="状态" width="60px">
<template slot-scope="scope">
<span v-if="scope.row.是否发出.toString() === '1'" style="color: green">已发出</span>
@@ -19,12 +23,12 @@
{{ scope.row.发货单编号 }}
</template>
</el-table-column>
<el-table-column align="center" label="发货单名" width="100px">
<el-table-column align="center" label="发货单名" width="90px">
<template slot-scope="scope">
{{ scope.row.发货单名称 }}
</template>
</el-table-column>
<el-table-column align="center" label="收货单位" width="180px" show-overflow-tooltip="">
<el-table-column align="center" label="收货单位" width="160px" show-overflow-tooltip="">
<template slot-scope="scope">
{{ scope.row.收货单位 }}
</template>
@@ -39,7 +43,7 @@
{{ scope.row.收货地址 }}
</template>
</el-table-column>
<el-table-column align="center" label="联系电话" width="110px">
<el-table-column align="center" label="联系电话" width="100px">
<template slot-scope="scope">
{{ scope.row.联系电话 }}
</template>
@@ -59,12 +63,12 @@
{{ scope.row.司机电话 }}
</template>
</el-table-column>
<el-table-column align="center" label="制单人" width="100px">
<el-table-column align="center" label="制单人" width="80px">
<template slot-scope="scope">
{{ scope.row.制单人 }}
</template>
</el-table-column>
<el-table-column align="center" label="发货时间" width="110px">
<el-table-column align="center" label="发货时间" width="90px">
<template slot-scope="scope">
<span v-if="scope.row.发出时间 === null"/>
<span v-else>{{ scope.row.发出时间.substr(0,10) }}</span>
@@ -72,49 +76,51 @@
</el-table-column>
</el-table>
</el-col>
<el-col :span="14">
<el-table v-loading="listLoading" :data="tableData" highlight-current-row style="width: 100%" height="560" border size="mini">
<el-table-column align="center" label="货品类别" width="80">
<template slot-scope="scope">
<span effect="dark" size="small" type="success">{{ scope.row.货品类别 }}</span>
</template>
</el-table-column>
<el-table-column align="center" label="货品编号">
<template slot-scope="scope">
{{ scope.row.货品编号 }}
</template>
</el-table-column>
<el-table-column align="center" label="货品名称" width="150px">
<template slot-scope="scope">
{{ scope.row.货品名称 }}
</template>
</el-table-column>
<el-table-column align="center" label="货品规格">
<template slot-scope="scope">
{{ scope.row.货品规格 }}
</template>
</el-table-column>
<el-table-column align="center" label="货品型号">
<template slot-scope="scope">
{{ scope.row.货品型号 }}
</template>
</el-table-column>
<el-table-column align="center" label="数量" width="100">
<template slot-scope="scope">
<!--<template v-if="disabledPick === false">-->
<!--<el-input-number v-model="scope.row.数量" :min="1" label="描述文字" size="mini" controls-position="right" style="width:100px" @change="handleChange"/>-->
<!--</template>-->
<el-col :span="12">
<el-card>
<el-table v-loading="listLoading" :data="tableData" highlight-current-row style="width: 100%" height="640" border size="mini">
<el-table-column align="center" label="货品类别" width="80">
<template slot-scope="scope">
{{ scope.row.数量 }}
<span effect="dark" size="small" type="success">{{ scope.row.货品类别 }}</span>
</template>
</template>
</el-table-column>
<el-table-column align="center" label="设计者" width="80">
<template slot-scope="scope">
{{ scope.row.设计者 }}
</template>
</el-table-column>
</el-table>
</el-table-column>
<el-table-column align="center" label="货品编号">
<template slot-scope="scope">
{{ scope.row.货品编号 }}
</template>
</el-table-column>
<el-table-column align="center" label="货品名称" width="150px">
<template slot-scope="scope">
{{ scope.row.货品名称 }}
</template>
</el-table-column>
<el-table-column align="center" label="货品规格">
<template slot-scope="scope">
{{ scope.row.货品规格 }}
</template>
</el-table-column>
<el-table-column align="center" label="货品型号">
<template slot-scope="scope">
{{ scope.row.货品型号 }}
</template>
</el-table-column>
<el-table-column align="center" label="数量" width="100">
<template slot-scope="scope">
<!--<template v-if="disabledPick === false">-->
<!--<el-input-number v-model="scope.row.数量" :min="1" label="描述文字" size="mini" controls-position="right" style="width:100px" @change="handleChange"/>-->
<!--</template>-->
<template slot-scope="scope">
{{ scope.row.数量 }}
</template>
</template>
</el-table-column>
<el-table-column align="center" label="设计者" width="80">
<template slot-scope="scope">
{{ scope.row.设计者 }}
</template>
</el-table-column>
</el-table>
</el-card>
</el-col>
</el-card>
</div>