Commit 336bf677 by LJM

bug

parent b403e98d
...@@ -81,11 +81,11 @@ ...@@ -81,11 +81,11 @@
</template> </template>
<script> <script>
import { API } from '@/util/api.js'; import { API } from '@/util/api.js';
import { titleCase } from '@/util/util.js'; import { titleCase } from '@/util/util.js';
import w_md5 from '../../js_sdk/zww-md5/w_md5.js'; import w_md5 from '../../js_sdk/zww-md5/w_md5.js';
export default { export default {
data() { data() {
return { return {
noexebshowFalg: true, //控制是否会触发生命周期 noexebshowFalg: true, //控制是否会触发生命周期
...@@ -323,8 +323,7 @@ export default { ...@@ -323,8 +323,7 @@ export default {
content: res.err_msg, content: res.err_msg,
showCancel: false, showCancel: false,
success: res => { success: res => {
if (res.confirm) { if (res.confirm) {} else if (res.cancel) {
} else if (res.cancel) {
console.log('用户点击取消'); console.log('用户点击取消');
} }
} }
...@@ -333,9 +332,9 @@ export default { ...@@ -333,9 +332,9 @@ export default {
}); });
} }
} }
}; };
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
@import '../../assets/css/goods/addReceiving.scss'; @import '../../assets/css/goods/addReceiving.scss';
</style> </style>
\ No newline at end of file
...@@ -94,7 +94,9 @@ ...@@ -94,7 +94,9 @@
<text class="tt-l">采购单上传(选填)</text> <text class="tt-l">采购单上传(选填)</text>
<text class="tt-r" v-if="switchFlag">{{ image_list.length }}/4</text> <text class="tt-r" v-if="switchFlag">{{ image_list.length }}/4</text>
</view> </view>
<view class="switch"><switch @change="switchChange" color="#197adb" style="transform:scale(0.7)" /></view> <view class="switch">
<switch @change="switchChange" color="#197adb" style="transform:scale(0.7)" />
</view>
</view> </view>
<view class="upload-list row verCenter" v-if="switchFlag"> <view class="upload-list row verCenter" v-if="switchFlag">
<template v-if="image_list.length > 0"> <template v-if="image_list.length > 0">
...@@ -112,10 +114,10 @@ ...@@ -112,10 +114,10 @@
</template> </template>
<script> <script>
import { API } from '@/util/api.js'; import { API } from '@/util/api.js';
import { titleCase } from '@/util/util.js'; import { titleCase } from '@/util/util.js';
export default { export default {
data() { data() {
return { return {
isInspOrg: false, //是否商检 isInspOrg: false, //是否商检
...@@ -538,8 +540,7 @@ export default { ...@@ -538,8 +540,7 @@ export default {
content: res.err_msg, content: res.err_msg,
showCancel: false, showCancel: false,
success: res => { success: res => {
if (res.confirm) { if (res.confirm) {} else if (res.cancel) {
} else if (res.cancel) {
console.log('用户点击取消'); console.log('用户点击取消');
} }
} }
...@@ -548,9 +549,9 @@ export default { ...@@ -548,9 +549,9 @@ export default {
}); });
} }
} }
}; };
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
@import '../../assets/css/tallyGoods/confirm.scss'; @import '../../assets/css/tallyGoods/confirm.scss';
</style> </style>
\ No newline at end of file
const API_BASE = 'https://api.ichunt.com'; // const API_BASE = 'https://api.ichunt.com';
const API_BASE_OSS = 'https://image.ichunt.net'; //oss系统 // const API_BASE_OSS = 'https://image.ichunt.net'; //oss系统
// const API_BASE = 'http://api.liexin.com'; const API_BASE = 'http://api.liexin.com';
// const API_BASE_OSS = 'http://image.liexindev.net'; const API_BASE_OSS = 'http://image.liexindev.net';
const API = { const API = {
/** /**
......
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 sign in to comment