|
@@ -18,9 +18,9 @@
|
|
|
<div slot="message" >
|
|
|
<div>
|
|
|
产品款数 <strong>{{ item.totalPutCategory }}</strong> ,
|
|
|
- 本次发货数量合计 <strong>{{ item.totalRealPutQty }}</strong> ,
|
|
|
+ 本次发货数量合计 <strong>{{ item.totalPutQty }}</strong> ,
|
|
|
<div style="display: inline-block;" v-if="$hasPermissions('M_ShowAllCost')">
|
|
|
- 本次发货金额合计¥<strong>{{ item.totalRealPutAmount?toThousands(item.totalRealPutAmount,2):'0.00' }}</strong>,
|
|
|
+ 本次发货金额合计<strong>{{ item.totalPutAmount?toThousands(item.totalPutAmount,2):'0.00' }}</strong>,
|
|
|
</div>
|
|
|
本次入库数量合计:<strong>{{ item && (item.totalRealPutQty || item.totalRealPutQty==0) ? item.totalRealPutQty : '--' }}</strong>
|
|
|
<div style="display: inline-block;" v-if="$hasPermissions('M_ShowAllCost')">,
|
|
@@ -50,6 +50,7 @@
|
|
|
<a-input-number
|
|
|
size="small"
|
|
|
v-model="record.realPutQty"
|
|
|
+ :disabled="!(item.auditState=='WAIT_PUT_WAREHOUSE' || item.auditState == 'PUT_WAREHOUSE_AUDIT_REJECT')"
|
|
|
:precision="0"
|
|
|
:min="0"
|
|
|
:max="999999"
|
|
@@ -281,6 +282,7 @@ export default {
|
|
|
updateRealPutQty({id:record.id,realPutQty:record.realPutQty}).then(res => {
|
|
|
if(res.status == 200){
|
|
|
this.$message.success(res.message)
|
|
|
+ this.getDetail()
|
|
|
this.$refs['table-' + bindex][0].refresh()
|
|
|
}else{
|
|
|
record.realPutQty = record.shippedQty
|