|
@@ -107,7 +107,9 @@
|
|
|
<div class="fl">
|
|
|
<el-button type="primary" size="mini" @click="toPrint" :disabled="tableSelection.length < 1">打印发货单</el-button>
|
|
|
</div>
|
|
|
- <div class="fr">
|
|
|
+ <!-- -->
|
|
|
+ <div class="fr" style="display: flex;">
|
|
|
+ <el-button size="mini" type="primary" v-if="$checkBtnRole('refund', $route.meta.roles)" style="margin-right: 10px;" icon="el-icon-plus" @click="$router.push('/supply/deliver/apply_list?isShow=true')">退货申请</el-button>
|
|
|
<ExportButton :exUrl="'invoice/exportInvoice'" :exParams="exParams" />
|
|
|
</div>
|
|
|
</div>
|
|
@@ -210,7 +212,11 @@
|
|
|
{{scope.row.payAmount | numToFixed}}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
-
|
|
|
+ <el-table-column align="right" label="未出库数量" prop="singlePayPrice" min-width="100" show-overflow-tooltip>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ {{comRefundableQty(scope.row.type ,scope.row.salesExamineStatus , scope.row)}}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column align="right" label="发货数量" prop="refundableQty" min-width="100" show-overflow-tooltip></el-table-column>
|
|
|
<el-table-column align="left" label="业务员" prop="serviceName" min-width="100" show-overflow-tooltip></el-table-column>
|
|
|
<el-table-column align="left" label="政策单号" prop="policyCode" min-width="100" show-overflow-tooltip></el-table-column>
|
|
@@ -305,6 +311,21 @@ export default {
|
|
|
serviceId: this.screenForm.salesMan,
|
|
|
}
|
|
|
},
|
|
|
+ comRefundableQty(){
|
|
|
+ return (type,status,row)=>{
|
|
|
+ if (type == 2) {
|
|
|
+ return ''
|
|
|
+ }else{
|
|
|
+ if (status == 'OK') {
|
|
|
+ return 0
|
|
|
+ }else{
|
|
|
+ return row.refundableQty
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
},
|
|
|
|
|
|
created() {
|