完善订单成本编辑与多商品置换,修正锁价跨天作废回池
This commit is contained in:
1 parent
a3262a455d
commit
2e4e7dad55
25 files changed
+430
-109
No files matched your search
@@ -17,8 +17,8 @@
|
||||
if(!/^\d+$/.test(text)||!Number.isSafeInteger(count)||count<1||count>333333333)throw new Error('盒子数量须为支持范围内的正整数');
|
||||
return count;
|
||||
}
|
||||
function presetKind(item){
|
||||
if(!item||item.expense_id||item.funding)return '';
|
||||
function presetKind(item,{recorded=false}={}){
|
||||
if(!item||item.expense_id&&!recorded||item.funding)return '';
|
||||
if(item.key==='shipping'&&item.note==='京东快递'&&Number(item.amount)===8&&item.payer==='owner')return 'jd';
|
||||
if(item.key==='shipping'&&item.note==='圆通快递'&&Number(item.amount)===6&&['owner','assistant','assistant2'].includes(item.payer))return 'yt';
|
||||
if(item.key==='braiding'&&item.note==='钢绳(店里)'&&Number(item.amount)===7&&item.payer==='owner')return 'steel';
|
||||
|
||||
Reference in new issue
Block a user