|
@@ -47,10 +47,12 @@ import JEllipsis from '@/components/jeecg/JEllipsis'
|
|
|
import JsonExcel from 'vue-json-excel'
|
|
|
import { fullRateClick } from '@api/reportForms/full-rate-table'
|
|
|
import SubcomponentRate from '@views/reportForms/full-rate-table/subcomponent-rate.vue'
|
|
|
+import moment from 'moment'
|
|
|
+
|
|
|
export default {
|
|
|
name: 'Detail', // 明细 弹框
|
|
|
mixins: [JeecgListMixin],
|
|
|
- components: { JEllipsis,JsonExcel,SubcomponentRate },
|
|
|
+ components: { JEllipsis,JsonExcel,SubcomponentRate,moment },
|
|
|
data() {
|
|
|
return {
|
|
|
// 表头
|
|
@@ -102,7 +104,7 @@ export default {
|
|
|
dataIndex: 'deliveryDate',
|
|
|
width: 80,
|
|
|
className: 'replacecolor',
|
|
|
- scopedSlots: { customRender: 'fullSetRate' }
|
|
|
+ scopedSlots: { customRender: 'fullSetRate' },
|
|
|
},
|
|
|
{
|
|
|
title: '委外订单数量',
|
|
@@ -132,14 +134,16 @@ export default {
|
|
|
},
|
|
|
|
|
|
methods: {
|
|
|
+ moment,
|
|
|
backDetailTable(){
|
|
|
this.detailModVis = false
|
|
|
},
|
|
|
sonFullSetRate(record){
|
|
|
fullRateClick({mODetailsID:record.mODetailsID}).then(res => {
|
|
|
if (res.success) {
|
|
|
+ debugger
|
|
|
this.$refs.SubcomponentRate.SubcomponentModVis = true
|
|
|
- this.$refs.SubcomponentRate.SubcomponentRateData = res.result.record
|
|
|
+ this.$refs.SubcomponentRate.SubcomponentRateData = res.result
|
|
|
}else{
|
|
|
that.$message.error(res.message);
|
|
|
}
|