diff --git a/yxt-as-ui/src/api/Common/dictcommons.js b/yxt-as-ui/src/api/Common/dictcommons.js index e7c9d3ad71..974eb9a344 100644 --- a/yxt-as-ui/src/api/Common/dictcommons.js +++ b/yxt-as-ui/src/api/Common/dictcommons.js @@ -194,7 +194,7 @@ export function getAsBusrepairBill(params) { // 查询分页列表 --商品类别列表 export function getGoodsCategory(params) { return request({ - url: '/as/v1/AsBusrepairBill/listPage', + url: '/yxtbase/apiadmin/base/basegoodstype/selectByUseOrgSid', method: 'post', data: params, headers: { diff --git a/yxt-as-ui/src/api/storage/adjustment.js b/yxt-as-ui/src/api/storage/adjustment.js index e13a9ad43d..f7837ff9f5 100644 --- a/yxt-as-ui/src/api/storage/adjustment.js +++ b/yxt-as-ui/src/api/storage/adjustment.js @@ -5,7 +5,7 @@ export default { // 查询分页列表 listPage: function(params) { return request({ - url: '/wms/apiadmin/WmsShelfBill/listPage', + url: '/sms/v1/smspricestrategybill/listPage', method: 'post', data: params, headers: { 'Content-Type': 'application/json' } @@ -15,7 +15,7 @@ export default { // 初始化 init: function(data) { return request({ - url: '/wms/apiadmin/WmsShelfBill/details?sid='+data, + url: '/sms/v1/smspricestrategybill/fetchDetailsBySid/'+data, method: 'get' }); }, @@ -24,7 +24,17 @@ export default { // 新增、保存 save: function(data) { return request({ - url: '/wms/apiadmin/WmsShelfBill/saveOrUpdate', + url: '/sms/v1/smspricestrategybill/save', + method: 'post', + data: data, + headers: { 'Content-Type': 'application/json' } + }); + }, + + // 新增、保存 + submit: function(data) { + return request({ + url: '/sms/v1/smspricestrategybill/submit', method: 'post', data: data, headers: { 'Content-Type': 'application/json' } @@ -34,7 +44,7 @@ export default { deleteBySids: function(data) { return request({ - url: '/wms/apiadmin/WmsShelfBill/delBySids', + url: '/sms/v1/smspricestrategybill/delBySids', method: 'DELETE', data: data, headers: { 'Content-Type': 'application/json' } diff --git a/yxt-as-ui/src/views/storage/adjustment/adjustmentAdd.vue b/yxt-as-ui/src/views/storage/adjustment/adjustmentAdd.vue index 3421b499bb..ee3b77b9c1 100644 --- a/yxt-as-ui/src/views/storage/adjustment/adjustmentAdd.vue +++ b/yxt-as-ui/src/views/storage/adjustment/adjustmentAdd.vue @@ -48,19 +48,27 @@