Commit 9517a3e0 by LJM

bug

parent a4d0c105
...@@ -571,7 +571,7 @@ export default { ...@@ -571,7 +571,7 @@ export default {
*/ */
createTallyReceiveSubmit() { createTallyReceiveSubmit() {
//仅单据的组织为深贸电子时,容器必填,相应操作容器必填 //仅单据的组织为深贸电子时,容器必填,相应操作容器必填
if (company_id == 1) { if (this.company_id == 1) {
if (this.searchParams.container_id) { if (this.searchParams.container_id) {
if (!this.is_submit) { if (!this.is_submit) {
uni.showToast({ uni.showToast({
...@@ -581,7 +581,7 @@ export default { ...@@ -581,7 +581,7 @@ export default {
return false; return false;
} }
} }
} else if (company_id == 2) { } else if (this.company_id == 2) {
if (!this.searchParams.container_id) { if (!this.searchParams.container_id) {
uni.showToast({ uni.showToast({
title: '请输入容器', title: '请输入容器',
...@@ -634,7 +634,7 @@ export default { ...@@ -634,7 +634,7 @@ export default {
}, },
showDrawer() { showDrawer() {
//仅单据的组织为深贸电子时,容器必填,相应操作容器必填 //仅单据的组织为深贸电子时,容器必填,相应操作容器必填
if (company_id == 1) { if (this.company_id == 1) {
if (this.searchParams.container_id) { if (this.searchParams.container_id) {
if (!this.is_submit) { if (!this.is_submit) {
uni.showToast({ uni.showToast({
...@@ -644,7 +644,7 @@ export default { ...@@ -644,7 +644,7 @@ export default {
return false; return false;
} }
} }
} else if (company_id == 2) { } else if (this.company_id == 2) {
if (!this.searchParams.container_id) { if (!this.searchParams.container_id) {
uni.showToast({ uni.showToast({
title: '请输入容器', title: '请输入容器',
......
...@@ -732,7 +732,7 @@ export default { ...@@ -732,7 +732,7 @@ export default {
*/ */
createTallyReceive() { createTallyReceive() {
//仅单据的组织为深贸电子时,容器必填,相应操作容器必填 //仅单据的组织为深贸电子时,容器必填,相应操作容器必填
if (company_id == 1) { if (this.company_id == 1) {
if (this.searchParams.container_id) { if (this.searchParams.container_id) {
if (!this.is_submit) { if (!this.is_submit) {
uni.showToast({ uni.showToast({
...@@ -742,7 +742,7 @@ export default { ...@@ -742,7 +742,7 @@ export default {
return false; return false;
} }
} }
} else if (company_id == 2) { } else if (this.company_id == 2) {
if (!this.searchParams.container_id) { if (!this.searchParams.container_id) {
uni.showToast({ uni.showToast({
title: '请输入容器', title: '请输入容器',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment