Commit 3f15e2e9 by LJM

修改自营数据

parent 0a311305
Showing with 20 additions and 0 deletions
......@@ -363,6 +363,7 @@ export default {
curr: 0,
item: ['货品信息', '其他信息'],
zyGoodsData: [], //自营货品信息
list_param: [], //自营数据参数集合
searchParams: {
create_time_begin: '',
create_time_end: '',
......@@ -653,6 +654,21 @@ export default {
});
},
/**
* 修改自营数据
*/
saveZyGoodsData() {
this.request(API.saveZyGoodsData, 'GET', { list: this.list_param }, true).then(res => {
if (res.code === 0) {
} else {
uni.showModal({
title: '提示',
content: res.msg,
showCancel: false
});
}
});
},
/**
* 到货登记
* @param {Object} type 1无单号登记 2详情登记
* @param {Object} id
......
......@@ -264,6 +264,10 @@ const API = {
* */
getZyGoodsData: API_BASE + '/api/stockIn/stockInDetail/getZyGoodsData',
/**
* 修改自营数据
* */
saveZyGoodsData: API_BASE + '/api/stockIn/stockInDetail/saveZyGoodsData',
/**
* 库存查询
* */
searchStockList: API_BASE + '/api/h5/stockIn/searchStockList',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment