|
@@ -236,38 +236,72 @@ export default {
|
|
|
self.$api.getbaseprofiletpgetInfo({ goodsId: self.goodsId }).then(result => {
|
|
|
if (result.data.code === 200) {
|
|
|
if (!result.data.data || (result.data.data.status === 3 && result.data.data.changeStatus === 1)) {
|
|
|
- uni.showModal({
|
|
|
- content: '资料审核不通过,请前往重新填写',
|
|
|
- cancelText: '返回',
|
|
|
- success: function(resultst) {
|
|
|
- if (resultst.confirm) {
|
|
|
- self.$navTo.togo('/pages2/verify/input', {
|
|
|
- id: self.goodsId
|
|
|
- });
|
|
|
+ if (!result.data.data) {
|
|
|
+ uni.showModal({
|
|
|
+ content: '请前往填写资料',
|
|
|
+ cancelText: '返回',
|
|
|
+ success: function(resultst) {
|
|
|
+ if (resultst.confirm) {
|
|
|
+ self.$navTo.togo('/pages2/verify/input', {
|
|
|
+ id: self.goodsId
|
|
|
+ });
|
|
|
+ }
|
|
|
+ if (resultst.cancel) {
|
|
|
+ uni.navigateBack();
|
|
|
+ }
|
|
|
}
|
|
|
- if (resultst.cancel) {
|
|
|
- uni.navigateBack();
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ uni.showModal({
|
|
|
+ content: '资料审核不通过,请前往重新填写',
|
|
|
+ cancelText: '返回',
|
|
|
+ success: function(resultst) {
|
|
|
+ if (resultst.confirm) {
|
|
|
+ self.$navTo.togo('/pages2/verify/input', {
|
|
|
+ id: self.goodsId
|
|
|
+ });
|
|
|
+ }
|
|
|
+ if (resultst.cancel) {
|
|
|
+ uni.navigateBack();
|
|
|
+ }
|
|
|
}
|
|
|
- }
|
|
|
- });
|
|
|
+ });
|
|
|
+ }
|
|
|
} else if (result.data.data.status === 1 && res.data.rows[0].keyValue2) {
|
|
|
self.$api.getbaseprofileStampgetInfo({ goodsId: self.goodsId }).then(k => {
|
|
|
if (k.data.code === 200) {
|
|
|
if (!k.data.data || (k.data.data.status === 3 && k.data.data.changeStatus === 1)) {
|
|
|
- uni.showModal({
|
|
|
- cancelText: '返回',
|
|
|
- content: '资料盖章审核不通过,请前往重新填写',
|
|
|
- success: function(resultst) {
|
|
|
- if (resultst.confirm) {
|
|
|
- self.$navTo.togo('/pages2/verify/input2', {
|
|
|
- id: self.goodsId
|
|
|
- });
|
|
|
+ if (!k.data.data) {
|
|
|
+ uni.showModal({
|
|
|
+ cancelText: '返回',
|
|
|
+ content: '请前往填写盖章资料',
|
|
|
+ success: function(resultst) {
|
|
|
+ if (resultst.confirm) {
|
|
|
+ self.$navTo.togo('/pages2/verify/input2', {
|
|
|
+ id: self.goodsId
|
|
|
+ });
|
|
|
+ }
|
|
|
+ if (resultst.cancel) {
|
|
|
+ uni.navigateBack();
|
|
|
+ }
|
|
|
}
|
|
|
- if (resultst.cancel) {
|
|
|
- uni.navigateBack();
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ uni.showModal({
|
|
|
+ cancelText: '返回',
|
|
|
+ content: '资料盖章审核不通过,请前往重新填写',
|
|
|
+ success: function(resultst) {
|
|
|
+ if (resultst.confirm) {
|
|
|
+ self.$navTo.togo('/pages2/verify/input2', {
|
|
|
+ id: self.goodsId
|
|
|
+ });
|
|
|
+ }
|
|
|
+ if (resultst.cancel) {
|
|
|
+ uni.navigateBack();
|
|
|
+ }
|
|
|
}
|
|
|
- }
|
|
|
- });
|
|
|
+ });
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
});
|