Commit c63a00af authored by zhengke's avatar zhengke

修改

parent 3f0b3215
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
</backinfoForm> </backinfoForm>
</div> </div>
<div v-if="tabCheck=='second'"> <div v-if="tabCheck=='second'">
 <backflowForm :seting-obj="setingObj" :showType="showType" @close="closeShenheForm" @success="refreshPage">  <backflowForm :seting-obj="setingObj" :showType="showType" :Id="Id" @close="closeShenheForm" @success="refreshPage">
</backflowForm> </backflowForm>
</div> </div>
</q-card> </q-card>
...@@ -85,6 +85,10 @@ ...@@ -85,6 +85,10 @@
showType: { showType: {
type: Number, type: Number,
default: 1 default: 1
},
Id:{
type: Number,
default: null
} }
}, },
components: { components: {
......
...@@ -148,12 +148,12 @@ ...@@ -148,12 +148,12 @@
<script> <script>
import { import {
queryBackBillAduitInfo GetEduReceiptInfo
} from '../../api/sale/bill' } from '../../api/teacher/index'
export default { export default {
props: { props: {
setingObj: { Id: {
type: Object, type: Number,
default: null default: null
} }
}, },
...@@ -164,24 +164,25 @@ ...@@ -164,24 +164,25 @@
return { return {
persistent: true, persistent: true,
qMsg: { qMsg: {
BackId: 0 Id: 0
}, },
DataList: [] DataList: []
} }
}, },
created() { created() {
this.qMsg.BackId = this.setingObj.BackId; this.qMsg.Id = this.Id;
}, },
mounted() { mounted() {
this.getStuBaclFlow(); this.getStuBaclFlow();
}, },
methods: { methods: {
getStuBaclFlow() { getStuBaclFlow() {
queryBackBillAduitInfo(this.qMsg).then(res => { GetEduReceiptInfo (this.qMsg).then(res => {
if (res.Code == 1) { if (res.Code == 1) {
this.DataList = res.Data; console.log(res,'数据');
this.DataList = res.Data
} }
}) }).catch(() => {})
} }
}, },
} }
......
...@@ -25,11 +25,11 @@ ...@@ -25,11 +25,11 @@
</div> </div>
<div class="col-3"> <div class="col-3">
<q-select @input="resetSearch" filled v-model="msg.AuditStatus" :options="ShowOpts" <q-select @input="resetSearch" filled v-model="msg.AuditStatus" :options="ShowOpts"
emit-value map-options label="流程状态" /> emit-value map-options label="审核状态" />
</div> </div>
<div class="col-3"> <div class="col-3">
<q-select @input="resetSearch" option-value="Id" option-label="Name" filled v-model="aa" :options="OrderTypeList" <q-select @input="resetSearch" option-value="Id" option-label="Name" filled v-model="msg.ReceiptType" :options="OrderTypeList"
emit-value map-options label="订单类型" /> emit-value map-options label="单据类型" />
</div> </div>
<div class="col-3 Sysuser_Date"> <div class="col-3 Sysuser_Date">
<q-field filled> <q-field filled>
...@@ -39,7 +39,6 @@ ...@@ -39,7 +39,6 @@
 </el-date-picker>         </el-date-picker>       
