|
@@ -148,6 +148,14 @@ export default {
|
|
// 添加、编辑抬头信息
|
|
// 添加、编辑抬头信息
|
|
submit: async function () {
|
|
submit: async function () {
|
|
let res = null
|
|
let res = null
|
|
|
|
+ if (!this.condition.titleName) return uni.showToast({
|
|
|
|
+ title: '请填写抬头名称',
|
|
|
|
+ icon: 'none',
|
|
|
|
+ });
|
|
|
|
+ if (!this.condition.taxNo) return uni.showToast({
|
|
|
|
+ title: '请填写公司税号',
|
|
|
|
+ icon: 'none',
|
|
|
|
+ });
|
|
try {
|
|
try {
|
|
if ( this.isCompany ) {
|
|
if ( this.isCompany ) {
|
|
if ( !this.condition?.titleName ) {
|
|
if ( !this.condition?.titleName ) {
|