Browse Source

签收、商配页面调整

dev-warehouse
kilo 2 years ago
parent
commit
c381e17a1a
  1. 15
      src/api/distribution/distributionDeliveryList.js
  2. 9
      src/views/distribution/deliverylist/distributionDeliveryListdis.vue
  3. 2331
      src/views/distribution/deliverylist/distributionDeliveryListedt.vue
  4. 84
      src/views/distribution/deliverylist/distributionDeliveryListmar.vue
  5. 6
      src/views/distribution/reservation/atlas1.vue
  6. 113
      src/views/distribution/reservation/reservation.vue
  7. 88
      src/views/distribution/signfor/distributionSignfortreat.vue
  8. 8
      src/views/distribution/turndelivery/deliveryDiscuss.vue

15
src/api/distribution/distributionDeliveryList.js

@ -163,5 +163,20 @@ export const updateDeliveryList = (data) => {
})
}
/**
* 查询配送任务订单地图信息
* @param data
* @returns {AxiosPromise}
*/
export const selectStockArticleAtlasInfo = (id) => {
return request({
url: '/api/logpm-distribution/deliveryList/selectStockArticleAtlasInfo',
method: 'get',
params: {
id,
}
})
}

9
src/views/distribution/deliverylist/distributionDeliveryListdis.vue

@ -2,11 +2,12 @@
<basic-container>
<div class="avue-crud">
<el-row :gutter="24" class="rows">
<el-col :xl="14" :lg="7" :md="8" :sm="24" >
<span style="padding-left: 10%" >配送总车次{{statistics.vehiclesNub}}/总包件数{{statistics.deliveriesTotal}}/总库存品数{{statistics.dinventoryTotal}} </span>
</el-col>
<!-- <el-col :xl="14" :lg="7" :md="8" :sm="24" >-->
<!-- <span style="padding-left: 10%" >配送总车次{{statistics.vehiclesNub}}/总包件数{{statistics.deliveriesTotal}}/总库存品数{{statistics.dinventoryTotal}} </span>-->
<!-- </el-col>-->
<el-col :xl="10" :lg="7" :md="8" :sm="24">
<span>商配总车次{{statistics.commercialNub}}/总包件数{{statistics.commercialTotal}}/总库存品数{{statistics.cinventoryTotal}} </span>
<!-- /{{statistics.cinventoryTotal}}-->
<span>商配总车次{{statistics.commercialNub}}/总包件数{{statistics.commercialTotal}} </span>
</el-col>
</el-row>
<el-row style="margin-top: 30px">

2331
src/views/distribution/deliverylist/distributionDeliveryListedt.vue

File diff suppressed because it is too large Load Diff

84
src/views/distribution/deliverylist/distributionDeliveryListmar.vue

