Browse Source

货位信息查看详情

dev-xx
马远东 11 months ago
parent
commit
fca642c65e
  1. 6
      src/views/basicdata/warehouse/goodsAllocation/BasicdataGoodsAllocationDetails.vue
  2. 58
      src/views/financialsector/CustomerBaseprice.vue

6
src/views/basicdata/warehouse/goodsAllocation/BasicdataGoodsAllocationDetails.vue

@ -620,7 +620,11 @@ async function onLoad(page, params = {}) {
let query= JSON.parse($route.query.info)
console.log(query,'结构参数');
data.areaType =1
data.areaType =details.pageInfo.areaType
let response = await geturl(url, data);
if (response.data.code == 200) {
console.log('res', response.data);

58
src/views/financialsector/CustomerBaseprice.vue

@ -84,6 +84,43 @@
</div>
</el-row>
</div>
<!-- 导入模板 -->
<el-dialog
v-model="dialogTemp"
title="导入模板"
width="500"
>
<el-upload
class="upload-demo"
drag
action="/api/logpm-basicdata/basicdataPrice/upload"
multiple
:headers="headers"
:on-success="handleSuccess"
method="post"
>
<el-icon class="el-icon--upload"><upload-filled /></el-icon>
<div class="el-upload__text">
点击上传 <em>或者拖拽上传</em>
</div>
<template #tip>
<div class="el-upload__tip">
请上传Excel模板文件
</div>
</template>
</el-upload>
<template #footer>
<div class="dialog-footer">
<el-button @click="dialogTemp = false">关闭</el-button>
<el-button type="primary" @click="dialogVisible">
确定
</el-button>
</div>
</template>
</el-dialog>
</basic-container>
<!-- 列表配置显示 -->
<edittablehead
@ -104,6 +141,7 @@ import {
} from '@/api/financialsector/index'; //
import { getDictionaryBiz } from '@/api/system/dict'; //
import { processRowProperty, setNodeHeight, deepClone, downloadXls } from '@/utils/util';
import { getToken } from 'utils/auth'; // Token
import functions from '@/utils/functions.js';
import { ElMessageBox, ElMessage } from 'element-plus';
import { useStore } from 'vuex';
@ -111,6 +149,7 @@ import dayjs from 'dayjs';
const $router = useRouter(); //
const $useStore = useStore(); //
const $route = useRoute(); //
const dialogTemp=ref(true);//
const details = reactive({
/** 是否开启搜索 */
search: false,
@ -243,6 +282,19 @@ const timesc = (index, row) => {
}
};
const headers = computed(() => {
return { 'Blade-Auth': 'Bearer ' + getToken() };
});
const handleSuccess=(data)=>{
console.log(data,'datas');
if(data.code==200 && data.data=='请维护客户信息中的基础数据'){
ElMessage({
message: data.data,
type: 'warning',
})
};
}
/** 表格表头输入框搜索 */
const btnsc = val => {
console.log(val);
@ -389,8 +441,14 @@ const exporTemp = () => {
});
});
};
//
const ImportTemplate=()=>{
dialogTemp.value=true
}
//
const dialogVisible=()=>{
}
</script>

Loading…
Cancel
Save