|
@@ -25,6 +25,11 @@
|
|
|
type="text"
|
|
|
@click="payCash(props.scope.row.cwSn)"
|
|
|
>打款</el-button
|
|
|
+ ><el-button
|
|
|
+ v-if="props.scope.row.cwStatus === 6 && props.scope.row.cashier === 1"
|
|
|
+ type="text"
|
|
|
+ @click="againPayCash(props.scope.row.cwSn)"
|
|
|
+ >重新打款</el-button
|
|
|
>
|
|
|
</template>
|
|
|
</table-list>
|
|
@@ -233,7 +238,21 @@ export default {
|
|
|
})
|
|
|
.catch(() => {});
|
|
|
},
|
|
|
-
|
|
|
+ againPayCash(id) {
|
|
|
+ this.$alert("确定进行重新打款操作吗?", "提示", {
|
|
|
+ dangerouslyUseHTMLString: true,
|
|
|
+ })
|
|
|
+ .then(() => {
|
|
|
+ this.$api
|
|
|
+ .distributionwithdrawalrePayCash({ cwSn: id })
|
|
|
+ .then((res) => {
|
|
|
+ this.$message.success("打款成功");
|
|
|
+ this.search();
|
|
|
+ })
|
|
|
+ .finally(() => {});
|
|
|
+ })
|
|
|
+ .catch(() => {});
|
|
|
+ },
|
|
|
handleSizeChange(v) {
|
|
|
this.formData.pageSize = v;
|
|
|
this.formData.pageNum = 1;
|