领退料问题修改
This commit is contained in:
parent
e4239f4955
commit
ae327449a3
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
// const qrUrl = 'http://192.168.0.14:21624/qrCode/qrCodePage?qrCode='; //测试
|
const qrUrl = 'http://192.168.0.14:21624/qrCode/qrCodePage?qrCode='; //测试
|
||||||
const qrUrl = 'http://112.29.103.165:21626/qrCode/qrCodePage?qrCode='; //重庆
|
// const qrUrl = 'http://112.29.103.165:21626/qrCode/qrCodePage?qrCode='; //重庆
|
||||||
// const qrUrl = 'http://112.29.103.165:21624/qrCode/qrCodePage?qrCode='; //宁夏
|
// const qrUrl = 'http://112.29.103.165:21624/qrCode/qrCodePage?qrCode='; //宁夏
|
||||||
// const qrUrl = 'https://z.csgmall.com.cn/gl/qrCode/qrCodePage?qrCode='; //南网
|
// const qrUrl = 'https://z.csgmall.com.cn/gl/qrCode/qrCodePage?qrCode='; //南网
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -600,6 +600,7 @@ export default {
|
||||||
typeof response.data.fileName === "string"
|
typeof response.data.fileName === "string"
|
||||||
) {
|
) {
|
||||||
try {
|
try {
|
||||||
|
if(response.data.fileUrl!=''){
|
||||||
let [urlArr, nameArr] = [
|
let [urlArr, nameArr] = [
|
||||||
response.data.fileUrl,
|
response.data.fileUrl,
|
||||||
response.data.fileName
|
response.data.fileName
|
||||||
|
|
@ -608,13 +609,16 @@ export default {
|
||||||
if (urlArr.length !== nameArr.length) {
|
if (urlArr.length !== nameArr.length) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
console.log(urlArr)
|
||||||
let fileList = urlArr.map((url, i) => ({
|
let fileList = urlArr.map((url, i) => ({
|
||||||
name: nameArr[i],
|
name: nameArr[i],
|
||||||
url: `${this.uploadUrl}${url}`
|
url: `${this.uploadUrl}${url}`
|
||||||
}));
|
}));
|
||||||
|
console.log(fileList)
|
||||||
this.fileList = fileList;
|
this.fileList = fileList;
|
||||||
this.checkUrlList = urlArr;
|
this.checkUrlList = urlArr;
|
||||||
this.checkUrlNameList = nameArr;
|
this.checkUrlNameList = nameArr;
|
||||||
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error("处理合同照片时发生错误:", error);
|
console.error("处理合同照片时发生错误:", error);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -415,9 +415,9 @@
|
||||||
/** 重置按钮操作 */
|
/** 重置按钮操作 */
|
||||||
resetQuery() {
|
resetQuery() {
|
||||||
this.queryParams.time = []
|
this.queryParams.time = []
|
||||||
this.queryParams.unitId = null
|
|
||||||
this.queryParams.proId = null
|
|
||||||
this.resetForm('queryForm')
|
this.resetForm('queryForm')
|
||||||
|
this.GetUnitData()
|
||||||
|
this.GetProData()
|
||||||
this.handleQuery()
|
this.handleQuery()
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -614,6 +614,8 @@
|
||||||
resetQuery() {
|
resetQuery() {
|
||||||
this.queryParams.time = []
|
this.queryParams.time = []
|
||||||
this.resetForm('queryForm')
|
this.resetForm('queryForm')
|
||||||
|
this.GetUnitData()
|
||||||
|
this.GetProData()
|
||||||
this.handleQuery()
|
this.handleQuery()
|
||||||
},
|
},
|
||||||
handleNotice() {
|
handleNotice() {
|
||||||
|
|
|
||||||
|
|
@ -431,9 +431,9 @@
|
||||||
/** 重置按钮操作 */
|
/** 重置按钮操作 */
|
||||||
resetQuery() {
|
resetQuery() {
|
||||||
this.queryParams.time = []
|
this.queryParams.time = []
|
||||||
this.queryParams.unitId = null
|
|
||||||
this.queryParams.proId = null
|
|
||||||
this.resetForm('queryForm')
|
this.resetForm('queryForm')
|
||||||
|
this.GetUnitData()
|
||||||
|
this.GetProData()
|
||||||
this.handleQuery()
|
this.handleQuery()
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -618,7 +618,7 @@ export default {
|
||||||
if(res.code == 200){
|
if(res.code == 200){
|
||||||
this.$message({
|
this.$message({
|
||||||
type:'success',
|
type:'success',
|
||||||
message: '申请成功'
|
message: res.msg
|
||||||
})
|
})
|
||||||
this.$tab.closeOpenPage({ path: "/claimAndRefund/receiveByCq/receiveApply"});
|
this.$tab.closeOpenPage({ path: "/claimAndRefund/receiveByCq/receiveApply"});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -488,6 +488,8 @@ export default {
|
||||||
resetQuery() {
|
resetQuery() {
|
||||||
this.queryParams.time = []
|
this.queryParams.time = []
|
||||||
this.resetForm('queryForm')
|
this.resetForm('queryForm')
|
||||||
|
this.GetUnitData()
|
||||||
|
this.GetProData()
|
||||||
this.handleQuery()
|
this.handleQuery()
|
||||||
},
|
},
|
||||||
handleNotice() {
|
handleNotice() {
|
||||||
|
|
|
||||||
|
|
@ -682,7 +682,7 @@ export default {
|
||||||
}
|
}
|
||||||
const res = await submitRefuseBackApply(params)
|
const res = await submitRefuseBackApply(params)
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
this.$message({ type: 'success', message: '申请成功'})
|
this.$message({ type: 'success', message: res.msg})
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$tab.closeOpenPage({ path: "/claimAndRefund/return/returnApply"});
|
this.$tab.closeOpenPage({ path: "/claimAndRefund/return/returnApply"});
|
||||||
}, 1000)
|
}, 1000)
|
||||||
|
|
@ -697,7 +697,7 @@ export default {
|
||||||
}
|
}
|
||||||
const res = await submitBackApplyApi(params)
|
const res = await submitBackApplyApi(params)
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
this.$message({ type: 'success', message: '申请成功'})
|
this.$message({ type: 'success', message: res.msg})
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$tab.closeOpenPage({ path: "/claimAndRefund/return/returnApply"});
|
this.$tab.closeOpenPage({ path: "/claimAndRefund/return/returnApply"});
|
||||||
}, 1000)
|
}, 1000)
|
||||||
|
|
|
||||||
|
|
@ -671,7 +671,7 @@ export default {
|
||||||
}
|
}
|
||||||
const res = await submitRefuseBackApply(params)
|
const res = await submitRefuseBackApply(params)
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
this.$message({ type: 'success', message: '申请成功'})
|
this.$message({ type: 'success', message: res.msg})
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$tab.closeOpenPage({ path: "/claimAndRefund/return/returnApplyByCq"});
|
this.$tab.closeOpenPage({ path: "/claimAndRefund/return/returnApplyByCq"});
|
||||||
}, 1000)
|
}, 1000)
|
||||||
|
|
@ -686,7 +686,7 @@ export default {
|
||||||
}
|
}
|
||||||
const res = await submitBackApplyApi(params)
|
const res = await submitBackApplyApi(params)
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
this.$message({ type: 'success', message: '申请成功'})
|
this.$message({ type: 'success', message: res.msg})
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$tab.closeOpenPage({ path: "/claimAndRefund/return/returnApplyByCq"});
|
this.$tab.closeOpenPage({ path: "/claimAndRefund/return/returnApplyByCq"});
|
||||||
}, 1000)
|
}, 1000)
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
openNewWindow() {
|
openNewWindow() {
|
||||||
window.open('http://112.29.103.165:21626/index01.html?token='+localStorage.getItem('token'), '_blank');
|
window.open('http://192.168.0.14:21624/index01.html?token='+localStorage.getItem('token'), '_blank');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -223,9 +223,8 @@ export default {
|
||||||
resetQuery() {
|
resetQuery() {
|
||||||
this.dateRange = [];
|
this.dateRange = [];
|
||||||
this.resetForm("queryForm");
|
this.resetForm("queryForm");
|
||||||
this.queryParams.time = null;
|
this.getUnitList();
|
||||||
this.queryParams.unitId = null;
|
this.getProList();
|
||||||
this.queryParams.proId = null;
|
|
||||||
this.handleQuery();
|
this.handleQuery();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue