|
|
@@ -263,6 +263,14 @@ export default {
|
|
|
this.$refs.popup.open('center');
|
|
|
},
|
|
|
closePopup() {
|
|
|
+ if (this.invoiceName === ''){
|
|
|
+ uni.showToast({
|
|
|
+ title: '请填写发票抬头!',
|
|
|
+ icon: "none",
|
|
|
+ duration: 2500,
|
|
|
+ });
|
|
|
+ return;
|
|
|
+ }
|
|
|
|
|
|
if (this.invoicePhone === '' && this.invoiceEmail){
|
|
|
uni.showToast({
|
|
|
@@ -272,6 +280,8 @@ export default {
|
|
|
});
|
|
|
return;
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
|
|
|
this.$refs.popup.close();
|
|
|
let that = this;
|