| | |
| | | <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) { |
| | |
| | | background: 'rgba(0, 0, 0, 0.7)', |
| | | }) |
| | | $.ajax({ |
| | | url: "http://127.0.0.1:9090/basicinfo/begindata/getList1", |
| | | url: "http://127.0.0.1:8133/basicinfo/begindata/getList1", |
| | | 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/tongbu", |
| | | url:"http://127.0.0.1:8133/basicinfo/begindata/tongbu", |
| | | 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) { |
| | |
| | | background: 'rgba(0, 0, 0, 0.7)', |
| | | }) |
| | | $.ajax({ |
| | | url: "http://127.0.0.1:9090/mo/icmo/getList", |
| | | url: "http://127.0.0.1:8133/mo/icmo/getList", |
| | | headers: { |
| | | 'token': localStorage.getItem('token') |
| | | }, |
| | |
| | | background: 'rgba(0, 0, 0, 0.7)', |
| | | }) |
| | | $.ajax({ |
| | | url:"http://127.0.0.1:9090/mo/icmo/softDelete", |
| | | url:"http://127.0.0.1:8133/mo/icmo/softDelete", |
| | | data: JSON.stringify(selectList.value), |
| | | dataType: 'json', |
| | | contentType: 'application/json;charset=UTF-8', |
| | |
| | | dataToSend.fplancommitdate = formatLocalDate(dataToSend.fplancommitdate); |
| | | dataToSend.fplanfinishdate = formatLocalDate(dataToSend.fplanfinishdate); |
| | | $.ajax({ |
| | | url:"http://127.0.0.1:9090/mo/icmo/saveorupdate", |
| | | url:"http://127.0.0.1:8133/mo/icmo/saveorupdate", |
| | | data: JSON.stringify(dataToSend), |
| | | 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 getDepOptions(){ |
| | | $.ajax({ |
| | | url: "http://127.0.0.1:9090/basicinfo/departmentl/getlistfordropdown", |
| | | url: "http://127.0.0.1:8133/basicinfo/departmentl/getlistfordropdown", |
| | | contentType: 'application/json;charset=UTF-8', |
| | | method: 'GET', |
| | | success: function(res) { |
| | |
| | | background: 'rgba(0, 0, 0, 0.7)', |
| | | }) |
| | | $.ajax({ |
| | | url: "http://127.0.0.1:9090/mo/materialreceive/getList", |
| | | url: "http://127.0.0.1:8133/mo/materialreceive/getList", |
| | | headers: { |
| | | 'token': localStorage.getItem('token') |
| | | }, |
| | |
| | | background: 'rgba(0, 0, 0, 0.7)', |
| | | }) |
| | | $.ajax({ |
| | | url:"http://127.0.0.1:9090/mo/materialuse/canelprint", |
| | | url:"http://127.0.0.1:8133/mo/materialuse/canelprint", |
| | | headers: { |
| | | 'token': localStorage.getItem('token') |
| | | }, |
| | |
| | | background: 'rgba(0, 0, 0, 0.7)', |
| | | }) |
| | | $.ajax({ |
| | | url:"http://127.0.0.1:9090/mo/materialuse/canelprint1", |
| | | url:"http://127.0.0.1:8133/mo/materialuse/canelprint1", |
| | | headers: { |
| | | 'token': localStorage.getItem('token') |
| | | }, |
| | |
| | | |
| | | function getDepOptions(){ |
| | | $.ajax({ |
| | | url: "http://127.0.0.1:9090/basicinfo/departmentl/getlistfordropdown", |
| | | url: "http://127.0.0.1:8133/basicinfo/departmentl/getlistfordropdown", |
| | | contentType: 'application/json;charset=UTF-8', |
| | | method: 'GET', |
| | | success: function(res) { |
| | |
| | | background: 'rgba(0, 0, 0, 0.7)', |
| | | }) |
| | | $.ajax({ |
| | | url:"http://127.0.0.1:9090/mo/materialuse/print", |
| | | url:"http://127.0.0.1:8133/mo/materialuse/print", |
| | | headers: { |
| | | 'token': localStorage.getItem('token') |
| | | }, |
| | |
| | | background: 'rgba(0, 0, 0, 0.7)', |
| | | }) |
| | | $.ajax({ |
| | | url: "http://127.0.0.1:9090/mo/materialwwout/getList", |
| | | url: "http://127.0.0.1:8133/mo/materialwwout/getList", |
| | | headers: { |
| | | 'token': localStorage.getItem('token') |
| | | }, |
| | |
| | | background: 'rgba(0, 0, 0, 0.7)', |
| | | }) |
| | | $.ajax({ |
| | | url: "http://127.0.0.1:9090/mo/materialwwout/getListView", |
| | | url: "http://127.0.0.1:8133/mo/materialwwout/getListView", |
| | | headers: { |
| | | 'token': localStorage.getItem('token') |
| | | }, |
| | |
| | | background: 'rgba(0, 0, 0, 0.7)', |
| | | }) |
| | | $.ajax({ |
| | | url:"http://127.0.0.1:9090/mo/materialwwout/tongbu", |
| | | url:"http://127.0.0.1:8133/mo/materialwwout/tongbu", |
| | | headers: { |
| | | 'token': localStorage.getItem('token') |
| | | }, |
| | |
| | | background: 'rgba(0, 0, 0, 0.7)', |
| | | }) |
| | | $.ajax({ |
| | | url:"http://127.0.0.1:9090/mo/materialwwout/caneltongbu", |
| | | url:"http://127.0.0.1:8133/mo/materialwwout/caneltongbu", |
| | | headers: { |
| | | 'token': localStorage.getItem('token') |
| | | }, |
| | |
| | | background: 'rgba(0, 0, 0, 0.7)', |
| | | }) |
| | | $.ajax({ |
| | | url:"http://127.0.0.1:9090/mo/materialuse/canelprint", |
| | | url:"http://127.0.0.1:8133/mo/materialuse/canelprint", |
| | | headers: { |
| | | 'token': localStorage.getItem('token') |
| | | }, |
| | |
| | | |
| | | 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) { |
| | |
| | | data.create_time = tableSearchParam.value.datetime[0] + " - " + tableSearchParam.value.datetime[1] |
| | | } |
| | | $.ajax({ |
| | | url: "http://127.0.0.1:9090/mo/materialwwout/updateprint", |
| | | url: "http://127.0.0.1:8133/mo/materialwwout/updateprint", |
| | | headers: { |
| | | 'token': localStorage.getItem('token') |
| | | }, |
| | |
| | | background: 'rgba(0, 0, 0, 0.7)', |
| | | }) |
| | | $.ajax({ |
| | | url: "http://127.0.0.1:9090/mo/outstock/getList", |
| | | url: "http://127.0.0.1:8133/mo/outstock/getList", |
| | | headers: { |
| | | 'token': localStorage.getItem('token') |
| | | }, |
| | |
| | | background: 'rgba(0, 0, 0, 0.7)', |
| | | }) |
| | | $.ajax({ |
| | | url: "http://127.0.0.1:9090/mo/outstock/softDelete", |
| | | url: "http://127.0.0.1:8133/mo/outstock/softDelete", |
| | | data: JSON.stringify(selectList.value), |
| | | dataType: 'json', |
| | | contentType: 'application/json;charset=UTF-8', |
| | |
| | | item.ffetchdate = formatLocalDate(item.ffetchdate); |
| | | }); |
| | | $.ajax({ |
| | | url: "http://127.0.0.1:9090/mo/outstock/saveorupdate", |
| | | url: "http://127.0.0.1:8133/mo/outstock/saveorupdate", |
| | | data: JSON.stringify({ |
| | | outStockDTO: outstockDTO, |
| | | outStockDTOS: outstockDTOS |
| | |
| | | background: 'rgba(0, 0, 0, 0.7)', |
| | | }) |
| | | $.ajax({ |
| | | url: "http://127.0.0.1:9090/mo/outstock/getbyid", |
| | | url: "http://127.0.0.1:8133/mo/outstock/getbyid", |
| | | data: JSON.stringify(row), |
| | | dataType: 'json', |
| | | contentType: 'application/json;charset=UTF-8', |
| | |
| | | |
| | | 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) { |
| | |
| | | |
| | | function getCustomer() { |
| | | $.ajax({ |
| | | url: "http://127.0.0.1:9090/basicinfo/customer/getlistfordropdown", |
| | | url: "http://127.0.0.1:8133/basicinfo/customer/getlistfordropdown", |
| | | contentType: 'application/json;charset=UTF-8', |
| | | method: 'GET', |
| | | success: function (res) { |
| | |
| | | background: 'rgba(0, 0, 0, 0.7)', |
| | | }) |
| | | $.ajax({ |
| | | url: "http://127.0.0.1:9090/mo/poinstock/getList", |
| | | url: "http://127.0.0.1:8133/mo/poinstock/getList", |
| | | headers: { |
| | | 'token': localStorage.getItem('token') |
| | | }, |
| | |
| | | background: 'rgba(0, 0, 0, 0.7)', |
| | | }) |
| | | $.ajax({ |
| | | url:"http://127.0.0.1:9090/mo/poinstock/softDelete", |
| | | url:"http://127.0.0.1:8133/mo/poinstock/softDelete", |
| | | data: JSON.stringify(selectList.value), |
| | | dataType: 'json', |
| | | contentType: 'application/json;charset=UTF-8', |
| | |
| | | |
| | | poInStockDTO.fheadselfp0338 = formatLocalDate(poInStockDTO.fheadselfp0338); |
| | | $.ajax({ |
| | | url:"http://127.0.0.1:9090/mo/poinstock/saveorupdate", |
| | | url:"http://127.0.0.1:8133/mo/poinstock/saveorupdate", |
| | | data: JSON.stringify({ |
| | | poInStockDTO : poInStockDTO, |
| | | poInStockDTOS: poInStockDTOS |
| | |
| | | background: 'rgba(0, 0, 0, 0.7)', |
| | | }) |
| | | $.ajax({ |
| | | url:"http://127.0.0.1:9090/mo/poinstock/softclose", |
| | | url:"http://127.0.0.1:8133/mo/poinstock/softclose", |
| | | 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/mo/poinstock/getbyid", |
| | | url:"http://127.0.0.1:8133/mo/poinstock/getbyid", |
| | | data: JSON.stringify(row), |
| | | dataType: 'json', |
| | | contentType: 'application/json;charset=UTF-8', |
| | |
| | | |
| | | 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) { |
| | |
| | | background: 'rgba(0, 0, 0, 0.7)', |
| | | }) |
| | | $.ajax({ |
| | | url: "http://127.0.0.1:9090/mo/materialreceive/getList", |
| | | url: "http://127.0.0.1:8133/mo/materialreceive/getList", |
| | | headers: { |
| | | 'token': localStorage.getItem('token') |
| | | }, |
| | |
| | | background: 'rgba(0, 0, 0, 0.7)', |
| | | }) |
| | | $.ajax({ |
| | | url: "http://127.0.0.1:9090/mo/materialreceive/tongbu", |
| | | url: "http://127.0.0.1:8133/mo/materialreceive/tongbu", |
| | | headers: { |
| | | 'token': localStorage.getItem('token') |
| | | }, |
| | |
| | | background: 'rgba(0, 0, 0, 0.7)', |
| | | }) |
| | | $.ajax({ |
| | | url: "http://127.0.0.1:9090/mo/materialreceive/caneltongbu1", |
| | | url: "http://127.0.0.1:8133/mo/materialreceive/caneltongbu1", |
| | | headers: { |
| | | 'token': localStorage.getItem('token') |
| | | }, |
| | |
| | | background: 'rgba(0, 0, 0, 0.7)', |
| | | }) |
| | | $.ajax({ |
| | | url: "http://127.0.0.1:9090/mo/materialreceive/tongbureturn", |
| | | url: "http://127.0.0.1:8133/mo/materialreceive/tongbureturn", |
| | | headers: { |
| | | 'token': localStorage.getItem('token') |
| | | }, |
| | |
| | | background: 'rgba(0, 0, 0, 0.7)', |
| | | }) |
| | | $.ajax({ |
| | | url: "http://127.0.0.1:9090/mo/materialreceive/caneltongbureturn", |
| | | url: "http://127.0.0.1:8133/mo/materialreceive/caneltongbureturn", |
| | | headers: { |
| | | 'token': localStorage.getItem('token') |
| | | }, |
| | |
| | | background: 'rgba(0, 0, 0, 0.7)', |
| | | }) |
| | | $.ajax({ |
| | | url: "http://127.0.0.1:9090/mo/tongbu/getList", |
| | | url: "http://127.0.0.1:8133/mo/tongbu/getList", |
| | | dataType: 'json', |
| | | contentType: 'application/json;charset=UTF-8', |
| | | method: 'GET', |
| | |
| | | background: 'rgba(0, 0, 0, 0.7)', |
| | | }) |
| | | $.ajax({ |
| | | url: "http://127.0.0.1:9090/mo/tongbu/"+method, |
| | | url: "http://127.0.0.1:8133/mo/tongbu/"+method, |
| | | data: { |
| | | izSrcVouch:izSrcVouch |
| | | }, |
| | |
| | | background: 'rgba(0, 0, 0, 0.7)', |
| | | }) |
| | | $.ajax({ |
| | | url:"http://127.0.0.1:9090/mo/tongbu/tongbu", |
| | | url:"http://127.0.0.1:8133/mo/tongbu/tongbu", |
| | | 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/mo/tongbu/"+method, |
| | | url:"http://127.0.0.1:8133/mo/tongbu/"+method, |
| | | data: JSON.stringify({ |
| | | list : JSON.stringify(selectListDialog.value), |
| | | izSrcVouch : izSrcVouch |
| | |
| | | background: 'rgba(0, 0, 0, 0.7)', |
| | | }) |
| | | $.ajax({ |
| | | url: "http://127.0.0.1:9090/mo/wwreport/getList", |
| | | url: "http://127.0.0.1:8133/mo/wwreport/getList", |
| | | data: data, |
| | | dataType: 'json', |
| | | contentType: 'application/json;charset=UTF-8', |
| | |
| | | background: 'rgba(0, 0, 0, 0.7)', |
| | | }) |
| | | $.ajax({ |
| | | url: "http://127.0.0.1:9090/mo/wwreport/export", |
| | | url: "http://127.0.0.1:8133/mo/wwreport/export", |
| | | data: JSON.stringify({ |
| | | data: JSON.stringify(tableData.value), |
| | | datas: JSON.stringify(otherData.value) |
| | |
| | | background: 'rgba(0, 0, 0, 0.7)', |
| | | }) |
| | | $.ajax({ |
| | | url: "http://127.0.0.1:9090/mo/wwreport/export1", |
| | | url: "http://127.0.0.1:8133/mo/wwreport/export1", |
| | | 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) { |