Commit 913d7f9f by LJM

add

parent 89f55c93
......@@ -7,14 +7,14 @@
<el-autocomplete v-model="formParam.goods_name" :trigger-on-focus="false" @keyup.enter.native="onSubmit" :fetch-suggestions="querySearchAsync" placeholder="请输入型号" clearable></el-autocomplete>
</el-form-item>
<el-form-item label="类型" prop="type">
<el-select v-model="formParam.type" placeholder="全部" clearable multiple>
<el-select v-model="formParam.type" placeholder="全部" clearable>
<el-option label="全部" value=""></el-option>
<el-option label="寄售采购入库" value="1"></el-option>
<el-option label="寄售退货出库" value="2"></el-option>
</el-select>
</el-form-item>
<el-form-item label="状态" prop="status">
<el-select v-model="formParam.status" placeholder="全部" clearable multiple>
<el-select v-model="formParam.status" placeholder="全部" clearable>
<el-option label="全部" value="1"></el-option>
<el-option label="待付款申请" value="2"></el-option>
<el-option label="应付单进行中" value="3"></el-option>
......@@ -86,7 +86,8 @@ export default {
},
methods: {
getData() {
this.$http('GET', "/api/bill/getUnPayBillList", this.formParam).then(res => {
var params = Object.assign({}, this.formParam, {page: this.page, limit: this.limit});
this.$http('GET', "/api/bill/getUnPayBillList", params).then(res => {
if (res.code === 0) {
this.list = res.data.list || [];
this.total = Number(res.data.total) || 0;
......
......@@ -81,7 +81,8 @@ export default {
},
methods: {
getData() {
this.$http('GET', "/api/bill/getVerifiedBillList", this.formParam).then(res => {
var params = Object.assign({}, this.formParam, {page: this.page, limit: this.limit});
this.$http('GET', "/api/bill/getVerifiedBillList", params).then(res => {
if (res.code === 0) {
this.list = res.data.list || [];
this.total = Number(res.data.total) || 0;
......
......@@ -140,7 +140,8 @@ export default {
},
methods: {
getData() {
this.$http('GET', "/api/consignment/getConsignmentList", this.formParam).then(res => {
var params = Object.assign({}, this.formParam, {page: this.page, limit: this.limit});
this.$http('GET', "/api/consignment/getConsignmentList", params).then(res => {
if (res.code === 0) {
this.list = res.data.list || [];
this.total = Number(res.data.total) || 0;
......
<template>
<div class="pagex">
<div class="section-page">
<el-row v-if="detailData.consignment_sn">
<el-col :span="4">
<div class="">{{ detailData.consignment_sn }}{{ detailData.consignment_status_val }}</div>
</el-col>
<el-col :span="4">
<div class="">订单人员:{{ detailData.order_uname }}</div>
</el-col>
<el-col :span="4">
<div class="">发货状态:{{ detailData.deliver_status_val }}</div>
</el-col>
<el-col :span="4">
<div class="">入库状态:{{ detailData.stock_in_status_val }}</div>
</el-col>
</el-row>
<!-- 详情信息区 -->
<el-descriptions :column="4" border style="margin-bottom: 15px; width: 1200px;">
<el-descriptions-item label="寄售申请单号">
<span style="font-weight: bold">{{ detailData.consignment_sn }}{{ detailData.consignment_status_val }}</span>
</el-descriptions-item>
<el-descriptions-item label="订单人员:">{{ detailData.order_uname || '-' }}</el-descriptions-item>
<el-descriptions-item label="发货状态:">{{ detailData.deliver_status_val }}</el-descriptions-item>
<el-descriptions-item label="入库状态:">{{ detailData.stock_in_status_val }}</el-descriptions-item>
</el-descriptions>
<!--操作区-->
<div class="operation-area row verCenter bothSide" style="margin-top: 20px;">
<div class="operation-button row verCenter">
......
......@@ -71,7 +71,8 @@ export default {
},
methods: {
getData() {
this.$http('GET', "/api/consignmentContract/getConsignmentContractList", this.formParam).then(res => {
var params = Object.assign({}, this.formParam, {page: this.page, limit: this.limit});
this.$http('GET', "/api/consignmentContract/getConsignmentContractList", params).then(res => {
if (res.code === 0) {
this.list = res.data.list || [];
this.total = Number(res.data.total) || 0;
......
......@@ -80,12 +80,8 @@ export default {
},
methods: {
getData() {
var params = Object.assign({}, this.formParam,
{page: this.page, limit: this.limit},
{start_time: this.formParam.date ? this.formParam.date[0] : ''},
{end_time: this.formParam.date ? this.formParam.date[1] : ''}
);
this.$http('GET', "/api/message/getMsgList", params).then(res => {
var params = Object.assign({}, this.formParam, {page: this.page, limit: this.limit});
this.$http('GET', "/api/uploadSku/list", params).then(res => {
if (res.code === 0) {
this.list = res.data.list || [];
this.total = Number(res.data.total) || 0;
......
......@@ -164,7 +164,8 @@ export default {
},
methods: {
getData() {
this.$http('GET', "/api/consignmentRecall/getConsignmentRecallList", this.formParam).then(res => {
var params = Object.assign({}, this.formParam, {page: this.page, limit: this.limit});
this.$http('GET', "/api/consignmentRecall/getConsignmentRecallList", params).then(res => {
if (res.code === 0) {
this.list = res.data.list || [];
this.total = Number(res.data.total) || 0;
......
......@@ -70,7 +70,8 @@ export default {
},
methods: {
getData() {
this.$http('GET', "/api/consignmentReplenishment/getConsignmentReplenishmentList", this.formParam).then(res => {
var params = Object.assign({}, this.formParam, {page: this.page, limit: this.limit});
this.$http('GET', "/api/consignmentReplenishment/getConsignmentReplenishmentList", params).then(res => {
if (res.code === 0) {
this.list = res.data.list || [];
this.total = Number(res.data.total) || 0;
......
......@@ -71,6 +71,8 @@ export default {
getData() {
const params = {
...this.formParam,
page: this.page,
limit: this.limit,
types: this.formParam.types?.join(',') || ''
};
......
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