</template> </template>
</q-field> </q-field>
<span @click="goDetail()">跳转</span>
</div> </div>
</div> </div>
</div> </div>
...@@ -82,7 +81,7 @@ ...@@ -82,7 +81,7 @@
</q-td> </q-td>
</template> </template>
</q-table> </q-table>
<backbill-form v-if="isShowBillForm" :seting-obj="billObj" :showType="showType" @close="closeBillForm" <backbill-form v-if="isShowBillForm" :seting-obj="billObj" :Id="Id" :showType="showType" @close="closeBillForm"
@success="refreshPage"> @success="refreshPage">
</backbill-form> </backbill-form>
<createbackbill-form v-if="isShowCreateBillForm" :seting-obj="billObj" @close="closeBillForm" <createbackbill-form v-if="isShowCreateBillForm" :seting-obj="billObj" @close="closeBillForm"
...@@ -94,8 +93,7 @@ ...@@ -94,8 +93,7 @@
<script> <script>
import { import {
GetEducationReceiptPage, GetEducationReceiptPage,
GetEducationReceiptType, GetEducationReceiptType
GetEduReceiptInfo
} from '../../api/teacher/index' } from '../../api/teacher/index'
import backbillForm from '../../components/sale/backbill-form'; import backbillForm from '../../components/sale/backbill-form';
...@@ -112,6 +110,11 @@ ...@@ -112,6 +110,11 @@
return { return {
currentUrl: "", currentUrl: "",
columns: [{ columns: [{
name: 'Id',
label: '单号',
field: 'Id',
align: 'left'
},{
name: 'Title', name: 'Title',
label: '标题', label: '标题',
field: 'Title', field: 'Title',
...@@ -150,10 +153,7 @@ ...@@ -150,10 +153,7 @@
data: [], data: [],
loading: true, loading: true,
applyDateList: [], //申请日期 applyDateList: [], //申请日期
ShowOpts: [{ ShowOpts: [
label: '全部',
value: '0'
},
{ {
label: '审核中', label: '审核中',
value: '1' value: '1'
...@@ -176,10 +176,11 @@ ...@@ -176,10 +176,11 @@
pageSize: 12, pageSize: 12,
rowsPerPage: 12, rowsPerPage: 12,
ClassName: "", //学员、班级、老师名称 ClassName: "", //学员、班级、老师名称
AuditStatus: "0", //审核状态 AuditStatus: "", //审核状态
QStartTime: "", //开始时间 StartTime: "", //开始时间
QEndTime: "", //结束时间 EndTime: "", //结束时间
Conditon: 1, Conditon: 1,
ReceiptType:'' //单据类型
}, },
tabCheck: "1", tabCheck: "1",
pageCount: 0, pageCount: 0,
...@@ -188,7 +189,7 @@ ...@@ -188,7 +189,7 @@
billObj: {}, //单据信息 billObj: {}, //单据信息
showType: 1, //1-查看,2-审核 showType: 1, //1-查看,2-审核
OrderTypeList: [], OrderTypeList: [],
aa:1 Id:0
} }
}, },
created() { created() {
...@@ -227,6 +228,7 @@ ...@@ -227,6 +228,7 @@
this.isShowBillForm = true; this.isShowBillForm = true;
this.showType = type; this.showType = type;
this.billObj = item.DataObj; this.billObj = item.DataObj;
this.Id = item.Id;
}, },
//重新查询 //重新查询
resetSearch() { resetSearch() {
...@@ -245,11 +247,11 @@ ...@@ -245,11 +247,11 @@
this.pageCount = 0; this.pageCount = 0;
this.msg.Conditon = this.tabCheck; this.msg.Conditon = this.tabCheck;
if (this.applyDateList && this.applyDateList.length > 0) { if (this.applyDateList && this.applyDateList.length > 0) {
this.msg.QStartTime = this.applyDateList[0]; this.msg.StartTime = this.applyDateList[0];
this.msg.QEndTime = this.applyDateList[1]; this.msg.EndTime = this.applyDateList[1];
} else { } else {
this.msg.QStartTime = ''; this.msg.StartTime = '';
this.msg.QEndTime = ''; this.msg.EndTime = '';
} }
GetEducationReceiptPage(this.msg).then(res => { GetEducationReceiptPage(this.msg).then(res => {
this.loading = false; this.loading = false;
...@@ -272,17 +274,6 @@ ...@@ -272,17 +274,6 @@
this.OrderTypeList = res.Data; this.OrderTypeList = res.Data;
} }
}).catch(() => {}) }).catch(() => {})
},
//详情
goDetail(){
let msg={
Id:1
}
GetEduReceiptInfo (msg).then(res => {
if (res.Code == 1) {
console.log(res,'数据');
}
}).catch(() => {})
} }
}, },
watch: { watch: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment