Browse Source

修复客服已知bug,价格导出修改

dev-xx
马远东 11 months ago
parent
commit
987f2e092e
  1. 4
      src/views/Pricesystem/ListOfPriceSystems.vue
  2. 37
      src/views/aftersales/aftersalesWorkOrderend.vue
  3. 12
      src/views/financialsector/CustomerBaseprice.vue

4
src/views/Pricesystem/ListOfPriceSystems.vue

@ -16,10 +16,10 @@
<!-- 头部左侧按钮模块 -->
<div class="avue-crud__left">
<el-button type="primary" @click="exporTemp">
<el-icon><Download /></el-icon></el-button
<el-icon><Download /></el-icon></el-button
>
<el-button type="primary" @click="ImportTemplate">
<el-icon><Download /></el-icon></el-button
<el-icon><Download /></el-icon></el-button
>
</div>
<!-- 头部右侧按钮模块 -->

37
src/views/aftersales/aftersalesWorkOrderend.vue

@ -89,7 +89,7 @@
<div class="el_information">
<div class="el_information_row">
<el-form-item label="车次号" v-if="displaySettings.trainNumber">
<el-input v-model="endFrom.trainNumber" />
<el-input v-model="endFrom.trainNumber" disabled />
</el-form-item>
<el-form-item label="配送时间" v-if="displaySettings.deliveryTime">
@ -97,6 +97,7 @@
v-model="endFrom.deliveryTime"
type="datetime"
format="YYYY-MM-DD"
disabled
/>
</el-form-item>
@ -110,6 +111,7 @@
filterable
default-first-option
:reserve-keyword="false"
disabled
>
<el-option
v-for="item in DeliveryDriver"
@ -121,7 +123,7 @@
</el-form-item>
<el-form-item label="车辆路线" v-if="displaySettings.vehicleRoute">
<el-input v-model="endFrom.vehicleRoute" />
<el-input v-model="endFrom.vehicleRoute" disabled/>
</el-form-item>
<el-form-item label="发货时间" v-if="displaySettings.deliverGoodsTime">
@ -129,6 +131,7 @@
v-model="endFrom.deliverGoodsTime"
type="datetime"
format="YYYY-MM-DD"
disabled
/>
</el-form-item>
@ -138,6 +141,7 @@
type="datetime"
format="YYYY-MM-DD"
value-format="YYYY-MM-DD"
disabled
/>
</el-form-item>
@ -147,11 +151,12 @@
type="datetime"
format="YYYY-MM-DD"
value-format="YYYY-MM-DD"
disabled
/>
</el-form-item>
<!-- 必填 -->
<el-form-item label="运单商场" v-if="displaySettings.waybillMall">
<el-input v-model="endFrom.waybillMall" />
<el-input v-model="endFrom.waybillMall" disabled/>
</el-form-item>
<el-form-item label="合作模式" v-if="displaySettings.typeServiceName">
@ -168,6 +173,7 @@
label="处理方"
v-if="displaySettings.processor"
style="width: 42%"
>
<el-select
v-model="endFrom.processor"
@ -176,6 +182,7 @@
allow-create
default-first-option
:reserve-keyword="false"
disabled
>
<el-option
v-for="item in warehouseData"
@ -1243,6 +1250,7 @@ const onLoad = () => {
$_getInfo({ id: $route.query.id }).then(res => {
console.log(res, '回显返回值参数');
endFrom.value = res.data.data;
console.log( endFrom.value,'存储起来的参数');
endFrom.value.result = [];
endFrom.value.processor = [];
endFrom.value.packageImage = [];
@ -1395,7 +1403,7 @@ const onLoad = () => {
obj => obj.dictKey == endFrom.value.workOrderStatus
).dictValue; //
});
console.log( endFrom.value,'endFrom.value');
//
getDictionaryBiz('payment_method').then(res => {
//
@ -1583,13 +1591,13 @@ const changeProcessingResults = val => {
const displaySettings = computed(() => {
return {
trainNumber: ['3', '5', '7', '6'].includes(endFrom.value.workOrderType), //
deliveryTime: ['5', '7', '6'].includes(endFrom.value.workOrderType), //
deliveryDriver: ['5', '7', '6'].includes(endFrom.value.workOrderType), //
vehicleRoute: ['3'].includes(endFrom.value.workOrderType), //线
deliverGoodsTime: ['2'].includes(endFrom.value.workOrderType), //
warehousingTime: ['4'].includes(endFrom.value.workOrderType), //
discoveryTime: ['4', '5', '6', '7'].includes(endFrom.value.workOrderType), //
trainNumber: ['3', '5', '7', '6'].includes(endFrom.value.discoveryNode), //
deliveryTime: ['5', '7', '6'].includes(endFrom.value.discoveryNode), //
deliveryDriver: ['5', '7', '6'].includes(endFrom.value.discoveryNode), //
vehicleRoute: ['3'].includes(endFrom.value.discoveryNode), //线
deliverGoodsTime: ['2'].includes(endFrom.value.discoveryNode), //
warehousingTime: ['4'].includes(endFrom.value.discoveryNode), //
discoveryTime: ['4', '5', '6', '7'].includes(endFrom.value.discoveryNode), //
waybillMall: true, //
typeServiceName: true, //
processor: true, //
@ -2286,6 +2294,8 @@ const submit = async val => {
};
//
const replyMessage = () => {
console.log(endFrom.value,'endFrom.value');
console.log(endFrom.value.workOrderType,'类型');
if (!Msgtextarea.value) {
ElMessage({
message: '请输入回复内容',
@ -3137,12 +3147,14 @@ const CustomerServiceCompleted = () => {
flex-wrap: wrap;
:deep(.el-form-item) {
width: 14%;
width: 16%;
height: auto;
display: flex;
align-items: flex-start;
flex-direction: column;
flex: none;
margin-right: 4px;
margin-bottom: 0;
.el-form-item__label {
margin-left: 0;
}
@ -3154,6 +3166,7 @@ const CustomerServiceCompleted = () => {
width: 100%;
display: flex;
flex-wrap: wrap;
}
}
.el-select {

12
src/views/financialsector/CustomerBaseprice.vue

@ -23,12 +23,7 @@
<el-button type="primary" @click="Deletetemplate">
<el-icon><Delete /></el-icon> </el-button
>
<el-button type="primary" @click="exporTemp">
<el-icon><Download /></el-icon></el-button
>
<el-button type="primary" @click="ImportTemplate">
<el-icon><Download /></el-icon></el-button
>
</div>
<!-- 头部右侧按钮模块 -->
<div class="avue-crud__right">
@ -377,10 +372,7 @@ const Modifytemplate = row => {
});
};
//
const ImportTemplate = () => {
dialogTemp.value = true;
};
//
const dialogVisible = () => {};
</script>

Loading…
Cancel
Save