Commit 2a0d1649 by LJM

css

parent d4629f4f
......@@ -497,8 +497,8 @@ export default {
uni.showModal({
content: res.msg,
showCancel: false,
success: function(res) {
if (res.confirm) {
success: data => {
if (data.confirm) {
this.request(API.submitOnShelf, 'POST', { stock_shelf_ids: stock_shelf_ids, is_support_part_shelf: 1 }, true).then(res => {
if (res.code === 0) {
uni.showToast({
......@@ -521,7 +521,7 @@ export default {
});
}
});
} else if (res.cancel) {
} else if (data.cancel) {
console.log('用户点击取消');
}
}
......
......@@ -40,7 +40,7 @@
<view class="search-bar row bothSide verCenter">
<view class="row verCenter">
<text class="iconfont icon-juxing1"></text>
<input class="uni-input" type="number" v-model="formParams.target_printer" placeholder="请输入目标打印机" placeholder-style="color:#919399" />
<input class="uni-input" type="text" v-model="formParams.target_printer" placeholder="请输入目标打印机" placeholder-style="color:#919399" />
</view>
<text class="iconfont icon-a-juxing11" v-if="false"></text>
</view>
......
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