Commit d5b336e6 by lichengming

修改了委托评审拖拽

parent 2b275cca
<template> <template>
<div> <div>
<Modal v-model="showDetailModal" :width="700" title="委托详情" class="modal-footer-none"> <Modal v-model="showDetailModal" v-drag :width="700" title="委托详情" class="modal-footer-none">
<div :style="{height}" style="overflow-y: auto"> <div :style="{height}" style="overflow-y: auto">
<table class="tableClass"> <table class="tableClass">
<tbody> <tbody>
...@@ -39,10 +39,6 @@ export default { ...@@ -39,10 +39,6 @@ export default {
data() { data() {
return { return {
obj: { obj: {
// detail: {},
// customer: {},
// finance: {},
// tested: {}
firsted: 0, firsted: 0,
client: '', client: '',
boreholeLocation: '', boreholeLocation: '',
...@@ -52,7 +48,6 @@ export default { ...@@ -52,7 +48,6 @@ export default {
testType: '' testType: ''
}, },
showDetailModal: false, showDetailModal: false,
// sampleType:['退样','留样','作废'],
dispose: '', dispose: '',
height: '', height: '',
showMoney: false showMoney: false
...@@ -62,13 +57,6 @@ export default { ...@@ -62,13 +57,6 @@ export default {
_open(obj, flag) { _open(obj, flag) {
this.showDetailModal = true this.showDetailModal = true
this.obj = obj this.obj = obj
console.log('传过来的数据')
console.log(this.obj)
// if(obj.dispose !== undefined || ''){
// this.dispose = this.sampleType[obj.dispose];
// }else{
// this.dispose = '';
// }
if (flag === 'showMoney') { if (flag === 'showMoney') {
this.showMoney = true this.showMoney = true
} else { } else {
......
...@@ -143,19 +143,6 @@ export default { ...@@ -143,19 +143,6 @@ export default {
_detailModal(data) { _detailModal(data) {
console.log(data) console.log(data)
this.$refs.sampleEdit._open(data) this.$refs.sampleEdit._open(data)
// 查看
// this.$store.dispatch('FoodContract/getById', data.id).then(() => {
// if (data.type === 0) {
// // 企业委托 ’0‘
// this.currentComponent = 'FoodContractCompanyDetail'
// } else {
// // 政府委托 ’1‘
// this.currentComponent = 'FoodContractGovernDetail'
// }
// this.$nextTick(() => {
// this.$refs.refModal._open(this.$store.state.FoodContract.model)
// })
// })
}, },
_btnClick(msg, componentName) { _btnClick(msg, componentName) {
this.currentComponent = componentName this.currentComponent = componentName
......
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