|
|
@@ -41,7 +41,7 @@
|
|
|
<el-input
|
|
|
placeholder=""
|
|
|
v-model="row.receiveQuantity"
|
|
|
- :disabled="type == 'receipt' && (itemData.sendStatus == 4 || itemData.sendStatus == 3)"
|
|
|
+ :disabled="(type == 'receipt' && (itemData.sendStatus == 4 || itemData.sendStatus == 3)) || isReceiptDetail"
|
|
|
>
|
|
|
<template slot="append">{{ row.measuringUnit }}</template>
|
|
|
</el-input>
|
|
|
@@ -62,7 +62,7 @@
|
|
|
</template>
|
|
|
</ele-pro-table>
|
|
|
|
|
|
- <template v-slot:footer v-if="type != 'detail' && itemData.sendStatus != 4">
|
|
|
+ <template v-slot:footer v-if="type != 'detail' && itemData.sendStatus != 4 && !isReceiptDetail">
|
|
|
<el-button @click="cancel">取消</el-button>
|
|
|
<el-button @click="rejectReason" type="primary" v-if="type == 'receipt'"
|
|
|
>驳回</el-button
|
|
|
@@ -231,7 +231,7 @@
|
|
|
label: '是否收货',
|
|
|
align: 'center',
|
|
|
showOverflowTooltip: true,
|
|
|
- show: this.type == 'receipt' && !this.isReceiptDetail ? true : false
|
|
|
+ show: this.type == 'receipt' && this.isReceiptDetail
|
|
|
}
|
|
|
];
|
|
|
}
|