|
@@ -111,7 +111,7 @@
|
|
|
<span>{{ row.estimatedValue == null ? '-' : row.estimatedValue }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="订单应收款(元)" align="center" width="150">
|
|
|
+ <!-- <el-table-column label="订单应收款(元)" align="center" width="150">
|
|
|
<template slot-scope="{row}">
|
|
|
<span>{{ row.shouldAmount == null ? '-' : row.shouldAmount }}</span>
|
|
|
</template>
|
|
@@ -120,7 +120,7 @@
|
|
|
<template slot-scope="{row}">
|
|
|
<span>{{ row.realAmount == null ? '-' : row.realAmount }}</span>
|
|
|
</template>
|
|
|
- </el-table-column>
|
|
|
+ </el-table-column> -->
|
|
|
<el-table-column label="产品应收款(元)" align="center" width="150">
|
|
|
<template slot-scope="{row}">
|
|
|
<span>{{ row.productionShouldAmount == null ? '-' : row.productionShouldAmount }}</span>
|
|
@@ -136,11 +136,11 @@
|
|
|
<span>{{ row.standardAmount == null ? '-' : row.standardAmount }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="折扣比例" align="center" width="150">
|
|
|
+ <!-- <el-table-column label="折扣比例" align="center" width="150">
|
|
|
<template slot-scope="{row}">
|
|
|
<span>{{ row.discount == null ? '-' : row.discount }}</span>
|
|
|
</template>
|
|
|
- </el-table-column>
|
|
|
+ </el-table-column> -->
|
|
|
<el-table-column label="实际开票金额" align="center" width="150">
|
|
|
<template slot-scope="{row}">
|
|
|
<span>{{ row.invoiceRealAmount == null ? '-' : row.invoiceRealAmount }}</span>
|
|
@@ -164,15 +164,15 @@
|
|
|
<el-button type="text" size="mini" @click="orderDetail(row)">
|
|
|
查看
|
|
|
</el-button>
|
|
|
- </div>
|
|
|
- <div>
|
|
|
<el-button type="text" size="mini" @click="editOrder(row)">
|
|
|
编辑
|
|
|
</el-button>
|
|
|
+ </div>
|
|
|
+ <!-- <div>
|
|
|
<el-button type="text" size="mini" @click="openShouldAmountDialog(row)">
|
|
|
订单应收款
|
|
|
</el-button>
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
<div>
|
|
|
<el-button :disabled="!(row.reportNo !== null)" type="text" size="mini"
|
|
|
@click="openProShouldAmountDialog(row)">
|
|
@@ -188,8 +188,9 @@
|
|
|
@click="openAllotProductionDialog(row)">
|
|
|
实收款分配
|
|
|
</el-button>
|
|
|
- <el-button type="text" size="mini"
|
|
|
- @click="openFinanceInvoiceDialog(row.orderFundId, row.productionFundId, row.realAmount, row.customerName, row.customerSubName)">申请开票</el-button>
|
|
|
+ <el-button :disabled="!(row.reportNo !== null)" type="text" size="mini" @click="openFinanceInvoiceDialog(row.orderFundId, row.productionFundId, row.realAmount, row.customerName, row.customerSubName)">
|
|
|
+ 申请开票
|
|
|
+ </el-button>
|
|
|
</div>
|
|
|
<!-- <el-button v-if="row.currentNodeCode === 'REPORT_OUT_APPLY'" type="text"
|
|
|
@click="canceladdRepertoryOutWarehouse(row)">
|
|
@@ -231,7 +232,7 @@
|
|
|
<el-form ref="productionFundFrom" :model="productionFundFrom" style="margin-left:40px">
|
|
|
<el-row>
|
|
|
<el-col :xs="24" :sm="12" :lg="24" :span="12">
|
|
|
- <el-form-item label="产品应收款金额(元):" prop="productionShouldAmount" label-width="160px"
|
|
|
+ <el-form-item label="产品应收款金额(元):" prop="productionShouldAmount" label-width="180px"
|
|
|
class="postInfo-container-item"
|
|
|
:rules="{ required: true, message: '应收款金额不能为空', trigger: 'blur' }">
|
|
|
<el-input-number :precision="2" :min="null" :value-on-clear="0"
|
|
@@ -242,7 +243,7 @@
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
<el-col :xs="24" :sm="12" :lg="24" :span="12">
|
|
|
- <el-form-item label="备注:" prop="remark" label-width="160px" class="postInfo-container-item">
|
|
|
+ <el-form-item label="备注:" prop="remark" label-width="180px" class="postInfo-container-item">
|
|
|
<el-input style="width:300px" type="textarea" v-model="productionFundFrom.remark"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
@@ -1096,17 +1097,27 @@ export default {
|
|
|
},
|
|
|
// 标记产品送达
|
|
|
markDelivery(row) {
|
|
|
- this.$api.assets.markDelivery(row.reportNo).then(res => {
|
|
|
- if (res.code === 200 && res.data) {
|
|
|
- this.$notify({
|
|
|
- title: '成功',
|
|
|
- message: '标记送达成功!',
|
|
|
- type: 'success',
|
|
|
- duration: 1000
|
|
|
- });
|
|
|
- this.selectMyOrderPage();
|
|
|
- }
|
|
|
- })
|
|
|
+ if(row.productionShouldAmount){
|
|
|
+ this.$api.assets.markDelivery(row.reportNo).then(res => {
|
|
|
+ if (res.code === 200 && res.data) {
|
|
|
+ this.$notify({
|
|
|
+ title: '成功',
|
|
|
+ message: '标记送达成功!',
|
|
|
+ type: 'success',
|
|
|
+ duration: 1000
|
|
|
+ });
|
|
|
+ this.selectMyOrderPage();
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }else {
|
|
|
+ this.$notify({
|
|
|
+ title: '错误',
|
|
|
+ message: '标记送达前需填写产品应收款!',
|
|
|
+ type: 'error',
|
|
|
+ duration: 1000
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
},
|
|
|
// 打开分配弹窗
|
|
|
openAllotProductionDialog(row) {
|