Browse Source

修复已知bug

pre-production
马远东 1 month ago
parent
commit
fd7ba23c8c
  1. 9
      src/views/cost/Deliverycostmanagement/Financialreview.vue
  2. 25
      src/views/cost/Deliverycostmanagement/ServiceProviderPrice.vue
  3. 9
      src/views/cost/Deliverycostmanagement/Traincostbreakdown.vue
  4. 1
      src/views/cost/Deliverycostmanagement/WarehouseDeliveryCost.vue
  5. 20
      src/views/cost/Deliverycostmanagement/WarehousePricingTemplate.vue

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

@ -164,8 +164,7 @@ import {
$_expenseDispatchFinancialReview,
} from '@/api/storagecost/index.js';
import { getDictionaryBiz } from '@/api/system/dict'; //
import { processRowProperty, setNodeHeight } from '@/utils/util';
import functions from '@/utils/functions.js';
import { processRowProperty, setNodeHeight,handleClearTableQuery } from '@/utils/util';
import { ElMessageBox, ElMessage } from 'element-plus';
import { downloadXls } from '@/utils/util';
import { useStore } from 'vuex';
@ -326,6 +325,12 @@ const currentChange = val => {
const searchChangeS = () => {
onLoad();
};
//
const searchReset = () => {
details.query = {};
handleClearTableQuery(details.columnList);
onLoad();
};
//
const searchHide = () => {
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 { columnList } from '@/option/storagecost/ServiceProviderPrice.js';
import { getDictionaryBiz } from '@/api/system/dict'; //
import { processRowProperty, setNodeHeight } from '@/utils/util';
import functions from '@/utils/functions.js';
import { processRowProperty, setNodeHeight,handleClearTableQuery } from '@/utils/util';
import { getDriverList } from '@/api/basicdata/basicdataDriverArtery'; //
import {
$_getMyWarehouseList,
@ -333,8 +332,15 @@ const selectionChange = list => {
};
//
const searchChange = () => {
details.search = false; //
// details.search = false; //
onLoad()
};
const searchReset=()=>{
details.query={}
queryTop.value={}
handleClearTableQuery(details.columnList);
onLoad()
}
//
const sizeChange = val => {
details.page.pageSize = val;
@ -471,7 +477,13 @@ const PageOnload = async () => {
await MyWarehouseList(); //
onLoad();
};
const AddInfo=()=>{
ElMessage({
message: '功能维护',
type: 'warning',
})
return
}
//
PageOnload();
//
@ -628,10 +640,13 @@ const deleteTemplate = row => {
width: 100%;
display: flex;
justify-content: space-between;
.el-btn {
:deep(.el-btn) {
margin-right: 0;
width: 15%;
align-items: flex-start;
.el-form-item__content{
justify-content: flex-end;
}
}
}
</style>

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

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

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

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

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

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

Loading…
Cancel
Save