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