Commit f8ea35e0 by wangzhihui

财务

1 parent 36ff6239
......@@ -74,6 +74,6 @@ export function queryServiceRefByShop() {
//文件上传
export function uploadFile(data) {
data.method = `dj.api.smartcarlife.orderReconciliationRecord.import `
return request(data, "post")
data.method = `dj.api.smartcarlife.orderReconciliationRecord.import`
return request(data, "post",["file"])
}
\ No newline at end of file
......@@ -911,7 +911,8 @@ export default {
computed: {
...mapState({
dowloadList: (state) => state.d2admin.user.dowloadList
dowloadList: (state) => state.d2admin.user.dowloadList,
updateList: (state) => state.d2admin.user.updateList,
}),
specialAccout() {
return this.userInfo?.loginAccount?.loginAccout == "18123663366"
......@@ -1050,7 +1051,6 @@ export default {
importFile(e) {
console.log(e)
const size = e.target.files[0].size / 1024 / 1024
console.log(size)
if (size < 9) {
this.$set(this.fileForm, "fileName", e.target.files[0].name)
// // 转码base64
......@@ -1075,9 +1075,7 @@ export default {
this.$refs.fileRuleForm.validate((valid) => {
if (valid) {
var params = {
file: {
fileType: this.fileInfo
}
file: this.fileInfo
}
api.uploadFile(params).then((res) => {
if (res) {
......
......@@ -138,7 +138,7 @@ export default {
name: "reportDate",
type: "datePicker",
isClear: false,
pickerOptions: "rangePickerOptions"
pickerOptions: "rangePickerOptions_30day2"
}
],
baseData: {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!