|
|
@ -50,7 +50,8 @@ |
|
|
|
<div class="span-sty"><span class="must">*</span> 业务类型</div> |
|
|
|
<el-form-item prop="busTypeValue"><el-select v-model="formobj.busTypeValue" filterable clearable |
|
|
|
placeholder="请选择" class="addinputInfo" @change="busTypeSelect"> |
|
|
|
<el-option v-for="(item,i) in busTypeList" :key="item.dictKey" :label="item.dictValue" :value="item.dictKey"> |
|
|
|
<el-option v-for="(item,i) in busTypeList" :key="item.dictKey" :label="item.dictValue" |
|
|
|
:value="item.dictKey"> |
|
|
|
</el-option> |
|
|
|
</el-select></el-form-item> |
|
|
|
</el-col> |
|
|
@ -227,39 +228,39 @@ |
|
|
|
|
|
|
|
|
|
|
|
<div class="title" |
|
|
|
style="display: flex;align-items: center;justify-content: space-between;height:40px;margin-top: 10px;"> |
|
|
|
<div>商品-批次</div> |
|
|
|
</div> |
|
|
|
<el-table v-loading="listLoading" :data="formobj.pcList" border style="width: 100%;" |
|
|
|
:row-style="{height: '40px'}"> |
|
|
|
<el-table-column fixed width="60" label="序号" type="index" :index="indexMethod" align="center" /> |
|
|
|
<el-table-column fixed label="操作" wid align="center" width="120"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-button type="primary" size="mini" @click="doGoodsBatch(scope.row)">删除</el-button> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="商品列表序号" prop="xh" align="center" width="120" /> |
|
|
|
<el-table-column label="商品名称" prop="goodsSkuTitle" align="center" width="200" /> |
|
|
|
<el-table-column label="商品编码" prop="goodsSkuCode" align="center" width="150" /> |
|
|
|
<el-table-column label="规格" prop="goodsSkuOwnSpec" align="center" width="150" /> |
|
|
|
<el-table-column label="单位" prop="unit" align="center" width="120" /> |
|
|
|
<el-table-column label="仓库" prop="warehouseName" align="center" width="150" /> |
|
|
|
<el-table-column label="库位" prop="warehouseRackName" align="center" width="150" /> |
|
|
|
<el-table-column label="批次号" prop="batchNumber" align="center" width="300" /> |
|
|
|
<el-table-column label="生产日期" align="center" width="180"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-date-picker v-model="scope.row.manufactureDate" type="date" style="width:100%" |
|
|
|
value-format="yyyy-MM-dd" placeholder="选择日期" @change="manufactureDateChange(scope.row,$event)" /> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="有效期" prop="expirationDate" align="center" width="180" /> |
|
|
|
<el-table-column label="数量" align="center" width="120"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-input ref="focusAssumptionInput" v-model="scope.row.batchCount" clearable placeholder="" |
|
|
|
oninput="value=value.replace(/^(0+)|[^\d]+/g,'')" /> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
style="display: flex;align-items: center;justify-content: space-between;height:40px;margin-top: 10px;"> |
|
|
|
<div>商品-批次</div> |
|
|
|
</div> |
|
|
|
<el-table v-loading="listLoading" :data="formobj.pcList" border style="width: 100%;" |
|
|
|
:row-style="{height: '40px'}"> |
|
|
|
<el-table-column fixed width="60" label="序号" type="index" :index="indexMethod" align="center" /> |
|
|
|
<el-table-column fixed label="操作" wid align="center" width="120"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-button type="primary" size="mini" @click="doGoodsBatch(scope.row)">删除</el-button> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="商品列表序号" prop="xh" align="center" width="120" /> |
|
|
|
<el-table-column label="商品名称" prop="goodsSkuTitle" align="center" width="200" /> |
|
|
|
<el-table-column label="商品编码" prop="goodsSkuCode" align="center" width="150" /> |
|
|
|
<el-table-column label="规格" prop="goodsSkuOwnSpec" align="center" width="150" /> |
|
|
|
<el-table-column label="单位" prop="unit" align="center" width="120" /> |
|
|
|
<el-table-column label="仓库" prop="warehouseName" align="center" width="150" /> |
|
|
|
<el-table-column label="库位" prop="warehouseRackName" align="center" width="150" /> |
|
|
|
<el-table-column label="批次号" prop="batchNumber" align="center" width="300" /> |
|
|
|
<el-table-column label="生产日期" align="center" width="180"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-date-picker v-model="scope.row.manufactureDate" type="date" style="width:100%" |
|
|
|
value-format="yyyy-MM-dd" placeholder="选择日期" @change="manufactureDateChange(scope.row,$event)" /> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="有效期" prop="expirationDate" align="center" width="180" /> |
|
|
|
<el-table-column label="数量" align="center" width="120"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-input ref="focusAssumptionInput" v-model="scope.row.batchCount" clearable placeholder="" |
|
|
|
oninput="value=value.replace(/^(0+)|[^\d]+/g,'')" /> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
|
|
|
|
</el-form> |
|
|
|
|
|
|
@ -301,9 +302,9 @@ |
|
|
|
"sourceBillSid": "", |
|
|
|
"sourceBillNo": "", |
|
|
|
"createBySid": window.sessionStorage.getItem('userSid'), |
|
|
|
"createByName": window.sessionStorage.getItem('name'), |
|
|
|
"deptName": '', |
|
|
|
"deptSid": '', |
|
|
|
"createByName": window.sessionStorage.getItem('userName'), |
|
|
|
"deptName": window.sessionStorage.getItem('departmentName'), |
|
|
|
"deptSid": window.sessionStorage.getItem('departmentSid'), |
|
|
|
"createTime": getCurrentDate(), |
|
|
|
"busTypeKey": "", |
|
|
|
"busTypeValue": "", |
|
|
@ -689,9 +690,9 @@ |
|
|
|
"sourceBillSid": "", |
|
|
|
"sourceBillNo": "", |
|
|
|
"createBySid": window.sessionStorage.getItem('userSid'), |
|
|
|
"createByName": window.sessionStorage.getItem('name'), |
|
|
|
"deptName": '', |
|
|
|
"deptSid": '', |
|
|
|
"createByName": window.sessionStorage.getItem('userName'), |
|
|
|
"deptName": window.sessionStorage.getItem('departmentName'), |
|
|
|
"deptSid": window.sessionStorage.getItem('departmentSid'), |
|
|
|
"createTime": getCurrentDate(), |
|
|
|
"busTypeKey": "", |
|
|
|
"busTypeValue": "", |
|
|
@ -726,7 +727,10 @@ |
|
|
|
this.$refs['form_obj'].clearValidate() |
|
|
|
}) |
|
|
|
|
|
|
|
getTypeValueList({ type: 'wms_busType', groupNum: 'wms_rk' }).then((res) => { |
|
|
|
getTypeValueList({ |
|
|
|
type: 'wms_busType', |
|
|
|
groupNum: 'wms_rk' |
|
|
|
}).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
this.busTypeList = res.data |
|
|
|
} |
|
|
@ -748,7 +752,10 @@ |
|
|
|
this.$refs['form_obj'].clearValidate() |
|
|
|
}) |
|
|
|
|
|
|
|
getTypeValueList({ type: 'wms_busType', groupNum: 'wms_rk' }).then((res) => { |
|
|
|
getTypeValueList({ |
|
|
|
type: 'wms_busType', |
|
|
|
groupNum: 'wms_rk' |
|
|
|
}).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
this.busTypeList = res.data |
|
|
|
} |
|
|
|