Commit c4d50811 authored by dragondean@qq.com's avatar dragondean@qq.com

备货检查是否可以备货的时候过滤未入仓品名

parent bc8b1378
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
type="daterange" range-separator="-" :start-placeholder="$t('开始日期')" type="daterange" range-separator="-" :start-placeholder="$t('开始日期')"
:end-placeholder="$t('结束日期')"/> :end-placeholder="$t('结束日期')"/>
</el-form-item> </el-form-item>
<<!-- el-form-item :label="$t('业务编号')" prop="businessNo"> <!-- el-form-item :label="$t('业务编号')" prop="businessNo">
<el-input v-model="queryParams.businessNo" :placeholder="$t('请输入业务编号')" clearable <el-input v-model="queryParams.businessNo" :placeholder="$t('请输入业务编号')" clearable
@keyup.enter.native="handleQuery"/> @keyup.enter.native="handleQuery"/>
</el-form-item> --> </el-form-item> -->
......
...@@ -420,7 +420,8 @@ export default { ...@@ -420,7 +420,8 @@ export default {
async handleSubmit() { async handleSubmit() {
let unpackProds = [] let unpackProds = []
this.orderItemList.forEach(item => { this.orderItemList.forEach(item => {
if(item.packStatus == 1){ // 有入仓记录且未打包
if(item.orderWarehouseInBackItemDoList.length && item.packStatus == 1){
unpackProds.push(this.$l(item, 'prodTitle')) unpackProds.push(this.$l(item, 'prodTitle'))
} }
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment