Commit d6919da1 by LJM

css

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