Commit 3ce4a255 authored by luofangping's avatar luofangping

fix:useStock字段问题

parent 2d11d900
......@@ -208,8 +208,11 @@ var ActivityConfigService = /** @class */ (function () {
case 3:
isEditPrize = bothIds.includes(allPrizeList[i]._id);
if (!isEditPrize) return [3 /*break*/, 5];
if (allPrizeList[i].switchStock === constants_1.STOCK_TYPE.LIMIT) {
allPrizeList[i].useStock ? delete allPrizeList[i].useStock : '';
if (allPrizeList[i].switchStock === constants_1.STOCK_TYPE.NO_LIMIT) {
allPrizeList[i].useStock = 0;
}
else if (allPrizeList[i].switchStock === constants_1.STOCK_TYPE.LIMIT) {
(allPrizeList[i].useStock || allPrizeList[i].useStock === 0) && delete allPrizeList[i].useStock;
}
return [4 /*yield*/, this.updateOnePrizeById(allPrizeList[i]._id, allPrizeList[i])];
case 4:
......
{"version":3,"file":"activityconfig.service.js","sourceRoot":"","sources":["../../src/service/activityconfig.service.ts"],"names":[],"mappings":";AAAA,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEd,8BAAgC;AAChC,4BAAqE;AAErE,0CAAsF;AACtF,kCAAsC;AAEtC;IAGE,+BAAY,OAAgB;QAC1B,IAAI,CAAC,iBAAiB,GAAG,IAAI,aAAO,CAAC,OAAO,EAAE,4BAAuB,CAAC,CAAA;QACtE,IAAI,CAAC,sBAAsB,GAAG,IAAI,aAAO,CAAC,OAAO,EAAE,yBAAoB,CAAC,CAAA;IAC1E,CAAC;IAED,QAAQ;IACF,+CAAe,GAArB,UAAsB,UAA6B,EAAE,KAA4B,EAAE,MAAc;;;;;;;wBAEhF,qBAAM,IAAI,CAAC,iBAAiB,CAAC,SAAS,uBAC9C,UAAU,KACb,UAAU,EAAE,IAAI,CAAC,GAAG,EAAE,EACtB,UAAU,EAAE,IAAI,CAAC,GAAG,EAAE,EACtB,YAAY,EAAE,yBAAa,CAAC,KAAK,EACjC,eAAe,EAAE,6BAAiB,CAAC,UAAU,IAC7C,EAAA;;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kBAAkB;YACjB,SAAS,EAAE,WAAW,CAAC,IAAI,CAAC,UAAC,CAAC,EAAC,CAAC,IAAK,OAAA,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,KAAK,EAAjB,CAAiB,CAAC;SACxD,CAAA;IACH,CAAC;IACD,oCAAoC;IACpC,sDAAsB,GAAtB,UAAuB,MAAwB;QAC7C,IAAI,YAAY,GAAG,CAAC,CAAA;QACpB,OAAO,MAAM,CAAC,GAAG,CAAC,UAAA,CAAC;YACjB,IAAI,CAAC,CAAC,CAAC,WAAW;gBAAE,OAAO,CAAC,CAAA;YAC5B,oBAAoB;YACpB,IAAI,CAAC,CAAC,CAAC,WAAW,KAAK,CAAC;gBACtB,6BACK,CAAC,KACJ,aAAa,EAAE,OAAO,EACtB,WAAW,EAAE,OAAO,IACrB;YACH,IAAM,aAAa,GAAG,YAAY,CAAA;YAClC,IAAM,WAAW,GAAG,CAAC,YAAY,GAAG,mBAAW,CAAC,CAAC,CAAC,CAAC,WAAW,GAAG,GAAG,CAAC,GAAG,CAAC,CAAA;YACzE,YAAY,GAAG,CAAC,YAAY,GAAG,mBAAW,CAAC,CAAC,CAAC,CAAC,WAAW,GAAG,GAAG,CAAC,CAAA;YAChE,6BACK,CAAC,KACJ,aAAa,eAAA;gBACb,WAAW,aAAA,IACZ;QACH,CAAC,CAAC,CAAA;IACJ,CAAC;IACH,4BAAC;AAAD,CAAC,AA7aD,IA6aC"}
\ No newline at end of file
......@@ -119,8 +119,10 @@ export default class ActivityConfigService {
// 更新的奖品
const isEditPrize = bothIds.includes(allPrizeList[i]._id)
if (isEditPrize) {
if (allPrizeList[i].switchStock === STOCK_TYPE.LIMIT) {
allPrizeList[i].useStock ? delete allPrizeList[i].useStock : ''
if (allPrizeList[i].switchStock === STOCK_TYPE.NO_LIMIT) {
allPrizeList[i].useStock = 0;
} else if (allPrizeList[i].switchStock === STOCK_TYPE.LIMIT) {
(allPrizeList[i].useStock || allPrizeList[i].useStock ===0) && delete allPrizeList[i].useStock;
}
const editResult = await this.updateOnePrizeById(allPrizeList[i]._id, allPrizeList[i])
if (editResult) {
......
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 to comment