uu
This commit is contained in:
parent
0c91627370
commit
56b3998a60
@ -29,8 +29,11 @@
|
||||
<tpx-select v-model:value="modelInfo.unit" :list="goodNumUnitList"
|
||||
mode="drop" :dropRightWidth="300"
|
||||
>
|
||||
<u-row custom-style="gap: 20rpx;padding: 0 6rpx;" justify="between">
|
||||
<tpx-text-dic :value="modelInfo.unit" :list="goodNumUnitList" :placeholder="goodNumUnitList[0].title"></tpx-text-dic>
|
||||
<u-row custom-style="gap: 6rpx;padding: 0 6rpx;" justify="between">
|
||||
<tpx-text-dic :value="modelInfo.unit" :list="goodNumUnitList" :placeholder="goodNumUnitList[0].title"></tpx-text-dic>
|
||||
<u-icon :name="'arrow-down-fill'"
|
||||
size="18" custom-style=""
|
||||
></u-icon>
|
||||
</u-row>
|
||||
</tpx-select>
|
||||
</template>
|
||||
@ -61,9 +64,10 @@
|
||||
let { cargoList, parcelQty } = this.submitVal
|
||||
let curQty = (+this.modelInfo.cargoQty) || 0
|
||||
let qtMaxNum = parcelQty + curQty
|
||||
cargoList.map(t=> {
|
||||
if(t.cargoQty) {
|
||||
qtMaxNum = qtMaxNum - t.cargoQty
|
||||
cargoList.map(t=> {
|
||||
let _itemQty = (+t.cargoQty) || 0
|
||||
if(_itemQty) {
|
||||
qtMaxNum = qtMaxNum - _itemQty
|
||||
}
|
||||
})
|
||||
if(qtMaxNum < 0) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user