Browse Source

修复部分bug,关闭开单设置成本品类,修复按车次入库显示问题,关闭备货列表库位和托盘字段

dev-xx
qb 6 months ago
parent
commit
c8a1a2c6fb
  1. 2
      src/mixins/index.js
  2. 1
      src/option/waybill/WarehousingByTrainNumber.js
  3. 2
      src/views/basicdata/ConfigureBillingAndWarehousing/list.vue
  4. 15
      src/views/basicdata/driverArtery/basicdataDriverArteryAdd.vue
  5. 2
      src/views/distribution/artery/VehicleStowage.vue
  6. 17
      src/views/distribution/deliverylist/distributionDeliveryList.vue
  7. 40
      src/views/distribution/inventory/CreateOrder.vue
  8. 40
      src/views/distribution/stockup/distributionStockupDiscuss.vue
  9. 42
      src/views/distribution/stockup/distributionStockupMarket.vue
  10. 40
      src/views/distribution/stockup/distributionStockupSelf.vue
  11. 2
      src/views/waybill/WarehousingByTrainNumber.vue
  12. 18
      vite.config.js

2
src/mixins/index.js

@ -45,7 +45,7 @@ export default {
})
.catch(err => {
console.log(err);
that.$route.push('/login');
that.$router.push({ path: '/login' });
clearInterval(this.refreshTime);
this.refreshLock = false;
});

1
src/option/waybill/WarehousingByTrainNumber.js

@ -58,6 +58,7 @@ export const columnList = [
checkarr: [],
fixed: false,
sortable: true,
isshowSummary: true,
},
{
prop: 'warehouseName',

2
src/views/basicdata/ConfigureBillingAndWarehousing/list.vue

@ -382,7 +382,7 @@ const sizeChange = (pageSize: number) => {
/** 页码改变执行的回调 */
const currentChange = current => {
details.pageNum = current;
details.page.pageNum = current;
onLoad();
};

15
src/views/basicdata/driverArtery/basicdataDriverArteryAdd.vue

@ -292,13 +292,26 @@ export default {
{
label: '承运商',
prop: 'carrierId',
filterable: true,
type: 'select',
filterable: true,
dicUrl: '/api/logpm-basicdata/carrier/dictionary',
options: [],
rules: [{ required: true, message: '请选择承运商!', trigger: 'blur' }],
},
{
label: '结算渠道',
prop: 'settlementChannel',
type: 'select',
filterable: true,
dicUrl: '/api/logpm-basicdata/carrier/dictionary',
options: [],
rules: [{ required: true, message: '请选择结算渠道!', trigger: 'blur' }],
},
{
label: '结算账号',
prop: 'roadOperationLicenseNub',
type: 'input',
},
{
label: '运输协议',
prop: 'transportationAgreement',

2
src/views/distribution/artery/VehicleStowage.vue

@ -941,7 +941,7 @@ const sizeChange = (pageSize: number) => {
/** 页码改变执行的回调 */
const currentChange = current => {
details.pageNum = current;
details.page.pageNum = current;
onLoad();
};

17
src/views/distribution/deliverylist/distributionDeliveryList.vue

@ -1,7 +1,7 @@
<template>
<basic-container>
<div class="avue-crud">
<div v-h5uShow="!search">
<div v-h5uShow="search">
<!-- 查询模块 -->
<el-form class="header_search" :model="query">
<el-form-item label="配送车次:">
@ -1009,17 +1009,16 @@ export default {
this.title = '查看';
this.view = true;
this.box = true;
if(row.id){
if (row.id) {
getDetail(row.id).then(res => {
this.form = res.data.data;
});
}else{
this.form = res.data.data;
});
} else {
ElMessage({
message: '数据错误,刷新页面重新尝试',
type: 'warning',
})
message: '数据错误,刷新页面重新尝试',
type: 'warning',
});
}
},
handleViewBlank(row) {
this.$router.push({

40
src/views/distribution/inventory/CreateOrder.vue

@ -2335,15 +2335,15 @@ const onLoad = async (idsArr = []) => {
element.incomeCategoryName = element.incomeCategoryName || '其它';
element.incomeCategory = element.incomeCategoryName || '其它';
element.incomeCategoryId = element.incomeCategoryId || '';
//
//
element.confirmCostCategoryName = element.costCategoryName || '其它';
element.confirmCostCategoryId = element.costCategoryId || '';
element.costCategoryName = element.costCategoryName || '其它';
element.costCategory = element.costCategoryName || '其它';
element.costCategoryId = element.costCategoryId || '';
(!element.incomeCategoryId) && (_flag = true);
!element.incomeCategoryId && (_flag = true);
}
details.package.renderData = handleFilterData(
@ -2512,7 +2512,7 @@ const onEditLoad = async () => {
element.incomeCategoryName = element.incomeCategoryName || '其它';
element.incomeCategory = element.incomeCategoryName || '其它';
element.incomeCategoryId = element.incomeCategoryId || '';
//
element.confirmCostCategoryName = element.costCategoryName || '其它';
element.confirmCostCategoryId = element.costCategoryId || '';
@ -2521,7 +2521,7 @@ const onEditLoad = async () => {
element.costCategory = element.costCategoryName || '其它';
element.costCategoryId = element.costCategoryId || '';
(!element.incomeCategoryId) && (_flag = true);
!element.incomeCategoryId && (_flag = true);
}
details.package.renderData = handleFilterData(
@ -4395,14 +4395,14 @@ const handleAssignmentItemPrice = (value, isOnload = false, chargeType?: number
//
if (pickup && template) {
handleAssignmentItemPricePickUp(value, pickup, template);
} else{
value.pickupPrice = 0;
value.systemPickupChargeType = 1;
}
} else {
value.pickupPrice = 0;
value.systemPickupChargeType = 1;
}
//
if (dispatch && template) handleAssignmentItemPriceDispatch(value, dispatch, template);
else{
else {
value.deliveryPrice = 0;
value.systemDeliveryChargeType = 1;
}
@ -4609,7 +4609,7 @@ const handleShow = async () => {
const handleBatchEdit = () => {
ElMessageBox.confirm('此操作将批量修改结算品类, 是否继续?', '提示', {
confirmButtonText: '修改收入品类',
cancelButtonText: '修改成本品类',
cancelButtonText: '取消',
})
.then(() => {
for (let i = 0; i < details.package.selectionList.length; i++) {
@ -4623,16 +4623,14 @@ const handleBatchEdit = () => {
}
})
.catch(() => {
for (let i = 0; i < details.package.selectionList.length; i++) {
const value = details.package.selectionList[i];
//
value.costCategoryId = details.package.incomeCategoryId || '';
value.costCategoryName = details.package.incomeCategoryName || '其它';
value.costCategory = details.package.incomeCategoryName || '其它';
value.MaintenanceOrNot = value.incomeCategoryId && value.costCategoryId ? '是' : '否';
}
// for (let i = 0; i < details.package.selectionList.length; i++) {
// const value = details.package.selectionList[i];
// //
// value.costCategoryId = details.package.incomeCategoryId || '';
// value.costCategoryName = details.package.incomeCategoryName || '';
// value.costCategory = details.package.incomeCategoryName || '';
// value.MaintenanceOrNot = value.incomeCategoryId && value.costCategoryId ? '' : '';
// }
});
};

40
src/views/distribution/stockup/distributionStockupDiscuss.vue

@ -451,16 +451,16 @@ export default {
fixed: false,
sortable: true,
},
{
prop: 'stockipAllocation',
label: '所在库位',
type: 2,
values: '',
width: '130',
checkarr: [],
fixed: false,
sortable: true,
},
// {
// prop: 'stockipAllocation',
// label: '',
// type: 2,
// values: '',
// width: '130',
// checkarr: [],
// fixed: false,
// sortable: true,
// },
// {
// prop: 'goodsAreaId',
// label: '',
@ -492,16 +492,16 @@ export default {
fixed: false,
sortable: true,
},*/
{
prop: 'pallet',
label: '所在托盘',
type: 2,
values: '',
width: '130',
checkarr: [],
fixed: false,
sortable: true,
},
// {
// prop: 'pallet',
// label: '',
// type: 2,
// values: '',
// width: '130',
// checkarr: [],
// fixed: false,
// sortable: true,
// },
{
prop: 'fixTime',
label: '确认完成备货时间',

42
src/views/distribution/stockup/distributionStockupMarket.vue

@ -23,7 +23,7 @@
start-placeholder="开始时间"
end-placeholder="结束时间"
:shortcuts="shortcuts"
:default-time="defaultTime2"
:default-time="defaultTime2"
/>
</el-form-item>
<el-form-item style="margin-left: 24px" label="客户名称">
@ -459,16 +459,16 @@ export default {
fixed: false,
sortable: true,
},
{
prop: 'stockipAllocation',
label: '所在库位',
type: 2,
values: '',
width: '130',
checkarr: [],
fixed: false,
sortable: true,
},
// {
// prop: 'stockipAllocation',
// label: '',
// type: 2,
// values: '',
// width: '130',
// checkarr: [],
// fixed: false,
// sortable: true,
// },
// {
// prop: 'goodsAreaId',
// label: '',
@ -500,16 +500,16 @@ export default {
// fixed: false,
// sortable: true,
// },
{
prop: 'pallet',
label: '所在托盘',
type: 2,
values: '',
width: '130',
checkarr: [],
fixed: false,
sortable: true,
},
// {
// prop: 'pallet',
// label: '',
// type: 2,
// values: '',
// width: '130',
// checkarr: [],
// fixed: false,
// sortable: true,
// },
{
prop: 'fixTime',
label: '确认完成备货时间',

40
src/views/distribution/stockup/distributionStockupSelf.vue

@ -447,16 +447,16 @@ export default {
fixed: false,
sortable: true,
},
{
prop: 'stockipAllocation',
label: '所在库位',
type: 2,
values: '',
width: '130',
checkarr: [],
fixed: false,
sortable: true,
},
// {
// prop: 'stockipAllocation',
// label: '',
// type: 2,
// values: '',
// width: '130',
// checkarr: [],
// fixed: false,
// sortable: true,
// },
// {
// prop: 'goodsAreaId',
// label: '',
@ -488,16 +488,16 @@ export default {
// fixed: false,
// sortable: true,
// },
{
prop: 'pallet',
label: '所在托盘',
type: 2,
values: '',
width: '130',
checkarr: [],
fixed: false,
sortable: true,
},
// {
// prop: 'pallet',
// label: '',
// type: 2,
// values: '',
// width: '130',
// checkarr: [],
// fixed: false,
// sortable: true,
// },
{
prop: 'fixTime',
label: '确认完成备货时间',

2
src/views/waybill/WarehousingByTrainNumber.vue

@ -405,7 +405,7 @@ const handleGoDetails = ({ row }) => {
};
const handleIsSelect = val => {
if (Number(val.isIncoming) === 1) {
if (Number(val.isIncoming) !== 0) {
return true;
} else {
return false;

18
vite.config.js

@ -16,30 +16,30 @@ export default ({ mode, command }) => {
// hy
// target: 'http://192.168.3.12:13000',
// xiaohei
// target: 'http://192.168.3.65:13000',
// target: 'http://192.168.3.65:13000',
// lmy
// target: 'http://192.168.10.123:8889',
// cg
// target: 'http://192.168.3.2:13000',
// cg
// target: 'http://192.168.3.2:13000',
// target: 'http://192.168.10.101:8888',
// 老zyc
// target: 'http://192.168.10.75:8777',
// target: 'http://192.168.10.75:8777',
// 新zyc
// target: 'http://192.168.6.116:8777',
// target: 'http://192.168.6.122:8777',
// target: 'http://192.168.3.14:13000',
// target: 'http://192.168.3.14:13000',
// target: 'http://192.168.10.25:2888',
// target: 'http://192.168.6.161:9777',//CY
// target: 'http://192.168.10.57:13000',
// target: 'http://192.168.10.200:13000',
// target: 'http://192.168.10.29:13000',
// target: 'http://192.168.3.5:13000',//?
// target: 'http://192.168.3.16:13000',
target: 'http://192.168.3.73:13000', //?
// target: 'http://h5uapi.huitongys.com',
target: 'http://test.api.huo5you.com',
// target: 'http://test.api.huo5u.com',
changeOrigin: true,
rewrite: path => path.replace(/^\/api/, ''),
},
'/imgapi': {
'/imgapi': {
target: 'http://127.0.0.1:38088',
changeOrigin: true,
rewrite: path => path.replace(/^\/imgapi/, ''),

Loading…
Cancel
Save