Commit 336bf677 by LJM

bug

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