|
@@ -135,10 +135,10 @@
|
|
</div>
|
|
</div>
|
|
<!-- 产品编码 -->
|
|
<!-- 产品编码 -->
|
|
<template slot="productCode" slot-scope="text, record">
|
|
<template slot="productCode" slot-scope="text, record">
|
|
- <a-badge count="急" v-if="record.oosFlag == 1">
|
|
|
|
|
|
+ <a-badge count="急" v-if="isOwerEdit&&record.oosFlag == 1">
|
|
<div style="padding-right: 15px;">{{ text }}</div>
|
|
<div style="padding-right: 15px;">{{ text }}</div>
|
|
</a-badge>
|
|
</a-badge>
|
|
- <a-badge count="缺" v-else-if="!record.currentStockQty || record.currentStockQty < record.qty">
|
|
|
|
|
|
+ <a-badge count="缺" v-else-if="!isOwerEdit&&(!record.currentStockQty || record.currentStockQty < record.qty)">
|
|
<div style="padding-right: 15px;">{{ text }}</div>
|
|
<div style="padding-right: 15px;">{{ text }}</div>
|
|
</a-badge>
|
|
</a-badge>
|
|
<span v-else>{{ text }}</span>
|
|
<span v-else>{{ text }}</span>
|