|
|
@@ -511,9 +511,9 @@ export default {
|
|
|
kefuCode: false, // 显示客服二维码
|
|
|
multipleSelection: [], // 选中的id
|
|
|
invoiceForm: {
|
|
|
- create_model: 0,
|
|
|
- invoice_type: 0,
|
|
|
- invoice_object: 0,
|
|
|
+ create_model: null,
|
|
|
+ invoice_type: null,
|
|
|
+ invoice_object: null,
|
|
|
buyer_info_mc: "",
|
|
|
buyer_info_sh: "",
|
|
|
buyer_info_dz: "",
|
|
|
@@ -708,6 +708,18 @@ export default {
|
|
|
this.$message.warning("请阅读并勾选红色注意事项内容");
|
|
|
return;
|
|
|
}
|
|
|
+ if (this.invoiceForm.create_model === null) {
|
|
|
+ this.$message.warning("请选择创建模式");
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ if (this.invoiceForm.invoice_type === null) {
|
|
|
+ this.$message.warning("请选择发票类型");
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ if (this.invoiceForm.invoice_object === null) {
|
|
|
+ this.$message.warning("请选择抬头类型");
|
|
|
+ return;
|
|
|
+ }
|
|
|
if (!this.invoiceForm.buyer_info_mc) {
|
|
|
this.$message.warning("请输入抬头名称");
|
|
|
return;
|
|
|
@@ -784,9 +796,9 @@ export default {
|
|
|
this.multipleSelection = [];
|
|
|
this.$refs.table.clearSelection();
|
|
|
this.invoiceForm = {
|
|
|
- create_model: 0,
|
|
|
- invoice_type: 0,
|
|
|
- invoice_object: 0,
|
|
|
+ create_model: null,
|
|
|
+ invoice_type: null,
|
|
|
+ invoice_object: null,
|
|
|
buyer_info_mc: "",
|
|
|
buyer_info_sh: "",
|
|
|
buyer_info_dz: "",
|