From c93c13d1cfe288d431109ae1eafd7a9fc6d58746 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期二, 13 六月 2023 10:23:17 +0800
Subject: [PATCH] 1.递交
---
src/views/purchasesManager/purchasesList.vue | 138 ++++-----------------------------------------
1 files changed, 13 insertions(+), 125 deletions(-)
diff --git a/src/views/purchasesManager/purchasesList.vue b/src/views/purchasesManager/purchasesList.vue
index 6d91c5f..41795de 100644
--- a/src/views/purchasesManager/purchasesList.vue
+++ b/src/views/purchasesManager/purchasesList.vue
@@ -196,126 +196,6 @@
</template>
</el-table-column>
- <!-- <el-table-column-->
- <!-- prop="RowNum"-->
- <!-- width="50"-->
- <!-- fixed-->
- <!-- label="搴忓彿"-->
- <!-- />-->
- <!-- <el-table-column-->
- <!-- prop="status"-->
- <!-- label="璁㈠崟鐘舵��"-->
- <!-- width="110"-->
- <!-- sortable="custom"-->
- <!-- >-->
- <!-- <template slot-scope="{row}">-->
- <!-- <div>{{ mesorderstusArr.find(i=>i.value===row.status).label }}</div>-->
- <!-- </template>-->
- <!-- </el-table-column>-->
- <!-- <el-table-column-->
- <!-- prop="orderdate"-->
- <!-- label="鍗曟嵁鏃ユ湡"-->
- <!-- sortable="custom"-->
- <!-- width="110"-->
- <!-- >-->
- <!-- <template slot-scope="{row}">-->
- <!-- <div v-if="row.orderdate">{{ row.orderdate.substring(0, 11) }}</div>-->
- <!-- <div v-else>/</div>-->
- <!-- </template>-->
- <!-- </el-table-column>-->
- <!-- <el-table-column-->
- <!-- prop="ordercode"-->
- <!-- label="璁㈠崟缂栧彿"-->
- <!-- sortable="custom"-->
- <!-- width="160"-->
- <!-- show-tooltip-when-overflow-->
- <!-- />-->
- <!-- <el-table-column-->
- <!-- prop="deptname"-->
- <!-- label="閮ㄩ棬鍚嶇О"-->
- <!-- width="130"-->
- <!-- show-tooltip-when-overflow-->
- <!-- sortable="custom"-->
- <!-- >-->
- <!-- <template slot-scope="{row}">-->
- <!-- <div v-if="row.deptname">{{ row.deptname }}</div>-->
- <!-- <div v-else>/</div>-->
- <!-- </template>-->
- <!-- </el-table-column>-->
- <!-- <el-table-column-->
- <!-- prop="customername"-->
- <!-- label="閲囪喘渚涙柟"-->
- <!-- sortable="custom"-->
- <!-- min-width="180"-->
- <!-- show-tooltip-when-overflow-->
- <!-- >-->
- <!-- <template slot-scope="{row}">-->
- <!-- <div v-if="row.customername">{{ row.customername }}</div>-->
- <!-- <div v-else>/</div>-->
- <!-- </template>-->
- <!-- </el-table-column>-->
- <!-- <el-table-column-->
- <!-- prop="saleorderCode"-->
- <!-- label="婧愬崟鍗曞彿"-->
- <!-- sortable="custom"-->
- <!-- width="160"-->
- <!-- show-tooltip-when-overflow-->
- <!-- >-->
- <!-- <template slot-scope="{row}">-->
- <!-- <div v-if="row.saleorderCode">{{ row.saleorderCode }}</div>-->
- <!-- <div v-else>/</div>-->
- <!-- </template>-->
- <!-- </el-table-column>-->
- <!-- <el-table-column-->
- <!-- prop="acceptdate"-->
- <!-- label="棰勮鍒拌揣鏃ユ湡"-->
- <!-- width="130"-->
- <!-- sortable="custom"-->
- <!-- >-->
- <!-- <template slot-scope="{row}">-->
- <!-- <div v-if="row.acceptdate">{{ row.acceptdate.substring(0, 11) }}</div>-->
- <!-- <div v-else>/</div>-->
- <!-- </template>-->
- <!-- </el-table-column>-->
- <!-- <el-table-column-->
- <!-- prop="lm_user"-->
- <!-- label="鍒涘缓浜哄憳"-->
- <!-- sortable="custom"-->
- <!-- width="110"-->
- <!-- />-->
- <!-- <el-table-column-->
- <!-- prop="lm_date"-->
- <!-- label="鍒涘缓鏃堕棿"-->
- <!-- width="110"-->
- <!-- sortable="custom"-->
- <!-- >-->
- <!-- <template slot-scope="{row}">-->
- <!-- <div v-if="row.lm_date">{{ row.lm_date.substring(0, 11) }}</div>-->
- <!-- <div v-else>/</div>-->
- <!-- </template>-->
- <!-- </el-table-column>-->
- <!-- <el-table-column-->
- <!-- prop="auditoruser"-->
- <!-- label="瀹℃牳浜�"-->
- <!-- width="110"-->
- <!-- sortable="custom"-->
- <!-- >-->
- <!-- <template slot-scope="{row}">-->
- <!-- <div v-if="row.auditoruser">{{ row.auditoruser }}</div>-->
- <!-- <div v-else>/</div>-->
- <!-- </template>-->
- <!-- </el-table-column>-->
- <!-- <el-table-column-->
- <!-- prop="auditordate"-->
- <!-- label="瀹℃牳鏃堕棿"-->
- <!-- width="110"-->
- <!-- sortable="custom"-->
- <!-- >-->
- <!-- <template slot-scope="{row}">-->
- <!-- <div v-if="row.auditordate">{{ row.auditordate.substring(0, 11) }}</div>-->
- <!-- <div v-else>/</div>-->
- <!-- </template>-->
- <!-- </el-table-column>-->
<el-table-column
label="鎿嶄綔"
width="120"
@@ -763,11 +643,19 @@
},
async switchButton(row) {
- ClosedPurchaseOrder({ po: row.ordercode }).then(res => {
- if (res.code === '200') {
- this.$message.success('鍏冲崟鎴愬姛锛�')
- this.getPurchaseOrderSearch()
- }
+ this.$confirm('鏄惁纭鍏冲崟?', '鎻愮ず', {
+ confirmButtonText: '纭畾',
+ cancelButtonText: '鍙栨秷',
+ type: 'warning'
+ }).then(() => {
+ ClosedPurchaseOrder({ po: row.ordercode }).then(res => {
+ if (res.code === '200') {
+ this.$message.success('鍏冲崟鎴愬姛锛�')
+ this.getPurchaseOrderSearch()
+ }
+ })
+ }).catch(() => {
+ this.$message.info('宸插彇娑堝叧鍗�')
})
},
// 鍒犻櫎鎸夐挳
--
Gitblit v1.9.3