diff --git a/BagStation/orderInvoicing/orderInvoicing.vue b/BagStation/orderInvoicing/orderInvoicing.vue
index a5746a3..fb93dae 100644
--- a/BagStation/orderInvoicing/orderInvoicing.vue
+++ b/BagStation/orderInvoicing/orderInvoicing.vue
@@ -81,14 +81,27 @@
-
+ 功能暂时关闭 详情请咨询客服
+
+
+
+ 用户通知
+ {{noticeInstance.content}}
+
+ 取消
+
+ {{noticeInstance.confirmText}}
+
+
+
+
@@ -113,19 +126,26 @@
invoicBankNumber: '', //银行账号
remark: '', //发票备注
invoicEmail: '', //电子邮箱,
- orderSerialNumber: '' ,//订单编号
- clientBelong:'BAICHUAN'
+ orderSerialNumber: '', //订单编号
+ clientBelong: 'BAICHUAN'
+ },
+ noticeInstance: {
+ content: '',
+ countdown: 5,
+ confirmText: '我已知晓(5s)'
}
+
}
},
onLoad(options) {
- console.log(options);
-
+ this.noticeInit()
+
+
this.Invoicing.orderSerialNumber = options.orderId
this.orderId = options.orderId
this.Invoicing.customerId = options.customerId
- let realAmount = options.payRealAmount
- console.log(realAmount,'++++++++++++')
+ let realAmount = options.payRealAmount
+ console.log(realAmount, '++++++++++++')
this.code = options.code
if (options.code == 2) {
this.getchange(realAmount)
@@ -135,6 +155,30 @@
},
methods: {
+ noticeInit() {
+ let timer = setInterval(() => {
+ this.noticeInstance.countdown--
+ if (this.noticeInstance.countdown == 0) {
+ this.noticeInstance.confirmText = '我已知晓'
+ clearInterval(timer)
+ return
+ }
+ this.noticeInstance.confirmText = `我已知晓(${this.noticeInstance.countdown}s)`
+ }, 1000)
+ let text =
+ '本网站及与其链接网站仅提供求职、招聘及其它与此相关联之服务。个人招聘及其它与此相关联之服务。个人cccccccccccccccccccccccccccc招聘及其它与此相关联之服务。个人用户、企业用户和人力资源机构用户行为本网站及与其链接网站仅提供求职、招聘及其它与此相关联之服务。个人用户、企业用户和人力资源机构用户行为必须受以下所列条款制约,如若不接受该协议,则不能成为本网站用必须受以下所列条款制约,如若不接受该协议,则不能成为本网站用户,接受本声明之条款,表明你将遵守本协议之规定。该协议一经接受立即生效。本网站保留更新本协议,之后再通知客户的权力。如果您对本网站声明有关本协议的任何更改都是不可接受的,这样您享有的相关资格与服务即被取消;否则本网站将默认您的行为构成对本协议更改的接受。'
+ this.noticeInstance.content = text + text + text + text
+ this.$refs.popup.open('center')
+ },
+ back() {
+ uni.navigateBack()
+ },
+ iKnow() {
+ if (this.noticeInstance.countdown) {
+ return
+ }
+ this.$refs.popup.close()
+ },
backtodetail() {
uni.switchTab({
url: '../../pages/tabbar/order/orderList/orderList'
@@ -156,7 +200,9 @@
if (this.code == 1) {
console.log('这里是发布')
console.log(this.Invoicing)
- financelApi.save( Object.assign(this.Invoicing,{invoicAmount:this.realAmount}) ).then((res) => {
+ financelApi.save(Object.assign(this.Invoicing, {
+ invoicAmount: this.realAmount
+ })).then((res) => {
if (res.code == 20000) {
if (res.data != null && res.data.remark != null) {
uni.showToast({
@@ -179,7 +225,9 @@
})
} else if (this.code == 2) {
console.log('这里是更新')
- financelApi.orderUpdate(Object.assign(this.Invoicing,{invoicAmount:this.realAmount})).then((res) => {
+ financelApi.orderUpdate(Object.assign(this.Invoicing, {
+ invoicAmount: this.realAmount
+ })).then((res) => {
console.log(res)
if (res.code == 20000) {
if (res.data != null && res.data.remark != null) {
@@ -208,6 +256,69 @@