Commit d6919da1 by LJM

css

parent e8e2292d
Showing with 4 additions and 4 deletions
......@@ -115,7 +115,8 @@ export default {
index: 0,
array: ['物流单号', '入库单号', '入仓号'],
list: [],
detail: {}
detail: {},
stock_in_register_status: 1 //新创建
};
},
onNavigationBarButtonTap(e) {
......@@ -133,8 +134,7 @@ export default {
* 获取列表数据
*/
getData() {
//筛选新创建
this.request(API.stockInRegisterList, 'POST', { page: this.page, limit: this.limit, stock_in_register_status: 1 }, false).then(res => {
this.request(API.stockInRegisterList, 'POST', { page: this.page, limit: this.limit, stock_in_register_status: this.stock_in_register_status }, false).then(res => {
if (res.code === 0) {
this.list = res.data.list;
} else {
......@@ -150,7 +150,7 @@ export default {
* @param {Object} stock_in_sn 入库单号
*/
getDetail(stock_in_sn) {
this.request(API.stockInRegisterList, 'POST', { page: this.page, limit: this.limit, stock_in_register_status: 1, stock_in_sn: stock_in_sn }, false).then(res => {
this.request(API.stockInRegisterList, 'POST', { page: this.page, limit: this.limit, stock_in_register_status: this.stock_in_register_status, stock_in_sn: stock_in_sn }, false).then(res => {
if (res.code === 0) {
this.detail = res.data.list[0];
} else {
......
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