| | |
| | | <el-form :inline="true"> |
| | | <el-form-item label=""> |
| | | <el-upload |
| | | action="http://127.0.0.1:9090/basicinfo/begindata/readExcel" |
| | | action="http://127.0.0.1:8133/basicinfo/begindata/readExcel" |
| | | :show-file-list="false" |
| | | > |
| | | <el-button type="primary">导入</el-button> |
| | |
| | | background: 'rgba(0, 0, 0, 0.7)', |
| | | }) |
| | | $.ajax({ |
| | | url: "http://127.0.0.1:9090/basicinfo/begindata/getList", |
| | | url: "http://127.0.0.1:8133/basicinfo/begindata/getList", |
| | | headers: { |
| | | 'token': localStorage.getItem('token') |
| | | }, |
| | |
| | | background: 'rgba(0, 0, 0, 0.7)', |
| | | }) |
| | | $.ajax({ |
| | | url:"http://127.0.0.1:9090/basicinfo/begindata/softDelete", |
| | | url:"http://127.0.0.1:8133/basicinfo/begindata/softDelete", |
| | | data: JSON.stringify(selectList.value), |
| | | dataType: 'json', |
| | | contentType: 'application/json;charset=UTF-8', |
| | |
| | | background: 'rgba(0, 0, 0, 0.7)', |
| | | }) |
| | | $.ajax({ |
| | | url:"http://127.0.0.1:9090/basicinfo/begindata/saveorupdate", |
| | | url:"http://127.0.0.1:8133/basicinfo/begindata/saveorupdate", |
| | | data: JSON.stringify(formData.value), |
| | | dataType: 'json', |
| | | contentType: 'application/json;charset=UTF-8', |
| | |
| | | background: 'rgba(0, 0, 0, 0.7)', |
| | | }) |
| | | $.ajax({ |
| | | url: "http://127.0.0.1:9090/basicinfo/begindata/export", |
| | | url: "http://127.0.0.1:8133/basicinfo/begindata/export", |
| | | data: data, |
| | | contentType: 'application/json;charset=UTF-8', |
| | | method: 'GET', |
| | |
| | | |
| | | function getVendor(){ |
| | | $.ajax({ |
| | | url: "http://127.0.0.1:9090/basicinfo/vendor/getlistfordropdown", |
| | | url: "http://127.0.0.1:8133/basicinfo/vendor/getlistfordropdown", |
| | | contentType: 'application/json;charset=UTF-8', |
| | | method: 'GET', |
| | | success: function(res) { |