Commit 67af80b3 by LJM

Merge branch 'feature/ljm/20230608'

parents 546199c4 9a3017a7
Showing with 41 additions and 23 deletions
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<section class="goods pagex"> <section class="goods pagex">
<div class="goods-con"> <div class="goods-con">
<!--搜索区--> <!--搜索区-->
<el-form :inline="true" :model="formInline" ref="formInline" label-width="100px"> <el-form :inline="true" :model="formInline" ref="formInline" label-width="100px">
<el-form-item label="发货单号" prop="stock_in_sn"> <el-form-item label="发货单号" prop="stock_in_sn">
<el-input v-model="formInline.stock_in_sn" placeholder="请输入发货单号" clearable></el-input> <el-input v-model="formInline.stock_in_sn" placeholder="请输入发货单号" clearable></el-input>
</el-form-item> </el-form-item>
...@@ -30,10 +30,10 @@ ...@@ -30,10 +30,10 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="创建时间"> <el-form-item label="创建时间">
<el-date-picker :unlink-panels=true style="width:193px" prefix-icon="prefix-icon-time-style" v-model="create_time_val" value-format="yyyy-MM-dd" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"></el-date-picker> <el-date-picker :unlink-panels=true style="width:193px" prefix-icon="prefix-icon-time-style" v-model="create_time_val" value-format="yyyy-MM-dd" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"></el-date-picker>
</el-form-item> </el-form-item>
<el-form-item label="质检时间"> <el-form-item label="质检时间">
<el-date-picker :unlink-panels=true style="width:193px" prefix-icon="prefix-icon-time-style" v-model="qc_time_val" value-format="yyyy-MM-dd" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"></el-date-picker> <el-date-picker :unlink-panels=true style="width:193px" prefix-icon="prefix-icon-time-style" v-model="qc_time_val" value-format="yyyy-MM-dd" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"></el-date-picker>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" @click="submit">查询</el-button> <el-button type="primary" @click="submit">查询</el-button>
...@@ -54,27 +54,45 @@ ...@@ -54,27 +54,45 @@
<div class="data-box th-all" v-if="tableData"> <div class="data-box th-all" v-if="tableData">
<el-table :data="tableData" border max-height="600" @selection-change="handleSelectionChange"> <el-table :data="tableData" border max-height="600" @selection-change="handleSelectionChange">
<el-table-column fixed type="selection" width="40" align="center"></el-table-column> <el-table-column fixed type="selection" width="40" align="center"></el-table-column>
<el-table-column prop="stock_in_sn" label="发货单号" width="160" :show-overflow-tooltip="true"></el-table-column> <el-table-column label="发货信息">
<el-table-column prop="goods_name" label="型号" min-width="150" :show-overflow-tooltip="true" align="center"></el-table-column> <el-table-column prop="stock_in_sn" label="发货单号" width="160" :show-overflow-tooltip="true"></el-table-column>
<el-table-column prop="brand_name" label="品牌" min-width="150" :show-overflow-tooltip="true" align="center"></el-table-column> <el-table-column prop="goods_name" label="型号" min-width="150" :show-overflow-tooltip="true" align="center"></el-table-column>
<el-table-column prop="out_qty" label="发货数量" min-width="80" :show-overflow-tooltip="true" align="center"></el-table-column> <el-table-column prop="brand_name" label="品牌" min-width="150" :show-overflow-tooltip="true" align="center"></el-table-column>
<el-table-column prop="in_qty" label="到货数量" min-width="80" :show-overflow-tooltip="true" align="center"></el-table-column> <el-table-column prop="out_qty" label="发货数量" min-width="80" :show-overflow-tooltip="true" align="center"></el-table-column>
<el-table-column prop="status_val" label="状态" min-width="80" :show-overflow-tooltip="true" align="center"> <el-table-column prop="in_qty" label="到货数量" min-width="80" :show-overflow-tooltip="true" align="center"></el-table-column>
<template slot-scope="scope"> <el-table-column prop="status_val" label="状态" min-width="100" :show-overflow-tooltip="true" align="center">
<el-tag type="success" v-if="scope.row.status == 2 " disable-transitions>{{ scope.row.status_val }}</el-tag> <template slot-scope="scope">
<el-tag type="primary" v-else-if="scope.row.status == 1 " disable-transitions>{{ scope.row.status_val }}</el-tag> <el-tag type="success" v-if="scope.row.status == 2 " disable-transitions>{{ scope.row.status_val }}</el-tag>
<el-tag type="info" v-else-if="scope.row.status == -3 " disable-transitions>{{ scope.row.status_val }}</el-tag> <el-tag type="primary" v-else-if="scope.row.status == 1 " disable-transitions>{{ scope.row.status_val }}</el-tag>
<el-tag type="primary" v-else>{{ scope.row.status_val }}</el-tag> <el-tag type="info" v-else-if="scope.row.status == -3 " disable-transitions>{{ scope.row.status_val }}</el-tag>
<el-tooltip :aa="scope" class="item" effect="dark" placement="top-start"> <el-tag type="primary" v-else>{{ scope.row.status_val }}</el-tag>
<i class="el-icon-question" style="color:#ff7e11;margin-left:5px;cursor:pointer;font-size:16px;"></i> <el-tooltip :aa="scope" class="item" effect="dark" placement="top-start">
<div slot="content">{{ scope.row.status_tips }}</div> <i class="el-icon-question" style="color:#ff7e11;margin-left:5px;cursor:pointer;font-size:16px;"></i>
</el-tooltip> <div slot="content">{{ scope.row.status_tips }}</div>
</template> </el-tooltip>
</template>
</el-table-column>
<el-table-column prop="shipping_name" label="物流公司" min-width="80" align="center"></el-table-column>
<el-table-column prop="create_name" label="创建人" min-width="100" align="center"></el-table-column>
<el-table-column prop="purchase_name" label="订单人员" min-width="100" align="center"></el-table-column>
<el-table-column prop="create_time" label="创建时间" width="150" align="center"></el-table-column>
</el-table-column>
<el-table-column label="质检信息">
<el-table-column prop="qc_type_val" label="质检结果" width="100">
<template slot-scope="scope">
<template v-if="scope.row.qc_type_val">
<span>{{ scope.row.qc_type_val }}</span>
<el-tooltip :aa="scope" class="item" effect="dark" placement="top-start">
<i class="el-icon-question" style="color:#ff7e11;margin-left:5px;cursor:pointer;font-size:16px;"></i>
<div slot="content">{{ scope.row.qc_type_tips }}</div>
</el-tooltip>
</template>
</template>
</el-table-column>
<el-table-column prop="package" label="封装" width="100" align="center"></el-table-column>
<el-table-column prop="silk_screen" label="丝印" width="100" align="center"></el-table-column>
<el-table-column prop="qc_time" label="质检时间" width="150" align="center"></el-table-column>
</el-table-column> </el-table-column>
<el-table-column prop="shipping_name" label="物流公司" min-width="80" align="center"></el-table-column>
<el-table-column prop="create_name" label="创建人" min-width="100" align="center"></el-table-column>
<el-table-column prop="purchase_name" label="订单人员" min-width="100" align="center"></el-table-column>
<el-table-column prop="create_time" label="创建时间" width="150" align="center"></el-table-column>
</el-table> </el-table>
<el-pagination layout="total, sizes, prev, pager, next, jumper" :page-sizes="[10, 20, 50, 100, 200]" :total="total" @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="page"></el-pagination> <el-pagination layout="total, sizes, prev, pager, next, jumper" :page-sizes="[10, 20, 50, 100, 200]" :total="total" @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="page"></el-pagination>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment