Browse Source

导出按钮

master
常熟吴彦祖 3 months ago
parent
commit
f49f0e467d
  1. 4
      src/views/modules/orderIssure/newSoIssueNotify.vue
  2. 18
      src/views/modules/orderIssure/searchIssureNotify.vue

4
src/views/modules/orderIssure/newSoIssueNotify.vue

@ -1153,6 +1153,7 @@ export default {
let inData = { let inData = {
site: this.$store.state.user.site, site: this.$store.state.user.site,
username: this.$store.state.user.name, username: this.$store.state.user.name,
orderType: 'shoporder', // rqrq - shoporder
} }
this.getAllNotifyStatus() this.getAllNotifyStatus()
getUserNotifyNo(inData).then(({ data }) => { getUserNotifyNo(inData).then(({ data }) => {
@ -1199,6 +1200,7 @@ export default {
let inData = { let inData = {
site: this.$store.state.user.site, site: this.$store.state.user.site,
notifyNo: this.notifyNo, notifyNo: this.notifyNo,
orderType: 'shoporder', // rqrq - shoporder
} }
getNotifyNoDetail(inData).then(({ data }) => { getNotifyNoDetail(inData).then(({ data }) => {
if (data.code === 0) { if (data.code === 0) {
@ -1211,6 +1213,7 @@ export default {
let inData = { let inData = {
site: this.$store.state.user.site, site: this.$store.state.user.site,
userName: this.$store.state.user.name, userName: this.$store.state.user.name,
orderType: 'shoporder', // rqrq - shoporder
} }
createNotify(inData).then(({ data }) => { createNotify(inData).then(({ data }) => {
if (data.code === 0) { if (data.code === 0) {
@ -1241,6 +1244,7 @@ export default {
userName: this.$store.state.user.name, userName: this.$store.state.user.name,
outWorkOrderFlag: outWorkOrderFlag, outWorkOrderFlag: outWorkOrderFlag,
remark: this.selectedNotifyRemark, remark: this.selectedNotifyRemark,
orderType: 'shoporder', // rqrq - shoporder
} }
this.getAllNotifyStatus() this.getAllNotifyStatus()
createNotify(inData).then(({ data }) => { createNotify(inData).then(({ data }) => {

18
src/views/modules/orderIssure/searchIssureNotify.vue

@ -412,6 +412,7 @@
issueEndDate: this.dayjs().format("YYYY-MM-DD")+" 23:59:59", issueEndDate: this.dayjs().format("YYYY-MM-DD")+" 23:59:59",
sql: "", sql: "",
orderNo: "", orderNo: "",
orderType: 'shoporder', // rqrq - shoporder
}, },
notifyData:{ notifyData:{
site: '', site: '',
@ -1066,10 +1067,15 @@
}, },
refreshCurrentTabTable(){ refreshCurrentTabTable(){
if(this.currentRow===''||this.currentRow===null){ if(this.currentRow===''||this.currentRow===null){
this.currentRow={site:'',notifyNo:''}
this.currentRow={site:'',notifyNo:'',orderType:'shoporder'}
}
// rqrq - orderType
let queryData = {
...this.currentRow,
orderType: 'shoporder'
} }
if(this.activeName==='detail'){ if(this.activeName==='detail'){
searchNotifyOrderListNew(this.currentRow).then(({data}) => {
searchNotifyOrderListNew(queryData).then(({data}) => {
// //
if (data && data.code == 0) { if (data && data.code == 0) {
this.dataList2 = data.rows this.dataList2 = data.rows
@ -1079,7 +1085,7 @@
} }
}); });
}else if(this.activeName==='sub'){ }else if(this.activeName==='sub'){
searchNotifyMaterialListNew(this.currentRow).then(({data}) => {
searchNotifyMaterialListNew(queryData).then(({data}) => {
// //
if (data && data.code == 0) { if (data && data.code == 0) {
this.dataList3 = data.rows this.dataList3 = data.rows
@ -1089,7 +1095,7 @@
} }
}); });
}else if(this.activeName==='change'){ }else if(this.activeName==='change'){
searchNotifyLogNew(this.currentRow).then(({data}) => {
searchNotifyLogNew(queryData).then(({data}) => {
// //
if (data && data.code == 0) { if (data && data.code == 0) {
this.dataList5 = data.rows this.dataList5 = data.rows
@ -1099,7 +1105,7 @@
} }
}); });
}else if(this.activeName==='close'){ }else if(this.activeName==='close'){
searchNotifyLogCloseNew(this.currentRow).then(({data}) => {
searchNotifyLogCloseNew(queryData).then(({data}) => {
// //
if (data && data.code == 0) { if (data && data.code == 0) {
this.dataList6 = data.rows this.dataList6 = data.rows
@ -1109,7 +1115,7 @@
} }
}); });
}else { }else {
searchSumNotifyMaterialListNew(this.currentRow).then(({data}) => {
searchSumNotifyMaterialListNew(queryData).then(({data}) => {
// //
if (data && data.code == 0) { if (data && data.code == 0) {
this.dataList4 = data.rows this.dataList4 = data.rows

Loading…
Cancel
Save