|
@ -552,6 +552,11 @@ namespace BBWY.Client.ViewModels.PackTask |
|
|
|
|
|
|
|
|
private void InseartCer() |
|
|
private void InseartCer() |
|
|
{ |
|
|
{ |
|
|
|
|
|
if (IsSetSpuCertificate) |
|
|
|
|
|
{ |
|
|
|
|
|
new TipsWindow("无可用模板").Show(); |
|
|
|
|
|
return; |
|
|
|
|
|
} |
|
|
CertificateModel = new CertificateModel() |
|
|
CertificateModel = new CertificateModel() |
|
|
{ |
|
|
{ |
|
|
//SpuId = SpuCertificateModel.SpuId,
|
|
|
//SpuId = SpuCertificateModel.SpuId,
|
|
@ -587,7 +592,7 @@ namespace BBWY.Client.ViewModels.PackTask |
|
|
private void SaveSpuCer() |
|
|
private void SaveSpuCer() |
|
|
{ |
|
|
{ |
|
|
if (string.IsNullOrEmpty(SpuCertificateModel.ExcuteStander) |
|
|
if (string.IsNullOrEmpty(SpuCertificateModel.ExcuteStander) |
|
|
|| string.IsNullOrEmpty(SpuCertificateModel.Shader) || string.IsNullOrEmpty(SpuCertificateModel.BrandName) |
|
|
|| string.IsNullOrEmpty(SpuCertificateModel.BrandName) |
|
|
|| string.IsNullOrEmpty(SpuCertificateModel.Brand) || string.IsNullOrEmpty(SpuCertificateModel.ProductShop) |
|
|
|| string.IsNullOrEmpty(SpuCertificateModel.Brand) || string.IsNullOrEmpty(SpuCertificateModel.ProductShop) |
|
|
|| string.IsNullOrEmpty(SpuCertificateModel.ProductAdress)) |
|
|
|| string.IsNullOrEmpty(SpuCertificateModel.ProductAdress)) |
|
|
{ |
|
|
{ |
|
@ -615,8 +620,6 @@ namespace BBWY.Client.ViewModels.PackTask |
|
|
IsSetSpuCertificate = false; |
|
|
IsSetSpuCertificate = false; |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
IsNeedCertificateModel = "需要"; |
|
|
|
|
|
CertificateModel.Id = resData.Data; |
|
|
|
|
|
IsSetSpuCertificate = false; |
|
|
IsSetSpuCertificate = false; |
|
|
setSpuCerWindow.Close(); |
|
|
setSpuCerWindow.Close(); |
|
|
} |
|
|
} |
|
|