# `salsendcarslave`

> 派车单单从表


- **Engine:** InnoDB
- **Collation:** utf8mb3_general_ci

## Columns

| # | Name | Type | Null | Key | Default | Extra | Comment |
|---|---|---|---|---|---|---|---|
| 1 | `iIncrement` | `int` | NO | PRI |  | auto_increment | 自增列 |
| 2 | `sId` | `varchar(100)` | NO | MUL |  |  | 唯一ID |
| 3 | `sBrandsId` | `varchar(100)` | NO |  |  |  | 加工商ID |
| 4 | `sSubsidiaryId` | `varchar(100)` | NO |  |  |  | 子公司ID |
| 5 | `iOrder` | `int` | NO |  | 0 |  | 排序号 |
| 6 | `sParentId` | `varchar(100)` | NO |  |  |  | 父级ID |
| 7 | `sCustomerId` | `varchar(100)` | NO |  |  |  | 客户Id |
| 8 | `sContacts` | `varchar(255)` | YES |  |  |  | 联系人 |
| 9 | `sPhone` | `varchar(255)` | YES |  |  |  | 电话 |
| 10 | `tDeliverDate` | `datetime` | YES |  |  |  | 送货时间 |
| 11 | `sSalesManId` | `varchar(100)` | NO |  | 0 |  | id |
| 12 | `sGetPayId` | `varchar(100)` | YES |  |  |  | 结算方式id |
| 13 | `tGetPayDate` | `datetime` | YES |  |  |  | 结算日期 |
| 14 | `sConsignee` | `varchar(255)` | YES |  |  |  | 收货人 |
| 15 | `sConsigneeMobile` | `varchar(255)` | YES |  |  |  | 收货人手机 |
| 16 | `sDeliverId` | `varchar(100)` | YES |  |  |  | 送货方式ID |
| 17 | `sProvince` | `varchar(255)` | YES |  |  |  | 省 |
| 18 | `sCity` | `varchar(255)` | YES |  |  |  | 市 |
| 19 | `sArea` | `varchar(255)` | YES |  |  |  | 区 |
| 20 | `sDeliverTo` | `varchar(255)` | YES |  |  |  | 详细地址 |
| 21 | `sManualNo` | `varchar(255)` | NO |  |  |  | 手工单号 |
| 22 | `sCustomerOrderNo` | `varchar(255)` | NO |  |  |  | 客户订单号 |
| 23 | `sCurrency` | `varchar(255)` | YES |  |  |  | 币别 |
| 24 | `dCurrencyRate` | `decimal(18,6)` | YES |  |  |  | 汇率 |
| 25 | `sProductId` | `varchar(100)` | NO |  |  |  | 产品ID |
| 26 | `dProductQty` | `decimal(18,6)` | NO |  |  |  | 产品数量 |
| 27 | `dProductPrice` | `decimal(18,6)` | NO |  | 0.000000 |  | 价格 |
| 28 | `dProductMoney` | `decimal(18,0)` | NO |  | 0 |  | 运费 |
| 29 | `sSrcSlaveId` | `varchar(100)` | NO |  |  |  | 源单从表Id |
| 30 | `sSrcId` | `varchar(100)` | NO |  |  |  | 源单ID |
| 31 | `sSrcNo` | `varchar(255)` | NO |  |  |  | 源单号 |
| 32 | `dSrcQty` | `decimal(18,6)` | YES |  |  |  | 源单数量 |
| 33 | `dProductPQty` | `decimal(18,6)` | YES |  |  |  | 产品总P数 |
| 34 | `sSlaveMemo` | `text` | YES |  |  |  | 备注 |
| 35 | `sTaxId` | `varchar(100)` | YES |  |  |  | 税率ID |
| 36 | `dProductNoTaxPrice` | `decimal(18,6)` | YES |  |  |  | 不含税价 |
| 37 | `dProductNoTaxMoney` | `decimal(18,6)` | YES |  |  |  | 不含税金额 |
| 38 | `dProductTaxMoney` | `decimal(18,6)` | YES |  |  |  | 税额 |
| 39 | `dProductTaxForeignMoney` | `decimal(18,6)` | YES |  |  |  | 外币税额 |
| 40 | `dProductForeignMoney` | `decimal(18,6)` | YES |  |  |  | 外币金额 |
| 41 | `bCheckingComplete` | `bit(1)` | NO |  | b'0' |  | 对账强制完工 |
| 42 | `dCheckingMoney` | `decimal(18,6)` | NO |  | 0.000000 |  | 对账反写金额 |
| 43 | `dReceiptMoney` | `decimal(18,6)` | NO |  | 0.000000 |  | 收款反写金额 |
| 44 | `sWebOrderNo` | `varchar(255)` | NO |  |  |  | 网上订单号 |
| 45 | `sWebOrderId` | `varchar(100)` | NO |  |  |  | 网上订单Id |
| 46 | `sBarcode` | `varchar(255)` | YES |  |  |  | 条形码 |
| 47 | `dGiveQty` | `decimal(18,6)` | NO |  | 0.000000 |  | 赠送数量 |
| 48 | `sOrderId` | `varchar(100)` | NO |  |  |  | 订单ID |
| 49 | `sOrderNo` | `varchar(255)` | NO |  |  |  | 订单号 |
| 50 | `sWorkOrderId` | `varchar(100)` | NO |  |  |  | 工单ID |
| 51 | `sWorkOrderNo` | `varchar(255)` | NO |  |  |  | 工单号 |
| 52 | `dWeight` | `decimal(18,6)` | YES |  |  |  | 重量 |
| 53 | `sDestination` | `varchar(255)` | YES |  |  |  | 目的地 |
| 54 | `sSReserve1` | `varchar(255)` | YES |  |  |  | 预留字符1 |
| 55 | `sSReserve2` | `varchar(255)` | YES |  |  |  | 预留字符2 |
| 56 | `sSReserve3` | `varchar(255)` | YES |  |  |  | 预留字符3 |
| 57 | `sSReserve4` | `varchar(255)` | YES |  |  |  | 预留字符4 |
| 58 | `sSReserve5` | `varchar(255)` | YES |  |  |  | 预留字符5 |
| 59 | `sSReserve6` | `varchar(255)` | YES |  |  |  | 预留字符6 |
| 60 | `dSReserve1` | `decimal(18,6)` | YES |  |  |  | 预留数字1 |
| 61 | `dSReserve2` | `decimal(18,6)` | YES |  |  |  | 预留数字2 |
| 62 | `dSReserve3` | `decimal(18,6)` | YES |  |  |  | 预留数字3 |
| 63 | `iSReserve1` | `int` | YES |  |  |  | 预留整型1 |
| 64 | `iSReserve2` | `int` | YES |  |  |  | 预留整型2 |
| 65 | `iSReserve3` | `int` | YES |  |  |  | 预留整型3 |
| 66 | `tSReserve1` | `datetime` | YES |  |  |  | 预留日期1 |
| 67 | `tSReserve2` | `datetime` | YES |  |  |  | 预留日期2 |
| 68 | `sMakePerson` | `varchar(255)` | NO |  |  |  | 制单人 |
| 69 | `sUnTaskFormId` | `varchar(100)` | NO |  |  |  | 未清界面Id |
| 70 | `tSrcDate` | `datetime` | YES |  |  |  | 源单时间 |
| 71 | `dPackQty` | `decimal(18,6)` | NO |  | 0.000000 |  | 包(箱)数 |
| 72 | `dFractionQty` | `decimal(18,6)` | NO |  | 0.000000 |  | 零头数量 |
| 73 | `dTrunkQty` | `decimal(18,6)` | NO |  | 0.000000 |  | 每包/箱数 |
| 74 | `dFreight` | `decimal(18,6)` | NO |  | 0.000000 |  | 运费 |
| 75 | `dProductTotalWeight` | `decimal(18,6)` | YES |  | 0.000000 |  | 产品总箱重 |
| 76 | `dProductWeight` | `decimal(18,6)` | YES |  | 0.000000 |  | 产品单箱重 |
| 77 | `dSingleFreight` | `decimal(18,6)` | NO |  | 0.000000 |  | 单个运费 |

## Indexes

| Name | Unique | Type | Columns |
|---|---|---|---|
| `IndexN_salsendcarslave` |  | BTREE | `sId`, `sBrandsId`, `sSubsidiaryId`, `sParentId` |
| `IndexU_salsendcarslave` | ✓ | BTREE | `sId`, `sBrandsId`, `sSubsidiaryId` |
| `PRIMARY` | ✓ | BTREE | `iIncrement` |

## Narrative

_No human-written narrative yet — when this table is exercised by a [vertical slice](../../slices/index.md), link from there back to this page._
