|
@@ -49,7 +49,6 @@
|
|
|
>
|
|
>
|
|
|
</el-option>
|
|
</el-option>
|
|
|
</el-select>
|
|
</el-select>
|
|
|
- <!-- <el-input :readonly="type == 'view'" v-model="form.name" /> -->
|
|
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
@@ -117,7 +116,6 @@
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
|
- <!-- 做下拉,做字典 -->
|
|
|
|
|
<el-form-item
|
|
<el-form-item
|
|
|
label="故障等级:"
|
|
label="故障等级:"
|
|
|
prop="faultLevel"
|
|
prop="faultLevel"
|
|
@@ -163,11 +161,6 @@
|
|
|
row-key="id"
|
|
row-key="id"
|
|
|
default-expand-all
|
|
default-expand-all
|
|
|
>
|
|
>
|
|
|
- <!--
|
|
|
|
|
- :expanded-row-keys="expandedRowKeys"
|
|
|
|
|
- :default-expanded-keys="expandedKeys"
|
|
|
|
|
- -->
|
|
|
|
|
- <!-- *** -->
|
|
|
|
|
<template v-slot:measureQuantity="{ row }">
|
|
<template v-slot:measureQuantity="{ row }">
|
|
|
<el-input
|
|
<el-input
|
|
|
@input="totalCountChange(row, 'measureQuantity')"
|
|
@input="totalCountChange(row, 'measureQuantity')"
|
|
@@ -320,7 +313,6 @@
|
|
|
@confirm="delSon(row, $index)"
|
|
@confirm="delSon(row, $index)"
|
|
|
>
|
|
>
|
|
|
<template v-slot:reference>
|
|
<template v-slot:reference>
|
|
|
- <!-- v-if="faultOperate(data)" -->
|
|
|
|
|
<el-link
|
|
<el-link
|
|
|
type="danger"
|
|
type="danger"
|
|
|
v-if="faultOperate(data)"
|
|
v-if="faultOperate(data)"
|
|
@@ -330,13 +322,6 @@
|
|
|
>
|
|
>
|
|
|
</template>
|
|
</template>
|
|
|
</el-popconfirm>
|
|
</el-popconfirm>
|
|
|
- <!-- <el-link
|
|
|
|
|
- type="danger"
|
|
|
|
|
- :underline="false"
|
|
|
|
|
- icon="el-icon-delete"
|
|
|
|
|
- v-if="type != 'view'"
|
|
|
|
|
- @click="del(row, $index)"
|
|
|
|
|
- >删除</el-link>-->
|
|
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<template v-slot:headerType="{ column }">
|
|
<template v-slot:headerType="{ column }">
|
|
@@ -368,9 +353,6 @@
|
|
|
></el-input>
|
|
></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</template>
|
|
</template>
|
|
|
- <!-- <template v-slot:attachments="{ row }">
|
|
|
|
|
- <fileMain v-model="row.attachments" :type="type == 'view' ? 'view' : 'add'"></fileMain>
|
|
|
|
|
- </template>-->
|
|
|
|
|
<template v-slot:action="{ row, $index }">
|
|
<template v-slot:action="{ row, $index }">
|
|
|
<el-link
|
|
<el-link
|
|
|
type="primary"
|
|
type="primary"
|
|
@@ -387,20 +369,7 @@
|
|
|
@click="del(row, $index)"
|
|
@click="del(row, $index)"
|
|
|
>删除</el-link
|
|
>删除</el-link
|
|
|
>
|
|
>
|
|
|
- <!-- <el-link
|
|
|
|
|
- type="danger"
|
|
|
|
|
- :underline="false"
|
|
|
|
|
- icon="el-icon-delete"
|
|
|
|
|
- @click="del(row, $index)"
|
|
|
|
|
- >查看历史记录
|
|
|
|
|
- </el-link>-->
|
|
|
|
|
</template>
|
|
</template>
|
|
|
- <!-- <template v-slot:headerTypeDescribe="{ column }">
|
|
|
|
|
- <span class="is-required">{{ column.label }}</span>
|
|
|
|
|
- </template>-->
|
|
|
|
|
- <!-- <template v-slot:headerType="{ column }">
|
|
|
|
|
- <span class="is-required">{{ column.label }}</span>
|
|
|
|
|
- </template>-->
|
|
|
|
|
</ele-pro-table>
|
|
</ele-pro-table>
|
|
|
<headerTitle
|
|
<headerTitle
|
|
|
title="联系人信息"
|
|
title="联系人信息"
|
|
@@ -528,9 +497,8 @@
|
|
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
import dictMixins from '@/mixins/dictMixins';
|
|
import dictMixins from '@/mixins/dictMixins';
|
|
|
- // import fileMain from '@/components/addDoc/index.vue';
|
|
|
|
|
import PhotoList from './photoList.vue';
|
|
import PhotoList from './photoList.vue';
|
|
|
- import { mapGetters, mapActions } from 'vuex';
|
|
|
|
|
|
|
+ import { mapGetters } from 'vuex';
|
|
|
import { contactDetail } from '@/api/saleManage/contact';
|
|
import { contactDetail } from '@/api/saleManage/contact';
|
|
|
import parentList from '@/views/saleManage/contact/components/parentList.vue';
|
|
import parentList from '@/views/saleManage/contact/components/parentList.vue';
|
|
|
import invoiceDialog from './invoiceDialog.vue';
|
|
import invoiceDialog from './invoiceDialog.vue';
|
|
@@ -625,12 +593,6 @@
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
showOverflowTooltip: true
|
|
showOverflowTooltip: true
|
|
|
},
|
|
},
|
|
|
- // {
|
|
|
|
|
- // action: 'select',
|
|
|
|
|
- // slot: 'select',
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
- // label: '选择'
|
|
|
|
|
- // },
|
|
|
|
|
{
|
|
{
|
|
|
width: 45,
|
|
width: 45,
|
|
|
type: 'expand',
|
|
type: 'expand',
|
|
@@ -712,70 +674,6 @@
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
showOverflowTooltip: true
|
|
showOverflowTooltip: true
|
|
|
},
|
|
},
|
|
|
- // {
|
|
|
|
|
- // prop: 'packageNo',
|
|
|
|
|
- // label: '包装编码',
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
- // showOverflowTooltip: true
|
|
|
|
|
- // },
|
|
|
|
|
- // {
|
|
|
|
|
- // prop: 'packingQuantity',
|
|
|
|
|
- // label: '包装数量',
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
- // showOverflowTooltip: true
|
|
|
|
|
- // },
|
|
|
|
|
- // {
|
|
|
|
|
- // prop: 'packingUnit',
|
|
|
|
|
- // label: '包装单位',
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
- // showOverflowTooltip: true
|
|
|
|
|
- // },
|
|
|
|
|
-
|
|
|
|
|
- // {
|
|
|
|
|
- // prop: 'materielDesignation',
|
|
|
|
|
- // label: '物料代号',
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
- // showOverflowTooltip: true
|
|
|
|
|
- // },
|
|
|
|
|
- // {
|
|
|
|
|
- // prop: 'engrave',
|
|
|
|
|
- // label: '刻码',
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
- // showOverflowTooltip: true
|
|
|
|
|
- // },
|
|
|
|
|
- // {
|
|
|
|
|
- // prop: 'useLocation',
|
|
|
|
|
- // label: '使用地点',
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
- // slot: 'useLocation',
|
|
|
|
|
- // showOverflowTooltip: true,
|
|
|
|
|
- // width: 200
|
|
|
|
|
- // },
|
|
|
|
|
- // {
|
|
|
|
|
- // prop: 'type',
|
|
|
|
|
- // slot: 'type',
|
|
|
|
|
- // label: '问题类型',
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
- // headerSlot: 'headerType',
|
|
|
|
|
- // showOverflowTooltip: true,
|
|
|
|
|
- // width: 120
|
|
|
|
|
- // },
|
|
|
|
|
- // {
|
|
|
|
|
- // prop: 'typeDescribe',
|
|
|
|
|
- // slot: 'typeDescribe',
|
|
|
|
|
- // label: '问题描述',
|
|
|
|
|
- // headerSlot: 'headerTypeDescribe',
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
- // showOverflowTooltip: true,
|
|
|
|
|
- // width: 400
|
|
|
|
|
- // },
|
|
|
|
|
- // {
|
|
|
|
|
- // prop: 'attachments',
|
|
|
|
|
- // slot: 'attachments',
|
|
|
|
|
- // label: '附件',
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
- // width: 120
|
|
|
|
|
- // },
|
|
|
|
|
{
|
|
{
|
|
|
columnKey: 'action',
|
|
columnKey: 'action',
|
|
|
label: '操作',
|
|
label: '操作',
|
|
@@ -860,7 +758,6 @@
|
|
|
},
|
|
},
|
|
|
// 需求表格修改权限 ***
|
|
// 需求表格修改权限 ***
|
|
|
tableOperate() {
|
|
tableOperate() {
|
|
|
- console.log(this.type, '--------------- type');
|
|
|
|
|
if (this.isReportDetails) {
|
|
if (this.isReportDetails) {
|
|
|
return false;
|
|
return false;
|
|
|
}
|
|
}
|
|
@@ -937,10 +834,6 @@
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
watch: {
|
|
watch: {
|
|
|
- type(val) {
|
|
|
|
|
- console.log(val, 'val ---');
|
|
|
|
|
- },
|
|
|
|
|
-
|
|
|
|
|
demandList: {
|
|
demandList: {
|
|
|
handler(val) {
|
|
handler(val) {
|
|
|
this.demandList = val;
|
|
this.demandList = val;
|
|
@@ -951,8 +844,6 @@
|
|
|
},
|
|
},
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
- // expandedRowKeys: [],
|
|
|
|
|
- // expandedKeys: [], // 选中
|
|
|
|
|
tableList: [],
|
|
tableList: [],
|
|
|
selection: [],
|
|
selection: [],
|
|
|
// 日期选择器配置
|
|
// 日期选择器配置
|
|
@@ -978,11 +869,9 @@
|
|
|
phoneVisible: false
|
|
phoneVisible: false
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
-
|
|
|
|
|
created() {},
|
|
created() {},
|
|
|
methods: {
|
|
methods: {
|
|
|
async init(res) {
|
|
async init(res) {
|
|
|
- console.log(this.type, 'res 000');
|
|
|
|
|
this.$set(this.form, 'tableList', res.productDetail);
|
|
this.$set(this.form, 'tableList', res.productDetail);
|
|
|
this.$set(this.form, 'orderCode', res.orderCode);
|
|
this.$set(this.form, 'orderCode', res.orderCode);
|
|
|
this.$set(this.form, 'orderId', res.orderId);
|
|
this.$set(this.form, 'orderId', res.orderId);
|
|
@@ -1003,7 +892,6 @@
|
|
|
seeImage(row) {
|
|
seeImage(row) {
|
|
|
this.phoneList = row.imageUrl || [];
|
|
this.phoneList = row.imageUrl || [];
|
|
|
this.phoneVisible = true;
|
|
this.phoneVisible = true;
|
|
|
- console.log(row, 'row --');
|
|
|
|
|
},
|
|
},
|
|
|
closePhone() {
|
|
closePhone() {
|
|
|
this.phoneList = [];
|
|
this.phoneList = [];
|
|
@@ -1073,7 +961,6 @@
|
|
|
},
|
|
},
|
|
|
//发货单回调
|
|
//发货单回调
|
|
|
invoiceChange(data) {
|
|
invoiceChange(data) {
|
|
|
- console.log(data, '明细数据');
|
|
|
|
|
this.$set(this.form, 'orderCode', data.orderCode);
|
|
this.$set(this.form, 'orderCode', data.orderCode);
|
|
|
this.$set(this.form, 'orderId', data.orderId);
|
|
this.$set(this.form, 'orderId', data.orderId);
|
|
|
let list = JSON.parse(JSON.stringify(data.tableList));
|
|
let list = JSON.parse(JSON.stringify(data.tableList));
|
|
@@ -1083,11 +970,6 @@
|
|
|
(el.measureQuantity = el.measureQuantity ? el.measureQuantity : 1)
|
|
(el.measureQuantity = el.measureQuantity ? el.measureQuantity : 1)
|
|
|
);
|
|
);
|
|
|
this.$set(this.form, 'tableList', list);
|
|
this.$set(this.form, 'tableList', list);
|
|
|
- // 单选赋值 ***
|
|
|
|
|
- // if (data.tableList && data.tableList.length > 0) {
|
|
|
|
|
- // this.radio = data.tableList[0].id;
|
|
|
|
|
- // this.radio = 0;
|
|
|
|
|
- // }
|
|
|
|
|
},
|
|
},
|
|
|
addBank() {
|
|
addBank() {
|
|
|
this.form.contactInfoVOS.push({
|
|
this.form.contactInfoVOS.push({
|