用户拍单可以通过商品选择sku

This commit is contained in:
wule committed 2026-09-06 18:56:37 +08:00
1 parent ec4d8073b3
commit 8e33d095f3
17 files changed
+1620 -616

No files matched your search

@@ -45,8 +45,8 @@ XDYGZC ;广州仓 ;何外华 ;13826339849 ;广州市从化区太平镇
XDYWHC ;武汉2仓 ;杨先生 ;13044121071 ;湖北省武汉市汉阳区洲头街道汉新大道2号3栋17楼 ;13 ;180 ;1548 ;湖北省 ;武汉市
XDYSHANDC ;山东2仓 ;鸿鹄小申 ;13044121239 ;山东省临沂市费县南外环东转盘往东200米顺通快递有限公司(仓库二楼) ;22 ;292 ;2415 ;山东省 ;临沂市
XDYSHC ;上海新仓 ;纪先生 ;13044121150 ;上海市上海市普陀区真如镇街道真北路2653弄T区 ;25 ;321 ;2709 ;上海市 ;上海市
XDYSZC ;深圳仓 ;峰峰 ;15343351331 ;广东省东莞市凤岗镇浸校塘东良巷逸乐轩E栋5号楼 ;6 ;79 ;732 ;广东省 ;东莞市";
//XDYYWC ;义乌仓 ;小田 ;19058117371 ;浙江省金华市义乌市北苑街道西站大道妈妈商贸18号库39号楼誉达 ;31 ;386 ;3409 ;浙江省 ;金华市
XDYSZC ;深圳仓 ;峰峰 ;15343351331 ;广东省东莞市凤岗镇浸校塘东良巷逸乐轩E栋5号楼 ;6 ;79 ;732 ;广东省 ;东莞市
XDYYWC ;义乌仓 ;小田 ;19058117371 ;浙江省金华市义乌市北苑街道西站大道妈妈商贸18号库39号楼誉达 ;31 ;386 ;3409 ;浙江省 ;金华市";
//XDYJJC ;晋江仓 ;安群 ;19905951984 ;福建省泉州市南安市霞美镇温山村431号鸿鹄大厦 ;4 ;58 ;569 ;福建省 ;泉州市
//XDYCDC ;成都仓 ;谢春虹 ;15828201479 ;四川省资阳市乐至县仙鹤大道桑都街15-19号仓库(不要放驿站,送到仓库) ;26 ;340 ;2898 ;四川省 ;资阳市
//XDYCHONGQC ;重庆2仓 ;翁桂柱 ;18923911055 ;重庆市九龙坡区中梁山街道云飞九龙香山(二纵线东50米)重庆九龙坡区渝州公司 ;32 ;394 ;3339
+29 -6
View File
@@ -1,4 +1,5 @@
using AllBase.Model.Result;
using AllBase.Model.MvvmBaseClasses;
using AllBase.Model.Result;
using NaiBa.Util;
using Newtonsoft.Json;
using NPOI.SS.Formula.Functions;
@@ -32,14 +33,32 @@ namespace AllBase.Model.DBModel
public DateTime add_time { get; set; }
public DateTime mdy_time { get; set; }
}
public class WXBuyMapSkusInfo
public class WXBuyMapSkusInfo : PropertyNotifyObject
{
public bool? IsChecked
{
get { return this.GetValue(x => x.IsChecked); }
set { this.SetValue(x => x.IsChecked, value); }
}
public long id { get; set; }
public string user_name { get; set; }
public string spu_code { get; set; }
public string map_url { get; set; }
public string map_goods_name { get; set; }
public string map_goods_id { get; set; }
public string map_url
{
get { return this.GetValue(x => x.map_url); }
set { this.SetValue(x => x.map_url, value); }
}
public string map_goods_name
{
get { return this.GetValue(x => x.map_goods_name); }
set { this.SetValue(x => x.map_goods_name, value); }
}
public string map_goods_id
{
get { return this.GetValue(x => x.map_goods_id); }
set { this.SetValue(x => x.map_goods_id, value); }
}
string _map_skus;
public string map_skus
{
@@ -55,7 +74,11 @@ namespace AllBase.Model.DBModel
}
}
[JsonIgnore]
public pddFrontGoods3Lite pdd_front_goods3_Lite { get; private set; }
public pddFrontGoods3Lite pdd_front_goods3_Lite
{
get { return this.GetValue(x => x.pdd_front_goods3_Lite); }
set { this.SetValue(x => x.pdd_front_goods3_Lite, value); }
}
/// <summary>
/// 发货地(省,市)
/// </summary>
@@ -38,10 +38,20 @@ namespace AllBase.Model.DBModel
get { return this.GetValue(x => x.BuyMap); }
set { this.SetValue(x => x.BuyMap, value); }
}
public Visibility MapSkusBtnVisibility
{
get { return this.GetValue(x => x.MapSkusBtnVisibility); }
set { this.SetValue(x => x.MapSkusBtnVisibility, value); }
}
public List<WXBuyMapSkusInfo> BuyMapSkus
{
get { return this.GetValue(x => x.BuyMapSkus); }
set { this.SetValue(x => x.BuyMapSkus, value); }
set
{
this.SetValue(x => x.BuyMapSkus, value);
if (value != null && value.Count > 0) MapSkusBtnVisibility = Visibility.Visible;
else MapSkusBtnVisibility = Visibility.Collapsed;
}
}
/// <summary>
/// 采购按钮文字
+34 -6
View File
@@ -1,4 +1,5 @@
using System;
using AllBase.Model.MvvmBaseClasses;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@@ -138,13 +139,17 @@ namespace AllBase.Model.Result
}
public class pddFrontGoods3Lite
public class pddFrontGoods3Lite : PropertyNotifyObject
{
public long? goodsId { get; set; } // 1661424397,
public string goodsName { get; set; } // "红薏仁5斤装 红薏仁米小薏米仁农家自产新红薏米1斤2斤苡仁糙薏米",
public long? mallId { get; set; } // 525159017
public string mallName { get; set; }
public List<frontSkuInfo3> skus { get; set; }
public List<frontSkuInfo3> skus
{
get { return this.GetValue(x => x.skus); }
set { this.SetValue(x => x.skus, value); }
}
}
public class newShareTitleInfo
@@ -164,11 +169,20 @@ namespace AllBase.Model.Result
}
public class frontSkuInfo3
public class frontSkuInfo3 : PropertyNotifyObject
{
public long? skuId { get; set; } // 28790184768,
public long? goodsId { get; set; } // 1661424397,
public string thumbUrl { get; set; } // "https://t00img.yangkeduo.com/t10img/images/2018-06-09/5c7746a3608e75a2b65926f4ed0f34cb.jpeg",
public string GoodsNameStr
{
get { return this.GetValue(x => x.GoodsNameStr); }
set { this.SetValue(x => x.GoodsNameStr, value); }
}
public string thumbUrl
{
get { return this.GetValue(x => x.thumbUrl); }
set { this.SetValue(x => x.thumbUrl, value); }
} // "https://t00img.yangkeduo.com/t10img/images/2018-06-09/5c7746a3608e75a2b65926f4ed0f34cb.jpeg",
public int? initQuantity { get; set; } // 0,
public int? quantity { get; set; } // 1000,
public int? limitQuantity { get; set; } // 999999,
@@ -177,7 +191,21 @@ namespace AllBase.Model.Result
public int? defaultQuantity { get; set; } // 100,
public int? isOnsale { get; set; } // 1,
public string spec { get; set; } // "677094835",
public List<frontSpecInfo3> specs { get; set; }
public string SpecNameStr
{
get { return this.GetValue(x => x.SpecNameStr) == null ? string.Join(",", specs?.Select(s => s.spec_value)) : this.GetValue(x => x.SpecNameStr); }
set { this.SetValue(x => x.SpecNameStr, value); }
}
List<frontSpecInfo3> _specs = new List<frontSpecInfo3>();
public List<frontSpecInfo3> specs
{
get => _specs;
set
{
specs = value;
SpecNameStr = string.Join(",", value.Select(s => s.spec_value));
}
}
public int? price { get; set; } // 0,
public string normalPrice { get; set; } // "14.5",
public string groupPrice { get; set; } // "13.5",