|
|
@@ -233,7 +233,7 @@ export default {
|
|
|
if (res.code == -300) {
|
|
|
console.log('asdasda',res)
|
|
|
this.$Message.error("文件校验失败,已反馈错误数据")
|
|
|
- //todo
|
|
|
+ //todo 需放开
|
|
|
// window.location.href = this.$config.serviceUrl + res.message
|
|
|
} else if(res.code == 200){
|
|
|
this.$Message.success(this.$t('I_001', {'param':'文件校验通过,成功新建数据'}))
|
|
|
@@ -254,7 +254,7 @@ export default {
|
|
|
}
|
|
|
else{
|
|
|
if(this.tableModel == 'goodSku'){
|
|
|
- //todo
|
|
|
+ //todo this.$config.serviceUrl替换
|
|
|
request('http://192.168.1.24:7001'+ '/' + 'mdm-server-' + this.formData.svcCode + '/mst/goodsSeries/list_by_nopage', {}).then(res =>{
|
|
|
if (res.code === this.$config.SUCCESS_CODE) {
|
|
|
this.leftData = res.data;
|
|
|
@@ -293,7 +293,7 @@ export default {
|
|
|
flgValidList: ["true"],
|
|
|
cpId:this.formData.cpId
|
|
|
}
|
|
|
- //todo
|
|
|
+ //todo this.$config.serviceUrl替换
|
|
|
request('http://192.168.1.24:7001' + '/' + 'mdm-server-' + this.formData.svcCode + '/mst/goodsSku/list_by', params).then(res => {
|
|
|
if (res.code === this.$config.SUCCESS_CODE) {
|
|
|
this.skuTableData = res.data.list;
|
|
|
@@ -312,7 +312,7 @@ export default {
|
|
|
let params = {
|
|
|
flgValid: true,
|
|
|
}
|
|
|
- //todo
|
|
|
+ //todo this.$config.serviceUrl替换
|
|
|
request('http://192.168.1.24:7001' + '/' + 'mdm-server-' + this.formData.svcCode + '/mst/customer/list_by', params).then(res => {
|
|
|
if (res.code === this.$config.SUCCESS_CODE) {
|
|
|
this.cusTableData = res.data.list;
|