qb 4 months ago
parent
commit
03c089d395
  1. 2
      src/page/index/top/index.vue
  2. 9
      src/views/cost/Deliverycostmanagement/Financialreview.vue
  3. 25
      src/views/cost/Deliverycostmanagement/ServiceProviderPrice.vue
  4. 9
      src/views/cost/Deliverycostmanagement/Traincostbreakdown.vue
  5. 1
      src/views/cost/Deliverycostmanagement/WarehouseDeliveryCost.vue
  6. 20
      src/views/cost/Deliverycostmanagement/WarehousePricingTemplate.vue
  7. 2
      src/views/desk/notice.vue
  8. 14
      src/views/distribution/inventory/distrilbutionBillLading.vue

2
src/page/index/top/index.vue

@ -13,7 +13,7 @@
<top-menu ref="topMenu" v-if="setting.menu"></top-menu> <top-menu ref="topMenu" v-if="setting.menu"></top-menu>
</div> </div>
<div class="top-bar__right"> <div class="top-bar__right">
<!-- <top-search class="top-bar__item" v-if="setting.search"></top-search> --> <top-search class="top-bar__item" v-if="setting.search"></top-search>
<div v-if="setting.lock" class="top-bar__item"> <div v-if="setting.lock" class="top-bar__item">
<top-lock></top-lock> <top-lock></top-lock>
</div> </div>

9
src/views/cost/Deliverycostmanagement/Financialreview.vue

@ -164,8 +164,7 @@ import {
$_expenseDispatchFinancialReview, $_expenseDispatchFinancialReview,
} from '@/api/storagecost/index.js'; } from '@/api/storagecost/index.js';
import { getDictionaryBiz } from '@/api/system/dict'; // import { getDictionaryBiz } from '@/api/system/dict'; //
import { processRowProperty, setNodeHeight } from '@/utils/util'; import { processRowProperty, setNodeHeight,handleClearTableQuery } from '@/utils/util';
import functions from '@/utils/functions.js';
import { ElMessageBox, ElMessage } from 'element-plus'; import { ElMessageBox, ElMessage } from 'element-plus';
import { downloadXls } from '@/utils/util'; import { downloadXls } from '@/utils/util';
import { useStore } from 'vuex'; import { useStore } from 'vuex';
@ -326,6 +325,12 @@ const currentChange = val => {
const searchChangeS = () => { const searchChangeS = () => {
onLoad(); onLoad();
}; };
//
const searchReset = () => {
details.query = {};
handleClearTableQuery(details.columnList);
onLoad();
};
// //
const searchHide = () => { const searchHide = () => {
console.log(details); console.log(details);

25
src/views/cost/Deliverycostmanagement/ServiceProviderPrice.vue

@ -163,8 +163,7 @@
import { ref, reactive, toRefs, computed, onMounted, nextTick, watch } from 'vue'; import { ref, reactive, toRefs, computed, onMounted, nextTick, watch } from 'vue';
import { columnList } from '@/option/storagecost/ServiceProviderPrice.js'; import { columnList } from '@/option/storagecost/ServiceProviderPrice.js';
import { getDictionaryBiz } from '@/api/system/dict'; // import { getDictionaryBiz } from '@/api/system/dict'; //
import { processRowProperty, setNodeHeight } from '@/utils/util'; import { processRowProperty, setNodeHeight,handleClearTableQuery } from '@/utils/util';
import functions from '@/utils/functions.js';
import { getDriverList } from '@/api/basicdata/basicdataDriverArtery'; // import { getDriverList } from '@/api/basicdata/basicdataDriverArtery'; //
import { import {
$_getMyWarehouseList, $_getMyWarehouseList,
@ -333,8 +332,15 @@ const selectionChange = list => {
}; };
// //
const searchChange = () => { const searchChange = () => {
details.search = false; // // details.search = false; //
onLoad()
}; };
const searchReset=()=>{
details.query={}
queryTop.value={}
handleClearTableQuery(details.columnList);
onLoad()
}
// //
const sizeChange = val => { const sizeChange = val => {
details.page.pageSize = val; details.page.pageSize = val;
@ -471,7 +477,13 @@ const PageOnload = async () => {
await MyWarehouseList(); // await MyWarehouseList(); //
onLoad(); onLoad();
}; };
const AddInfo=()=>{
ElMessage({
message: '功能维护',
type: 'warning',
})
return
}
// //
PageOnload(); PageOnload();
// //
@ -628,10 +640,13 @@ const deleteTemplate = row => {
width: 100%; width: 100%;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
.el-btn { :deep(.el-btn) {
margin-right: 0; margin-right: 0;
width: 15%; width: 15%;
align-items: flex-start; align-items: flex-start;
.el-form-item__content{
justify-content: flex-end;
}
} }
} }
</style> </style>

9
src/views/cost/Deliverycostmanagement/Traincostbreakdown.vue

@ -156,7 +156,7 @@
style="width: 100%" style="width: 100%"
:rows="4" :rows="4"
type="textarea" type="textarea"
placeholder="请填写结算备注(必填)" placeholder="请填写结算备注"
/> />
</el-form-item> </el-form-item>
</el-form> </el-form>
@ -579,13 +579,6 @@ const confirmation = row => {
}; };
// //
const SettlementconfirmationSubmit = async row => { const SettlementconfirmationSubmit = async row => {
if (!Confirmsettlement.value.form.settlementNote) {
ElMessage({
message: '请填写结算备注',
type: 'warning',
});
return;
}
try { try {
Confirmsettlement.value.loading = true; Confirmsettlement.value.loading = true;
let Submit = { let Submit = {

1
src/views/cost/Deliverycostmanagement/WarehouseDeliveryCost.vue

@ -413,6 +413,7 @@ const searchReset = () => {
item.values = ''; item.values = '';
}); });
details.query = {}; details.query = {};
queryTop.value={}
onLoad(); onLoad();
}; };
// //

20
src/views/cost/Deliverycostmanagement/WarehousePricingTemplate.vue

@ -7,7 +7,7 @@
<!-- 查询模块 --> <!-- 查询模块 -->
<el-form :inline="true" :model="queryTop" class="el-fr-d"> <el-form :inline="true" :model="queryTop" class="el-fr-d">
<div> <div>
<el-form-item label="中转仓"> <el-form-item label="仓库名称">
<el-select <el-select
v-model="queryTop.warehouse" v-model="queryTop.warehouse"
multiple multiple
@ -23,7 +23,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="签收时间"> <el-form-item label="修改时间">
<el-date-picker <el-date-picker
v-model="queryTop.costSettlementYear" v-model="queryTop.costSettlementYear"
type="datetimerange" type="datetimerange"
@ -128,12 +128,10 @@ import {
$_removeTemplate, $_removeTemplate,
} from '@/api/storagecost/index.js'; } from '@/api/storagecost/index.js';
import { processRowProperty, setNodeHeight } from '@/utils/util'; import { processRowProperty, setNodeHeight } from '@/utils/util';
import functions from '@/utils/functions.js';
import { ElMessageBox, ElMessage } from 'element-plus'; import { ElMessageBox, ElMessage } from 'element-plus';
import { downloadXls } from '@/utils/util'; import { downloadXls,handleClearTableQuery } from '@/utils/util';
import { useStore } from 'vuex'; import { useStore } from 'vuex';
import dayjs from 'dayjs'; import dayjs from 'dayjs';
import error from '@/error';
const $router = useRouter(); // const $router = useRouter(); //
const $useStore = useStore(); // const $useStore = useStore(); //
const $route = useRoute(); // const $route = useRoute(); //
@ -273,6 +271,13 @@ const selectionChange = list => {
const searchChange = () => { const searchChange = () => {
onLoad(); onLoad();
}; };
//
const searchReset=()=>{
queryTop.value = {};
details.query = {};
handleClearTableQuery(details.columnList);
onLoad();
}
// //
const sizeChange = val => { const sizeChange = val => {
details.page.pageSize = val; details.page.pageSize = val;
@ -426,10 +431,13 @@ const lyadded = () => {
width: 100%; width: 100%;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
.el-btn { :deep(.el-btn) {
margin-right: 0; margin-right: 0;
width: 15%; width: 15%;
align-items: flex-start; align-items: flex-start;
.el-form-item__content{
justify-content: flex-end;
}
} }
} }
</style> </style>

2
src/views/desk/notice.vue

@ -27,7 +27,7 @@
plain plain
v-if="permission.notice_delete" v-if="permission.notice_delete"
@click="handleDelete" @click="handleDelete"
> >
</el-button> </el-button>
</template> </template>
<template #="{ row }"> <template #="{ row }">

14
src/views/distribution/inventory/distrilbutionBillLading.vue

@ -2536,7 +2536,13 @@ export default {
if (_check.length) { if (_check.length) {
this.$refs.orderChooseTable.handleCheckSelect(_check); this.$refs.orderChooseTable.handleCheckSelect(_check);
} else { } else {
this.$refs.orderChooseTable.handleCheckSelect(data.records); console.log(data.records, 'data.records');
let _list = data.records.filter(item => {
return item.orderPackageStatusName !== '已签收';
});
console.log(_list, '_lsit');
this.$refs.orderChooseTable.handleCheckSelect(_list);
} }
console.log(this.order.selectList, '已经回显的值'); console.log(this.order.selectList, '已经回显的值');
this.selectionClear(); this.selectionClear();
@ -3530,10 +3536,10 @@ export default {
console.log('执行了二次操作'); console.log('执行了二次操作');
const data = res.data.data; const data = res.data.data;
this.dataList = data.records; this.dataList = data.records;
if(this.dataList?.length){ if (this.dataList?.length) {
this.dataList.forEach(i => { this.dataList.forEach(i => {
i.reservationNum = i.handQuantity; i.reservationNum = i.handQuantity;
}) });
} }
this.loading = false; this.loading = false;

Loading…
Cancel
Save