|
|
|
@ -60,7 +60,7 @@ export default { |
|
|
|
params.no = this.no; |
|
|
|
params.size = this.size; |
|
|
|
if (this.searchData.shipFlag){ |
|
|
|
params.shipFlag = "N"; |
|
|
|
params.shipFlag = "Y"; |
|
|
|
}else { |
|
|
|
params.shipFlag = null; |
|
|
|
} |
|
|
|
@ -96,7 +96,8 @@ export default { |
|
|
|
rowClickDelNotifyHeaderTable(row){ |
|
|
|
// 缓存对象 |
|
|
|
this.delNotifyHeader = row |
|
|
|
this.delNotifyDetailList = this.delNotifyHeader.delNotifyDetailVoList; |
|
|
|
// this.delNotifyDetailList = this.delNotifyHeader.delNotifyDetailVoList; |
|
|
|
this.searchDelNotifyDetail(); |
|
|
|
}, |
|
|
|
updateDelNotifyDetailBtn(status){ |
|
|
|
this.delNotifyDetail.approveResultFlag = status; |
|
|
|
@ -129,7 +130,23 @@ export default { |
|
|
|
}, |
|
|
|
changeAllNum(val){ |
|
|
|
this.allNum = val; |
|
|
|
this.delNotifyDetail.allNum = val; |
|
|
|
// this.delNotifyDetail.allNum = val; |
|
|
|
this.searchDelNotifyDetail(); |
|
|
|
}, |
|
|
|
searchDelNotifyDetail(){ |
|
|
|
let params = { |
|
|
|
site:this.delNotifyHeader.site, |
|
|
|
delNotifyNo:this.delNotifyHeader.delNotifyNo, |
|
|
|
} |
|
|
|
searchDelNotifyDetail(params).then(({data})=>{ |
|
|
|
if (data && data.code === 0){ |
|
|
|
this.delNotifyDetailList = data.data; |
|
|
|
}else { |
|
|
|
this.$message.warning(data.msg) |
|
|
|
} |
|
|
|
}).catch((error)=>{ |
|
|
|
this.$message.error(error) |
|
|
|
}) |
|
|
|
} |
|
|
|
}, |
|
|
|
created() { |
|
|
|
@ -194,7 +211,7 @@ export default { |
|
|
|
</el-col> |
|
|
|
<el-col :span="3"> |
|
|
|
<el-form-item :label="' '"> |
|
|
|
<el-checkbox v-model="searchData.shipFlag">筛选未发货清单</el-checkbox> |
|
|
|
<el-checkbox v-model="searchData.shipFlag">仅显示未完全发货清单</el-checkbox> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="2"> |
|
|
|
@ -323,7 +340,7 @@ export default { |
|
|
|
<el-table-column label="操作" width="150px" header-align="center" fixed align="center"> |
|
|
|
<template slot-scope="{row,$index}"> |
|
|
|
<el-link style="cursor: pointer" v-if="row.approveFlag === 'N'" @click="checkoutDelNotifyDetailBtn(row)">检验</el-link> |
|
|
|
<el-link style="cursor: pointer" v-if="row.shipQty < row.notifyQty && row.allNum < row.notifyQty" @click="clickScan(row)">标签扫描</el-link> |
|
|
|
<el-link style="cursor: pointer" v-if="row.shipQty < row.notifyQty && row.allNum < row.notifyQty && delNotifyHeader.shipResult !== '全部发货'" @click="clickScan(row)">标签扫描</el-link> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
@ -493,9 +510,9 @@ export default { |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item label="发货数量"> |
|
|
|
<el-form-item label="扫码数量"> |
|
|
|
<div class="right"> |
|
|
|
<el-input disabled v-model="delNotifyDetail.shipQty" type="number" readonly></el-input> |
|
|
|
<el-input disabled v-model="delNotifyDetail.allNum" type="number" readonly></el-input> |
|
|
|
</div> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
@ -522,7 +539,7 @@ export default { |
|
|
|
</el-row> |
|
|
|
</el-form> |
|
|
|
<span slot="footer" class="dialog-footer" style="text-align: center"> |
|
|
|
<el-button type="primary" @click="updateDelNotifyDetailBtn('Y')">合 格</el-button> |
|
|
|
<el-button type="primary" :disabled="!delNotifyDetail.allNum || delNotifyDetail.allNum === 0" @click="updateDelNotifyDetailBtn('Y')">合 格</el-button> |
|
|
|
<el-button @click="updateDelNotifyDetailBtn('N')">不 合 格</el-button> |
|
|
|
</span> |
|
|
|
</el-dialog> |
|
|
|
|