领退料问题修改
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://112.29.103.165:21626/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:21624/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"
|
||||
) {
|
||||
try {
|
||||
if(response.data.fileUrl!=''){
|
||||
let [urlArr, nameArr] = [
|
||||
response.data.fileUrl,
|
||||
response.data.fileName
|
||||
|
|
@ -608,13 +609,16 @@ export default {
|
|||
if (urlArr.length !== nameArr.length) {
|
||||
return;
|
||||
}
|
||||
console.log(urlArr)
|
||||
let fileList = urlArr.map((url, i) => ({
|
||||
name: nameArr[i],
|
||||
url: `${this.uploadUrl}${url}`
|
||||
}));
|
||||
console.log(fileList)
|
||||
this.fileList = fileList;
|
||||
this.checkUrlList = urlArr;
|
||||
this.checkUrlNameList = nameArr;
|
||||
}
|
||||
} catch (error) {
|
||||
console.error("处理合同照片时发生错误:", error);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -415,9 +415,9 @@
|
|||
/** 重置按钮操作 */
|
||||
resetQuery() {
|
||||
this.queryParams.time = []
|
||||
this.queryParams.unitId = null
|
||||
this.queryParams.proId = null
|
||||
this.resetForm('queryForm')
|
||||
this.GetUnitData()
|
||||
this.GetProData()
|
||||
this.handleQuery()
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -614,6 +614,8 @@
|
|||
resetQuery() {
|
||||
this.queryParams.time = []
|
||||
this.resetForm('queryForm')
|
||||
this.GetUnitData()
|
||||
this.GetProData()
|
||||
this.handleQuery()
|
||||
},
|
||||
handleNotice() {
|
||||
|
|
|
|||
|
|
@ -431,9 +431,9 @@
|
|||
/** 重置按钮操作 */
|
||||
resetQuery() {
|
||||
this.queryParams.time = []
|
||||
this.queryParams.unitId = null
|
||||
this.queryParams.proId = null
|
||||
this.resetForm('queryForm')
|
||||
this.GetUnitData()
|
||||
this.GetProData()
|
||||
this.handleQuery()
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -618,7 +618,7 @@ export default {
|
|||
if(res.code == 200){
|
||||
this.$message({
|
||||
type:'success',
|
||||
message: '申请成功'
|
||||
message: res.msg
|
||||
})
|
||||
this.$tab.closeOpenPage({ path: "/claimAndRefund/receiveByCq/receiveApply"});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -488,6 +488,8 @@ export default {
|
|||
resetQuery() {
|
||||
this.queryParams.time = []
|
||||
this.resetForm('queryForm')
|
||||
this.GetUnitData()
|
||||
this.GetProData()
|
||||
this.handleQuery()
|
||||
},
|
||||
handleNotice() {
|
||||
|
|
|
|||
|
|
@ -682,7 +682,7 @@ export default {
|
|||
}
|
||||
const res = await submitRefuseBackApply(params)
|
||||
if (res.code == 200) {
|
||||
this.$message({ type: 'success', message: '申请成功'})
|
||||
this.$message({ type: 'success', message: res.msg})
|
||||
setTimeout(() => {
|
||||
this.$tab.closeOpenPage({ path: "/claimAndRefund/return/returnApply"});
|
||||
}, 1000)
|
||||
|
|
@ -697,7 +697,7 @@ export default {
|
|||
}
|
||||
const res = await submitBackApplyApi(params)
|
||||
if (res.code == 200) {
|
||||
this.$message({ type: 'success', message: '申请成功'})
|
||||
this.$message({ type: 'success', message: res.msg})
|
||||
setTimeout(() => {
|
||||
this.$tab.closeOpenPage({ path: "/claimAndRefund/return/returnApply"});
|
||||
}, 1000)
|
||||
|
|
|
|||
|
|
@ -671,7 +671,7 @@ export default {
|
|||
}
|
||||
const res = await submitRefuseBackApply(params)
|
||||
if (res.code == 200) {
|
||||
this.$message({ type: 'success', message: '申请成功'})
|
||||
this.$message({ type: 'success', message: res.msg})
|
||||
setTimeout(() => {
|
||||
this.$tab.closeOpenPage({ path: "/claimAndRefund/return/returnApplyByCq"});
|
||||
}, 1000)
|
||||
|
|
@ -686,7 +686,7 @@ export default {
|
|||
}
|
||||
const res = await submitBackApplyApi(params)
|
||||
if (res.code == 200) {
|
||||
this.$message({ type: 'success', message: '申请成功'})
|
||||
this.$message({ type: 'success', message: res.msg})
|
||||
setTimeout(() => {
|
||||
this.$tab.closeOpenPage({ path: "/claimAndRefund/return/returnApplyByCq"});
|
||||
}, 1000)
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
},
|
||||
methods: {
|
||||
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() {
|
||||
this.dateRange = [];
|
||||
this.resetForm("queryForm");
|
||||
this.queryParams.time = null;
|
||||
this.queryParams.unitId = null;
|
||||
this.queryParams.proId = null;
|
||||
this.getUnitList();
|
||||
this.getProList();
|
||||
this.handleQuery();
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue