Commit 490ad412 by LJM

移位

parent c72b2857
......@@ -287,7 +287,36 @@
}, {
"path": "pages/transfer/quick",
"style": {
"navigationBarTitleText": "快速移位"
"navigationBarTitleText": "快速移位",
"app-plus": {
"titleNView": {
"buttons": [{
"index": "0",
"text": "快速移位记录",
"fontSize": "15px",
"color": "#1969F9",
"float": "right",
"width": "120px"
}]
}
}
}
}, {
"path": "pages/transfer/record",
"style": {
"navigationBarTitleText": "快速移位记录",
"app-plus": {
"titleNView": {
"buttons": [{
"index": "0",
"text": "首页",
"fontSize": "15px",
"color": "#1969F9",
"float": "right",
"width": "100px"
}]
}
}
}
}, {
"path": "pages/transfer/task",
......
......@@ -132,7 +132,7 @@
</template>
<template v-else>
<view class="total" v-if="list.length > 0">
<text class="t1">{{ searchParams.stock_in_batch_sn }}</text>
<text class="t1">{{ searchParams.stock_in_batch_sn }}</text>
<text class="t2">该入库批次号有</text>
<text class="t1" style="font-weight: bold;margin: 0 3px;">{{ list.length }}</text>
<text class="t2">条可移位库存,请选择</text>
......@@ -222,7 +222,7 @@
<!-- 无数据展示 -->
<view class="no-date column rowCenter verCenter" v-else>
<text class="iconfont icon-a-juxing21"></text>
<text class="text">查不到当前数据</text>
<text class="text">查不到当前移位数据</text>
</view>
</template>
</view>
......@@ -259,9 +259,6 @@ export default {
onLoad(options) {
this.searchParams.stock_in_batch_sn = options.stock_in_batch_sn || '';
},
onShow() {
this.getData();
},
watch: {
list: {
handler(newList) {
......@@ -376,6 +373,7 @@ export default {
} else {
this.input_flag = false;
this.searchParams.stock_in_batch_sn = '';
this.list = [];
}
}
}
......
......@@ -237,6 +237,14 @@ export default {
}
};
},
onNavigationBarButtonTap(e) {
console.log(e);
if (e.index == 0) {
uni.navigateTo({
url: '/pages/transfer/records'
});
}
},
onLoad(options) {
this.searchParams.transfer_id = options.transfer_id || '';
this.searchParams.transfer_sn = options.transfer_sn || '';
......
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