查询
diff --git a/src/views/purchase/purchaseReview/index.vue b/src/views/purchase/purchaseReview/index.vue
index ae00ad2..fb6f3a7 100644
--- a/src/views/purchase/purchaseReview/index.vue
+++ b/src/views/purchase/purchaseReview/index.vue
@@ -72,6 +72,13 @@
+
+
+
+
+
+
@@ -104,7 +111,8 @@
-
+
+
@@ -123,80 +131,76 @@
:limit.sync="queryParams.size" class="pagination" @pagination="loadList" />
-->
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -259,6 +263,7 @@
},
data() {
return {
+ activeName: 'first',
activeIndex: '1',
dialogVisible: false,
btndisabled: false,
@@ -324,6 +329,15 @@
rowItemSid: '',
goodsDetailList: [],
operateList: [],
+ examineStateList: [{
+ dictKey: "1",
+ dictValue: "审核中"
+ },
+ {
+ dictKey: "2",
+ dictValue: "已审核"
+ }
+ ]
}
},
@@ -490,26 +504,29 @@
console.log("row", row);
this.rowItemSid = row.sid
- this.handleSelect(this.activeIndex)
+ this.handleSelect()
},
- handleSelect(val) {
- console.log("val", val);
- this.activeIndex = val
+ handleSelect() {
- if (val == '1') { // 采购明细
- req.fetchDetailsBySid(this.rowItemSid).then((resp) => {
- this.goodsDetailList = resp.data.purchaseBillDetailList
- }).catch(() => {})
+ if (this.rowItemSid == '') {
+ this.$message({
+ type: 'warning',
+ showClose: true,
+ message: '暂无数据'
+ })
+ return
}
- if (val == '4') { // 操作记录
- var parpams = {
- sid: this.rowItemSid
- }
- req.operationrecordDetails(parpams).then((resp) => {
- this.operateList = resp.data
- }).catch(() => {})
+ req.fetchDetailsBySid(this.rowItemSid).then((resp) => {
+ this.goodsDetailList = resp.data.purchaseBillDetailList
+ }).catch(() => {})
+
+ var parpams = {
+ sid: this.rowItemSid
}
+ req.operationrecordDetails(parpams).then((resp) => {
+ this.operateList = resp.data
+ }).catch(() => {})
},
selectionLineChangeHandle(val) {
@@ -564,8 +581,13 @@
const data = resp.data
this.queryParams.total = data.total
this.dataList = data.records
- this.rowItemSid = data.records[0].sid
- this.handleSelect('1')
+
+ this.goodsDetailList = []
+
+ this.operateList = []
+
+ this.rowItemClick(data.records[0])
+
} else {
// 根据resp.code进行异常情况处理
this.dataList = []
diff --git a/src/views/system/menuManage/menuManage.vue b/src/views/system/menuManage/menuManage.vue
index f1b9226..230722c 100644
--- a/src/views/system/menuManage/menuManage.vue
+++ b/src/views/system/menuManage/menuManage.vue
@@ -92,7 +92,8 @@
-
+
-->
-
+
|