@ -3,9 +3,9 @@
<div class="avue-crud">
<el-row :gutter="24" class="rows">
<el-col :xl="14" :lg="7" :md="8" :sm="24" >
<span style="padding-left: 10%" >配送总车次{{statistics.vehiclesNub}}/总包件数{{statistics.deliveriesTotal}}/总库存品数{{statistics.dinventoryTotal}} </span>
</el-col>
<!-- <el-col :xl="14" :lg="7" :md="8" :sm="24" >-->
<!-- <span style="padding-left: 10%" >配送总车次{{statistics.vehiclesNub}}/总包件数{{statistics.deliveriesTotal}}/总库存品数{{statistics.dinventoryTotal}} </span>-->
<!-- </el-col>-->
<el-col :xl="10" :lg="7" :md="8" :sm="24">
<span>市配总车次{{statistics.marketNub}}/总包件数{{statistics.marketTotal}}/总库存品数{{statistics.minventoryTotal}}</span>
</el-col>
@ -234,16 +234,16 @@ export default {
fixed: false,
sortable: true,
},
{
prop: 'kind',
label: '配送种类',
type: 3,
values: '',
width: '180',
checkarr: [],
fixed: false,
sortable: true,
},
// {
// prop: 'kind',
// label: '',
// type: 3,
// values: '',
// width: '180',
// checkarr: [],
// fixed: false,
// sortable: true,
// },
{
prop: 'kindName',
label: '配送种类',
@ -293,34 +293,34 @@ export default {
fixed: false,
sortable: true,
},
{
prop: 'deliveryStatus',
label: '配送状态',
type: 3,
values: '',
width: '150',
checkarr: [
{
label: '待配送',
value: '1',
},
{
label: '装车',
value: '2'
},
{
label: '配送中',
value: '3'
},
{
label: '已完成',
value: '4'
},
],
fixed: false,
sortable: true,
hide:true,
},
// {
// prop: 'deliveryStatus',
// label: '',
// type: 3,
// values: '',
// width: '150',
// checkarr: [
// {
// label: '',
// value: '1',
// },
// {
// label: '',
// value: '2'
// },
// {
// label: '',
// value: '3'
// },
// {
// label: '',
// value: '4'
// },
// ],
// fixed: false,
// sortable: true,
// hide:true,
// },
{
prop: 'deliveryStatusName',
label: '配送状态',
@ -391,7 +391,7 @@ export default {
},
{
prop: 'deliveryNumber',
label: '配送件数',
label: '配送包件件数',
type: 1,
values: '',
width: '150',

6
src/views/distribution/reservation/atlas1.vue

@ -29,6 +29,7 @@
import { useStore } from 'vuex';
import { getReservationAddr } from '@/api/distribution/distributionReservation';
import { getDictionaryBiz } from '@/api/system/dict';
import { selectStockArticleAtlasInfo} from '@/api/distribution/distributionDeliveryList'
import { onMounted, reactive, toRefs, watchEffect } from 'vue';
import { useRouter } from 'vue-router';
let router = useRouter();
@ -43,6 +44,11 @@ let details = reactive({
});
onMounted(() => {
details.item = JSON.parse(router.currentRoute.value.query.item);
console.log("details.item.id------------->",details.item.id);
selectStockArticleAtlasInfo(details.item.id).then(res=>{
console.log("-------------->",res);
})
console.log("------------->",details.item);
setTimeout(() => {
init();
}, 1500);

113
src/views/distribution/reservation/reservation.vue

@ -289,6 +289,36 @@
fixed: false,
sortable: true
},
{
prop: 'warehouseName',
label: '仓库',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true
},
{
prop: 'mallName',
label: '商城',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true
},
{
prop: 'storeName',
label: '门店',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: false,
sortable: true
},
{
prop: 'consignee',
label: '收货人',
@ -328,30 +358,30 @@
fixed: false,
sortable: true
},
{
prop: 'periodOfTime',
label: '时段1',
type: 3,
values: '',
width: '180',
checkarr: [
{
label: '上午',
value: '1'
},
{
label: '下午',
value: '2'
},
{
label: '全天',
value: '3'
},
],
fixed: false,
sortable: true,
head:true,
},
// {
// prop: 'periodOfTime',
// label: '1',
// type: 3,
// values: '',
// width: '180',
// checkarr: [
// {
// label: '',
// value: '1'
// },
// {
// label: '',
// value: '2'
// },
// {
// label: '',
// value: '3'
// },
// ],
// fixed: false,
// sortable: true,
// head:true,
// },
{
prop: 'periodOfTimeName',
label: '时段',
@ -486,25 +516,34 @@
// fixed: false,
// sortable: true
// },
{
prop: 'reservationStatus',
label: '预约信息状态1',
type: 4,
values: '',
width: '180',
checkarr: [],
fixed: false,
sortable: true,
hide: true,
},
// {
// prop: 'reservationStatus',
// label: '1',
// type: 4,
// values: '',
// width: '180',
// checkarr: [],
// fixed: false,
// sortable: true,
// hide: true,
//
// },
{
prop: 'reservationStatusName',
label: '预约信息状态',
type: 1,
values: '',
width: '180',
checkarr: [],
checkarr: [
// {
// label: '',
// value: '1'
// },
// {
// label: '',
// value: '2'
// },
],
fixed: false,
sortable: true,
},

88
src/views/distribution/signfor/distributionSignfortreat.vue

@ -1,6 +1,59 @@
<template>
<basic-container>
<div class="avue-crud">
<el-row :hidden="!search" style="padding: 6px 18px">
<!-- 查询模块 -->
<el-form :inline="true" :model="query">
<el-form-item label="订单编号:">
<el-input v-model="query.stockArticleId" placeholder="请输入订单自编号"></el-input>
</el-form-item>
<el-form-item label="商城名称:">
<el-input v-model="query.mallName" placeholder="请输入商城名称"></el-input>
</el-form-item>
<el-form-item label="门店名称:">
<el-input v-model="query.storeName" placeholder="请输入门店名称"></el-input>
</el-form-item>
<el-form-item label="客户名称:">
<el-input v-model="query.consignee" placeholder="请输入客户名称"></el-input>
</el-form-item>
<el-form-item label="客户电话:">
<el-input v-model="query.deliveryPhone" placeholder="请输入客户电话"></el-input>
</el-form-item>
<el-form-item label="业务类型:">
<el-select v-model="query.deliveryType" placeholder="请选择业务类型">
<el-option
:value="1">商配
</el-option>
<el-option
:value="2">市配
</el-option>
</el-select>
<!-- <el-input v-model="query.deliveryType" placeholder="请选择业务类型"></el-input>-->
</el-form-item>
<el-form-item label="配送车次:">
<el-input v-model="query.trainNumber" placeholder="请输入配送车次"></el-input>
</el-form-item>
<el-form-item label="司机签收状态:">
<el-select v-model="query.driverSigning" placeholder="请选择业务类型">
<el-option
:value="1">未签收
</el-option>
<el-option
:value="2">已签收
</el-option>
</el-select>
<el-input v-model="query.querySigningStatus" placeholder="请选择签收状态"></el-input>
</el-form-item>
<!-- <el-form-item label="顾客姓名:">-->
<!-- <el-input v-model="query.customerName" placeholder="请输入服务类型"></el-input>-->
<!-- </el-form-item>-->
<!-- 查询按钮 -->
<el-form-item>
<el-button type="primary" icon="el-icon-search" @click="searchChange"> </el-button>
<el-button icon="el-icon-delete" @click="searchReset()"> </el-button>
</el-form-item>
</el-form>
</el-row>
<!-- <tablecmt
:columnList="columnList"
:tableData="tableData"
@ -39,7 +92,7 @@
<span >司机待签收数{{statistics.driverNub}}</span>
</el-col>
<el-col :xl="10" :lg="7" :md="8" :sm="24">
<span>文员待签收{{statistics.clerkNub}}</span>
<span>文员待审核{{statistics.clerkNub}}</span>
</el-col>
</el-row>
<el-row>
@ -277,12 +330,25 @@ export default {
head: false,
},
{
prop: 'deliveryType',
prop: 'deliveryTypeName',
label: '业务类型',
type: 3,
values: '',
width: '150',
checkarr: [],
checkarr: [
{
label: '市配',
value: '1'
},
{
label: '商配',
value: '2'
},
{
label: '自提',
value: '3'
},
],
fixed: false,
sortable: true,
},
@ -823,6 +889,10 @@ export default {
this.search = !this.search;
},
searchChange() {
if (this.query.querySigningStatus){
this.query.signingStatus= this.query.querySigningStatus;
}
this.onLoad(this.page);
},
searchReset() {
@ -939,12 +1009,12 @@ export default {
// eslint-disable-next-line no-empty
for (let i = 0; i < data.records.length; i++) {
// eslint-disable-next-line no-empty
for (let j = 0; j < this.deliveryTypeData.length; j++) {
// eslint-disable-next-line no-empty
if (data.records[i].deliveryType == this.deliveryTypeData[j].dictKey) {
data.records[i].deliveryType = this.deliveryTypeData[j].dictValue;
}
}
// for (let j = 0; j < this.deliveryTypeData.length; j++) {
// // eslint-disable-next-line no-empty
// if (data.records[i].deliveryType == this.deliveryTypeData[j].dictKey) {
// data.records[i].deliveryType = this.deliveryTypeData[j].dictValue;
// }
// }
for (let j = 0; j < this.orderSourceData.length; j++) {
// eslint-disable-next-line no-empty
if (data.records[i].orderSource == this.orderSourceData[j].dictKey) {

8
src/views/distribution/turndelivery/deliveryDiscuss.vue

@ -152,7 +152,7 @@
<el-col :span="6">
<el-form-item label="配送类型:" prop="goodsAreaId">
<el-radio-group v-model="stockUpForm.deliveryType">
<el-radio :label="'10'" :value="'10'">商配&emsp; </el-radio>
<el-radio :label="'1'" :value="'1'">商配&emsp; </el-radio>
</el-radio-group>
</el-form-item>
</el-col>
@ -1376,7 +1376,7 @@
}
this.aaa = true;
this.bbb = false;
this.stockUpForm.deliveryType="10";
this.stockUpForm.deliveryType="1";
this.stockUpForm.deliveryWay="10";
this.loadAndUnload = ["1","2"];
this.stockUpForm.otherFee = 0;
@ -1397,7 +1397,7 @@
}
this.aaa = false;
this.bbb = true;
this.stockUpForm.deliveryType="10";
this.stockUpForm.deliveryType="1";
this.stockUpForm.deliveryWay="10";
this.loadAndUnload = ["1","2"];
this.stockUpForm.otherFee = 0;
@ -1557,7 +1557,7 @@
})
this.isDisable=true;
}else {
this.stockUpForm.deliveryType="10";
this.stockUpForm.deliveryType="1";
this.stockUpForm.deliveryWay="10";
this.loadAndUnload = ["1","2"];
this.stockUpForm.otherFee = 0;

Loading…
Cancel
Save