Browse Source

客服修改

pre-production
马远东 11 months ago
parent
commit
607c608bc1
  1. 11
      src/views/aftersales/aftersalesWorkOrderend.vue
  2. 41
      src/views/basicdata/brand/basicdataFreightFrom.vue
  3. 4
      src/views/distribution/inventory/distributionStockListMarket.vue

11
src/views/aftersales/aftersalesWorkOrderend.vue

@ -749,7 +749,7 @@
</template>
</el-upload>
<el-select
<!-- <el-select
v-model="separateMessageResponsibility"
multiple
filterable
@ -765,7 +765,7 @@
:value="item.value"
:disabled="item.disabled"
/>
</el-select>
</el-select> -->
</div>
<el-button type="primary" class="el_next" @click="NextRecord()">
下一条
@ -780,6 +780,7 @@
@input="appoint(Msgtextarea)"
/>
<div class="msgHf">
<el-button type="primary" @click="replyMessage()"> 结束回复 </el-button>
<el-button type="primary" @click="replyMessage()"> 回复 </el-button>
</div>
</div>
@ -2699,7 +2700,6 @@ const CustomerServiceCompleted = () => {
right: 0;
bottom: 0;
:deep(.el-button) {
margin-left: 20px;
}
}
.ovhe {
@ -2935,7 +2935,10 @@ const CustomerServiceCompleted = () => {
align-items: center;
justify-content: space-between;
}
:deep(.el-upload){
:deep(.Transport_damage_photos){
.el-upload{
display: none;
}
}
</style>

41
src/views/basicdata/brand/basicdataFreightFrom.vue

@ -99,7 +99,7 @@
:show-all-levels="false"
style="width: 100%"
v-model="form.category"
@change="categoryChange(form.category,a)"
@change="categoryChange"
></el-cascader>
</el-form-item>
</el-col>
@ -316,6 +316,7 @@ export default {
DryWarehouseDistributionCID: '', //ID
clientOptions: [], //
categoryData:[],//
categoryDataID:[],//ID
activeName: 'second',
//
page: {
@ -361,7 +362,9 @@ export default {
lazy: true,
multiple: true,
checkStrictly: true,
lazyLoad(node, resolve) {
lazyLoad:(node, resolve)=> {
console.log(this,'this');
let _this=this
const { level } = node;
setTimeout(async () => {
// console.log("node/////////",node);
@ -369,7 +372,10 @@ export default {
// console.log("par",parentId);
let shuju = await getDeptLazyTree(parentId);
console.log(shuju,'品类数据');
shuju.data.data.forEach((item=>{
_this.categoryData.push(item)
}))
console.log(_this.categoryData,'categoryData');
// console.log(")))))))))))",shuju);
const nodes = Array.from(shuju.data.data).map(item => ({
value: item.id,
@ -482,7 +488,22 @@ export default {
// this.form.details = this.DryWarehouseDistributionB;
this.form.details = [].concat(...this.DryWarehouseDistributionA, ...this.DryWarehouseDistributionB, ...this.DryWarehouseDistributionC);
console.log('提交的数据》》》', this.form);
console.log(this.categoryDataID,'id');
console.log(this.categoryData,'名字');
let matchedData = this.categoryDataID.map(subArray => {
// subArray id
if (subArray.length === 1) {
let idToMatch = subArray[0];
// datas id
let matched = this.categoryData.find(data => data.id === idToMatch);
//
if (matched) {
return matched;
}
}
return null;
}).filter(item => item !== null); // null
console.log(matchedData,'筛选出来的值');
return
add(this.form).then(() => {
this.$store.commit('DEL_TAG_CURRENT'); //
@ -734,7 +755,19 @@ export default {
},
categoryChange(val,a){
console.log(val,a);
let newArray = val.map(subArray => {
// 1
if (subArray.length > 1) {
return [subArray[subArray.length - 1]];
}
//
return subArray;
});
this.categoryDataID=newArray
console.log(this.categoryDataID,'data中的数据');
console.log(newArray,'重新组织的');
},
handleCheckedCitiesChange(value, index) {
//
console.log('>>>>>>>', value, index);

4
src/views/distribution/inventory/distributionStockListMarket.vue

@ -826,7 +826,7 @@ export default {
//
let asd = await getListMaterial(this.page.currentPage, this.page.pageSize, {
name: query,
pid: this.stockList.materialId,
// pid: this.stockList.materialId,
}).then();
console.log('物料信息', asd.data.data);
if (!!asd.data.data) {
@ -1115,7 +1115,7 @@ export default {
this.getQuery.quantityStock = row.row.quantityStock;
this.formInline.descriptionGoods = this.getQuery.name;
let q = this.distributionUnit.find(i => i.dictKey == this.getQuery.logpmUnit);
this.getQuery.logpmUnitName = q.dictValue;
this.getQuery.logpmUnitName =q?q.dictValue:null;
// getListParcelDetails(this.pageDetails.currentPage,this.pageDetails.pageSize,par).then(res => {
// console.log("<><>===", res.data.data);
// const data = res.data.data;

Loading…
Cancel
Save