Commit 57fecd32 by zhangzhen

细节优化

parent fa318f50
......@@ -7,7 +7,7 @@
</view>
</block>
<block slot="content">
<text class="text-white">客户售后</text>
<text class="text-white">售后服务</text>
</block>
<block slot="right">
<view class="margin-right text-xxl" @tap="onPopOpen">
......@@ -116,7 +116,7 @@
</view>
<view class="create_btn" @click="gotoSkip">
新建售后
新建售后
</view>
<u-popup :show="show" mode="right" :closeOnClickOverlay="true" :zIndex="455" :safeAreaInsetBottom="true"
:safeAreaInsetTop="true" round="6" @close="onPopClose">
......
......@@ -285,7 +285,7 @@
}else{
let fileData = {
matId: this.dataInfo.id,
bizType: 'HPYX010',
bizType: 'YX010',
docId: this.fileList[i].id,
docName:this.fileList[i].name,
docSize:this.fileList[i].size,
......
......@@ -197,8 +197,9 @@
})
orderSave(this.formData).then(res => {
if (res.data.__sys__.status === 0) {
if (res.data.detail && this.fileList.length) {
this.dataInfo = res.data.detail;
let list = toJsonData(res.data.__blocks__.result.rows, res.data.__blocks__.result.meta.columns)
if (list && list.length && this.fileList.length) {
this.dataInfo = list[0];
this.onFileBindByRecord(0)
} else {
this.onSaveSuccess()
......
......@@ -7,7 +7,7 @@
</view>
</block>
<block slot="content">
<text class="text-white">营销业绩</text>
<text class="text-white">销售业绩</text>
</block>
<block slot="right">
<view class="margin-right text-xxl" @tap="onPopOpen">
......
......@@ -166,7 +166,7 @@
list.forEach(item => {
if(['image','png','jpg','jpeg','webp'].includes(item.docType)){
this.fileList.push({
img:this.assetsPath+"/hpjx/file/download/"+item.docId
img:this.assetsPath+"/hggp/file/download/"+item.docId
})
}
})
......
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