|
|
@@ -1,22 +1,21 @@
|
|
|
<!-- 现货仓单-现货明细-提货 -->
|
|
|
<template>
|
|
|
<app-drawer title="提货" v-model:show="show" :width="960" :loading="loading" :refresh="refresh">
|
|
|
- <el-form ref="formRef" class="el-form--horizontal" label-width="120px" :model="formData"
|
|
|
- :rules="formRules">
|
|
|
+ <el-form ref="formRef" class="el-form--horizontal" label-width="120px" :model="formData" :rules="formRules">
|
|
|
<el-form-item label="商品代码/名称">
|
|
|
- <span>{{selectedRow.wrstandardcode}}/{{ selectedRow.wrstandardname }}</span>
|
|
|
+ <span>{{ selectedRow.wrstandardcode }}/{{ selectedRow.wrstandardname }}</span>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="仓库" >
|
|
|
- <span>{{selectedRow.warehousename}}</span>
|
|
|
+ <el-form-item label="仓库">
|
|
|
+ <span>{{ selectedRow.warehousename }}</span>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="库存量">
|
|
|
- <span>{{selectedRow.qty}}</span>
|
|
|
+ <span>{{ selectedRow.qty }}</span>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="冻结量">
|
|
|
- <span>{{selectedRow.freezerqty}}</span>
|
|
|
+ <span>{{ selectedRow.freezerqty }}</span>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="可用量">
|
|
|
- <span>{{selectedRow.enableqty}}</span>
|
|
|
+ <span>{{ selectedRow.enableqty }}</span>
|
|
|
</el-form-item>
|
|
|
<el-form-item prop="OrderQty" label="提货数量">
|
|
|
<el-input-number placeholder="请输入提货数量" v-model="orderQty" :max="selectedRow.enableqty" :min="0" />
|
|
|
@@ -29,28 +28,28 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item prop="ContractName" label="联系人">
|
|
|
<div class="el-form-item--col">
|
|
|
- <el-input type="textarea" :rows="2" v-model="formData.ContactName" />
|
|
|
- <el-dropdown trigger="click" v-if="addressList.length">
|
|
|
- <el-icon :size="20" style="cursor: pointer;">
|
|
|
- <CirclePlusFilled />
|
|
|
- </el-icon>
|
|
|
- <template #dropdown>
|
|
|
- <el-dropdown-menu>
|
|
|
- <el-dropdown-item v-for="(item, index) in addressList" :key="index"
|
|
|
- @click="addressChange(item)">
|
|
|
- {{ [item.provincename, item.cityname, item.districtname, item.address].join(' ') }}
|
|
|
- </el-dropdown-item>
|
|
|
- </el-dropdown-menu>
|
|
|
- </template>
|
|
|
- </el-dropdown>
|
|
|
- </div>
|
|
|
+ <el-input type="textarea" :rows="2" v-model="formData.ContactName" />
|
|
|
+ <el-dropdown trigger="click" v-if="addressList.length">
|
|
|
+ <el-icon :size="20" style="cursor: pointer;">
|
|
|
+ <CirclePlusFilled />
|
|
|
+ </el-icon>
|
|
|
+ <template #dropdown>
|
|
|
+ <el-dropdown-menu>
|
|
|
+ <el-dropdown-item v-for="(item, index) in addressList" :key="index"
|
|
|
+ @click="addressChange(item)">
|
|
|
+ {{ [item.provincename, item.cityname, item.districtname, item.address].join(' ') }}
|
|
|
+ </el-dropdown-item>
|
|
|
+ </el-dropdown-menu>
|
|
|
+ </template>
|
|
|
+ </el-dropdown>
|
|
|
+ </div>
|
|
|
</el-form-item>
|
|
|
<el-form-item prop="ContactNum" label="联系方式">
|
|
|
<el-input placeholder="请输入" v-model="formData.ContactNum" />
|
|
|
</el-form-item>
|
|
|
<el-form-item prop="Region" class="el-form-item--row" label="收货地区">
|
|
|
- <app-region class="el-form-item--col" v-model:province="formData.ProvinceID"
|
|
|
- v-model:city="formData.CityID" v-model:district="formData.DistrictID" />
|
|
|
+ <app-region class="el-form-item--col" v-model:province="formData.ProvinceID" v-model:city="formData.CityID"
|
|
|
+ v-model:district="formData.DistrictID" />
|
|
|
</el-form-item>
|
|
|
<el-form-item class="el-form-item--row" prop="Address" label="收货地址">
|
|
|
<el-input placeholder="请输入" v-model="formData.Address" />
|
|
|
@@ -75,7 +74,7 @@
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
<template #footer>
|
|
|
- <el-button type="info" @click="onCancel(false)" plain>取消</el-button>
|
|
|
+ <el-button type="info" @click="onCancel(false)">取消</el-button>
|
|
|
<el-button type="primary" @click="onSubmit">提货</el-button>
|
|
|
</template>
|
|
|
</app-drawer>
|