|
|
@@ -10,25 +10,25 @@
|
|
|
<slot name="header"></slot>
|
|
|
</CellGroup>
|
|
|
<CellGroup :title="$t('position.order.subtitle2')" inset>
|
|
|
- <Field name="wrstandardname" label="点选仓单" :placeholder="$t('common.choice')" input-align="right"
|
|
|
+ <Field name="wrstandardname" :label="$t('position.order.choicewarehousename')" :placeholder="$t('common.choice')" input-align="right"
|
|
|
:rules="formRules.wrstandardname" v-model="checkedRow.wrstandardname"
|
|
|
@click="showWarehouseReceipt = true" is-link readonly />
|
|
|
<template v-if="checkedRow.deliverygoodsid">
|
|
|
- <Cell title="持有人" :value="checkedRow.username" />
|
|
|
- <Cell title="仓库" :value="checkedRow.warehousename" />
|
|
|
- <Cell title="数量" :value="checkedRow.avalidqty + (deliveryRelation?.enumdicname ?? '')" />
|
|
|
+ <Cell :title="$t('delivery.online.username')" :value="checkedRow.username" />
|
|
|
+ <Cell :title="$t('delivery.online.warehousename')" :value="checkedRow.warehousename" />
|
|
|
+ <Cell :title="$t('delivery.online.qty')" :value="checkedRow.avalidqty + (deliveryRelation?.enumdicname ?? '')" />
|
|
|
</template>
|
|
|
</CellGroup>
|
|
|
<CellGroup inset>
|
|
|
- <Cell title="可交收数量" :value="(total * qtyStep) + (deliveryRelation?.enumdicname ?? '')" />
|
|
|
- <Field name="DeliveryQty" type="digit" :rules="formRules.DeliveryQty" label="交收数量">
|
|
|
+ <Cell :title="$t('position.order.enableQty')" :value="(total * qtyStep) + (deliveryRelation?.enumdicname ?? '')" />
|
|
|
+ <Field name="DeliveryQty" type="digit" :rules="formRules.DeliveryQty" :label="$t('delivery.online.deliveryqty')">
|
|
|
<template #input>
|
|
|
<Stepper v-model="formData.DeliveryQty" theme="round" button-size="22" :min="0"
|
|
|
:max="maxQty" :step="qtyStep" integer />
|
|
|
</template>
|
|
|
</Field>
|
|
|
- <Cell title="所需合约量" :value="formData.DeliveryQty ? (formData.DeliveryQty / qtyStep) : 0" />
|
|
|
- <Cell title="升贴水" :value="discount.toFixed(2)" />
|
|
|
+ <Cell :title="$t('position.order.choicewarehousename')" :value="formData.DeliveryQty ? (formData.DeliveryQty / qtyStep) : 0" />
|
|
|
+ <Cell :title="$t('delivery.online.pricemove')" :value="discount.toFixed(2)" />
|
|
|
<slot name="form" :discount="discount" :qty="formData.DeliveryQty ?? 0"></slot>
|
|
|
</CellGroup>
|
|
|
</Form>
|