main
fanfan 7 months ago
parent 022cf7f9dc
commit 388469fdff
  1. 3
      pages/invoice/edit.vue
  2. 12
      pages/invoice/index.vue

@ -252,6 +252,9 @@
</script>
<style lang="scss" scoped>
page{
margin-bottom: 50rpx;
}
.invoice {
&-goods {
padding: 0 20rpx 0 40rpx;

@ -20,7 +20,7 @@
{{tabIndex == i?'已设为默认':'设为默认'}}
</view>
<view class="d">
<text @click.stop="onEdit(item)">编辑</text>
<text @click.stop="toDetail(item.id)">编辑</text>
<text @click.stop="onDel(item.id)">删除</text>
</view>
</view>
@ -89,20 +89,14 @@
.orderId
})
},
onEdit(item) {
uni.navigateTo({
url: "/pages/invoice/edit?detail=" + JSON.stringify(item) + '&source=' + 4
.orderId
})
},
toDetail(id) {
uni.navigateTo({
url: "/pages/invoice/detail?id=" + id
url: "/pages/invoice/editset?id=" + id
})
},
onAddInvoice() {
uni.navigateTo({
url: "/pages/invoice/edit?source=" + 3
url: "/pages/invoice/editset"
})
},
}

Loading…
Cancel
Save