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"> <div class="avue-crud__left">
<el-button type="primary" @click="exporTemp"> <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-button type="primary" @click="ImportTemplate">
<el-icon><Download /></el-icon></el-button <el-icon><Download /></el-icon></el-button
> >
</div> </div>
<!-- 头部右侧按钮模块 --> <!-- 头部右侧按钮模块 -->

37
src/views/aftersales/aftersalesWorkOrderend.vue

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

12
src/views/financialsector/CustomerBaseprice.vue

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

Loading…
Cancel
Save