2018-12-29 17:15:59 +08:00
|
|
|
|
import Taro, { Component, UpdateManager } from '@tarojs/taro'
|
2018-12-27 17:31:17 +08:00
|
|
|
|
import { View, Text, Radio, RadioGroup, Label } from '@tarojs/components'
|
|
|
|
|
import { AtInput, AtImagePicker, AtTextarea, AtButton, Picker, AtToast } from 'taro-ui'
|
|
|
|
|
|
|
|
|
|
import URL from '../../serviceAPI.config'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import './myGoodsEdit.scss'
|
|
|
|
|
|
|
|
|
|
class MyGoodsEdit extends Component {
|
|
|
|
|
config = {
|
|
|
|
|
navigationBarTitleText: '商品编辑'
|
|
|
|
|
}
|
|
|
|
|
constructor() {
|
|
|
|
|
super(...arguments)
|
|
|
|
|
this.state = {
|
2019-01-02 17:31:07 +08:00
|
|
|
|
shopCategoryList: [], // 店铺分类选项
|
2018-12-29 17:15:59 +08:00
|
|
|
|
shopCategoryCheckedPicker: { name: '选择店铺类型', id: '' },
|
2018-12-27 17:31:17 +08:00
|
|
|
|
productName: '',
|
|
|
|
|
productPrice: '',
|
|
|
|
|
productUnit: '',
|
|
|
|
|
productDescript: '',
|
|
|
|
|
pickerImageUrl: [], // 上传的图片
|
|
|
|
|
ImagesInfo: [],// 后台传回来的图片信息
|
2019-01-02 17:31:07 +08:00
|
|
|
|
goodsTypeParam: '',//商品分类参数
|
|
|
|
|
goodId: '',//商品id
|
2018-12-27 17:31:17 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
2018-12-29 17:15:59 +08:00
|
|
|
|
//获取商品信息api GetProductInfo
|
|
|
|
|
getGoodsInfo() {
|
|
|
|
|
Taro.request({
|
|
|
|
|
url: URL.GetProductInfo,
|
|
|
|
|
method: 'GET',
|
|
|
|
|
dataType: 'json',
|
|
|
|
|
data: {
|
|
|
|
|
// goodsID: 'c610femn1j8fHUOM5gvh6VxW03O5mBDgNcAJGGFmvFX3Zw'
|
|
|
|
|
goodsID: this.$router.params.id,
|
|
|
|
|
},
|
|
|
|
|
header: {
|
|
|
|
|
'content-type': 'application/x-www-form-urlencoded',
|
|
|
|
|
'Cookie': 'PFWSSS=' + Taro.getStorageSync('session_id'),
|
|
|
|
|
'X-Requested-With': 'XMLHttpRequest'
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
.then(res => {
|
|
|
|
|
console.log('商品详情获取成功', res)
|
|
|
|
|
const imageFile = res.data.goodsFiles.map((item) => {
|
|
|
|
|
return { url: URL.Base + item.files.file_path }
|
|
|
|
|
})
|
2019-01-02 17:31:07 +08:00
|
|
|
|
const shopTypeId = res.data.goods.shop_class_id
|
|
|
|
|
const shopTypeName = this.state.shopCategoryList.filter(item => {
|
|
|
|
|
return item.id === shopTypeId
|
2018-12-29 17:15:59 +08:00
|
|
|
|
})
|
2019-01-02 17:31:07 +08:00
|
|
|
|
|
|
|
|
|
|
2018-12-29 17:15:59 +08:00
|
|
|
|
this.setState({
|
|
|
|
|
productName: res.data.goods.goods_name,
|
|
|
|
|
productPrice: res.data.goods.goods_price,
|
|
|
|
|
productUnit: res.data.goods.goods_unit,
|
|
|
|
|
productDescript: res.data.goods.goods_profiles,
|
2019-01-02 17:31:07 +08:00
|
|
|
|
pickerImageUrl: imageFile,
|
|
|
|
|
ImagesInfo: res.data.goodsFiles,
|
|
|
|
|
shopCategoryCheckedPicker: shopTypeName[0],
|
|
|
|
|
goodsTypeParam: res.data.goods.class_id,
|
|
|
|
|
goodId: res.data.goods.goods_id,
|
2018-12-29 17:15:59 +08:00
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
)
|
|
|
|
|
.catch(error => {
|
|
|
|
|
console.log('商品详情获取失败', error)
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
2018-12-27 17:31:17 +08:00
|
|
|
|
// 店铺分类目录请求 api
|
2019-01-03 17:36:59 +08:00
|
|
|
|
getShopCateList() {
|
2018-12-27 17:31:17 +08:00
|
|
|
|
Taro.request({
|
|
|
|
|
url: URL.GetShopCategoryList,
|
|
|
|
|
method: 'POST',
|
|
|
|
|
dataType: 'json',
|
|
|
|
|
data: {
|
|
|
|
|
id: Taro.getStorageSync('shopInfo').shop_id
|
|
|
|
|
},
|
|
|
|
|
header: {
|
|
|
|
|
'content-type': 'application/x-www-form-urlencoded',
|
|
|
|
|
'Cookie': 'PFWSSS=' + Taro.getStorageSync('session_id'),
|
|
|
|
|
'X-Requested-With': 'XMLHttpRequest'
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
.then(res => {
|
|
|
|
|
if (res.data.err_msg === 'success') {
|
2019-01-02 17:31:07 +08:00
|
|
|
|
|
2018-12-27 17:31:17 +08:00
|
|
|
|
const shopCategoryInfo = res.data.data
|
|
|
|
|
const shopCategory = []
|
|
|
|
|
// 处理后台返回的店铺分类信息
|
|
|
|
|
for (let item in shopCategoryInfo) {
|
|
|
|
|
const children = shopCategoryInfo[item].c
|
|
|
|
|
for (let child in children) {
|
|
|
|
|
shopCategory.push({ id: children[child].id, name: children[child].n })
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-01-02 17:31:07 +08:00
|
|
|
|
this.setState({ shopCategoryList: shopCategory }, () => {
|
2019-01-03 17:36:59 +08:00
|
|
|
|
this.getGoodsInfo()
|
2019-01-02 17:31:07 +08:00
|
|
|
|
})
|
2018-12-27 17:31:17 +08:00
|
|
|
|
console.log('店铺分类目录', res)
|
2018-12-29 17:15:59 +08:00
|
|
|
|
return
|
2018-12-27 17:31:17 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
)
|
|
|
|
|
.catch(error => {
|
|
|
|
|
console.log('店铺分类请求错误', error)
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 发布商品api
|
2019-01-02 17:31:07 +08:00
|
|
|
|
uploadGoods({ goods_name = "test2",
|
|
|
|
|
goods_price = "1.00",
|
|
|
|
|
goods_unit = "1",
|
|
|
|
|
goods_profiles = "test2",
|
|
|
|
|
class_id = "10103",
|
|
|
|
|
shop_class_id = "1930",
|
|
|
|
|
goods_id = '123' }) {
|
2018-12-27 17:31:17 +08:00
|
|
|
|
|
|
|
|
|
// 上传图片的参数
|
|
|
|
|
const uploadProductGoodFileParams = []
|
|
|
|
|
if (this.state.ImagesInfo.length) {
|
|
|
|
|
for (let i = 0; i < this.state.ImagesInfo.length; i++) {
|
|
|
|
|
if (i === 0) {
|
|
|
|
|
uploadProductGoodFileParams.push({
|
|
|
|
|
file_id: this.state.ImagesInfo[i].file_id,
|
|
|
|
|
file_type: 1,
|
|
|
|
|
if_cover: 1,
|
|
|
|
|
file_sort: 1
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
uploadProductGoodFileParams.push({
|
|
|
|
|
file_id: this.state.ImagesInfo[i].file_id,
|
|
|
|
|
file_type: 1,
|
|
|
|
|
if_cover: 0,
|
2019-01-03 17:36:59 +08:00
|
|
|
|
file_sort: i+1
|
|
|
|
|
|
2018-12-27 17:31:17 +08:00
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
alert('图片为空')
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Taro.request({
|
|
|
|
|
url: URL.UploadProduct,
|
|
|
|
|
method: 'POST',
|
|
|
|
|
dataType: 'json',
|
|
|
|
|
data: {
|
2019-01-03 17:36:59 +08:00
|
|
|
|
deployType: 2,
|
2019-01-02 17:31:07 +08:00
|
|
|
|
action: 2,
|
2018-12-27 17:31:17 +08:00
|
|
|
|
goods: JSON.stringify({
|
|
|
|
|
goods_name: goods_name,
|
|
|
|
|
goods_price: goods_price,
|
|
|
|
|
goods_unit: goods_unit,
|
|
|
|
|
goods_profiles: goods_profiles,
|
|
|
|
|
class_id: class_id,
|
2019-01-02 17:31:07 +08:00
|
|
|
|
shop_class_id: shop_class_id,
|
|
|
|
|
goods_id: goods_id,
|
2018-12-27 17:31:17 +08:00
|
|
|
|
}),
|
|
|
|
|
goodsFiles: JSON.stringify(uploadProductGoodFileParams)
|
|
|
|
|
},
|
|
|
|
|
header: {
|
|
|
|
|
'content-type': 'application/x-www-form-urlencoded',
|
|
|
|
|
'Cookie': 'PFWSSS=' + Taro.getStorageSync('session_id'),
|
|
|
|
|
'X-Requested-With': 'XMLHttpRequest'
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
.then(res => {
|
2018-12-29 17:15:59 +08:00
|
|
|
|
Taro.hideLoading()
|
|
|
|
|
Taro.showToast({
|
|
|
|
|
title: '保存成功',
|
|
|
|
|
icon: 'success',
|
|
|
|
|
duration: 1000
|
2018-12-27 17:31:17 +08:00
|
|
|
|
})
|
2018-12-29 17:15:59 +08:00
|
|
|
|
setTimeout(() => {
|
|
|
|
|
Taro.navigateTo({
|
2019-01-02 17:31:07 +08:00
|
|
|
|
url: '/pages/goods/goods?id='+this.$router.params.id
|
2018-12-29 17:15:59 +08:00
|
|
|
|
})
|
|
|
|
|
}, 1000);
|
2018-12-27 17:31:17 +08:00
|
|
|
|
console.log('上传商品', res)
|
|
|
|
|
}
|
|
|
|
|
)
|
|
|
|
|
.catch(error => {
|
2018-12-29 17:15:59 +08:00
|
|
|
|
Taro.hideLoading()
|
|
|
|
|
Taro.showToast({
|
|
|
|
|
title: '保存失败',
|
|
|
|
|
icon: 'none',
|
|
|
|
|
duration: 1000
|
2018-12-27 17:31:17 +08:00
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2018-12-29 17:15:59 +08:00
|
|
|
|
|
|
|
|
|
|
2018-12-27 17:31:17 +08:00
|
|
|
|
productNameChange(event) {
|
|
|
|
|
this.setState({
|
|
|
|
|
productName: event
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
productPriceChange(event) {
|
|
|
|
|
this.setState({
|
|
|
|
|
productPrice: event
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
productUnitChange(event) {
|
|
|
|
|
this.setState({
|
|
|
|
|
productUnit: event
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
productDescriptChange(event) {
|
|
|
|
|
this.setState({
|
|
|
|
|
productDescript: event.target.value
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
// 上传图片
|
|
|
|
|
onChangeImg(files, operationType, index) {
|
|
|
|
|
const that = this
|
|
|
|
|
if (operationType === 'add') {
|
|
|
|
|
Taro.uploadFile({
|
|
|
|
|
url: URL.UploadGoodsPorductImage,
|
|
|
|
|
filePath: files[files.length - 1].url,
|
|
|
|
|
name: 'file',
|
|
|
|
|
formData: {
|
|
|
|
|
user: 'test'
|
|
|
|
|
},
|
|
|
|
|
header: {
|
|
|
|
|
'content-type': 'multipart/form-data',
|
|
|
|
|
'Cookie': 'PFWSSS=' + Taro.getStorageSync('session_id'),
|
|
|
|
|
'X-Requested-With': 'XMLHttpRequest'
|
|
|
|
|
},
|
|
|
|
|
success(response) {
|
2019-01-02 17:31:07 +08:00
|
|
|
|
|
2018-12-27 17:31:17 +08:00
|
|
|
|
const data = JSON.parse(response.data)
|
2019-01-03 17:36:59 +08:00
|
|
|
|
console.log('imagedata',data)
|
2018-12-27 17:31:17 +08:00
|
|
|
|
const imagePath = URL.Base + data.file_path
|
|
|
|
|
const newPickerImageUrl = that.state.pickerImageUrl.concat({ url: imagePath })
|
|
|
|
|
const newImageInfo = that.state.ImagesInfo.concat(data)
|
2019-01-03 17:36:59 +08:00
|
|
|
|
console.log('新添加后的图片列表',newImageInfo)
|
2019-01-02 17:31:07 +08:00
|
|
|
|
|
|
|
|
|
that.setState({
|
|
|
|
|
pickerImageUrl: newPickerImageUrl,
|
|
|
|
|
ImagesInfo: newImageInfo
|
|
|
|
|
}, () => {
|
2018-12-29 17:15:59 +08:00
|
|
|
|
Taro.showToast({
|
|
|
|
|
title: '上传成功',
|
|
|
|
|
icon: 'success',
|
|
|
|
|
duration: 2000
|
|
|
|
|
})
|
2018-12-27 17:31:17 +08:00
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
if (operationType === 'remove') {
|
2019-01-02 17:31:07 +08:00
|
|
|
|
this.state.pickerImageUrl.splice(index, 1);// 删除图片param
|
|
|
|
|
this.state.ImagesInfo.splice(index, 1) // 删除显示的图片
|
|
|
|
|
|
|
|
|
|
this.setState({
|
|
|
|
|
pickerImageUrl: this.state.pickerImageUrl,
|
|
|
|
|
ImagesInfo: this.state.ImagesInfo
|
|
|
|
|
});
|
2018-12-29 17:15:59 +08:00
|
|
|
|
|
|
|
|
|
Taro.showToast({
|
|
|
|
|
title: '删除成功',
|
|
|
|
|
icon: 'success',
|
|
|
|
|
duration: 2000
|
2018-12-27 17:31:17 +08:00
|
|
|
|
})
|
2018-12-29 17:15:59 +08:00
|
|
|
|
|
2018-12-27 17:31:17 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
2019-01-03 17:36:59 +08:00
|
|
|
|
|
2019-01-02 17:31:07 +08:00
|
|
|
|
|
2018-12-27 17:31:17 +08:00
|
|
|
|
onClickUploadGoods() {
|
|
|
|
|
if (this.state.productName && this.state.productPrice && this.state.productUnit && this.state.ImagesInfo.length && this.state.shopCategoryCheckedPicker.id) {
|
2018-12-29 17:15:59 +08:00
|
|
|
|
Taro.showLoading({ title: '保存中' }).then(() => {
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
this.uploadGoods({
|
|
|
|
|
goods_name: this.state.productName,
|
|
|
|
|
goods_price: this.state.productPrice,
|
|
|
|
|
goods_unit: this.state.productUnit,
|
|
|
|
|
goods_profiles: this.state.productDescript,
|
2019-01-02 17:31:07 +08:00
|
|
|
|
shop_class_id: this.state.shopCategoryCheckedPicker.id,
|
|
|
|
|
class_id: this.state.goodsTypeParam,
|
|
|
|
|
goods_id: this.state.goodId,
|
2018-12-29 17:15:59 +08:00
|
|
|
|
})
|
|
|
|
|
}, 1000);
|
2018-12-27 17:31:17 +08:00
|
|
|
|
})
|
|
|
|
|
} else {
|
2018-12-29 17:15:59 +08:00
|
|
|
|
Taro.showToast({
|
|
|
|
|
title: '请填写完表格',
|
|
|
|
|
icon: 'none',
|
|
|
|
|
duration: 2000
|
2018-12-27 17:31:17 +08:00
|
|
|
|
})
|
2018-12-29 17:15:59 +08:00
|
|
|
|
|
2018-12-27 17:31:17 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
shopCategoryChanged(e) {
|
|
|
|
|
this.setState({
|
2019-01-02 17:31:07 +08:00
|
|
|
|
shopCategoryCheckedPicker: this.state.shopCategoryList[e.detail.value]
|
2018-12-27 17:31:17 +08:00
|
|
|
|
}, () => {
|
|
|
|
|
console.log(this.state.shopCategoryCheckedPicker)
|
|
|
|
|
})
|
|
|
|
|
}
|
2018-12-29 17:15:59 +08:00
|
|
|
|
goToMyGoodListPage() {
|
2018-12-27 17:31:17 +08:00
|
|
|
|
Taro.navigateTo({
|
2018-12-29 17:15:59 +08:00
|
|
|
|
url: '/pages/myGoodList/myGoodList'
|
|
|
|
|
})
|
2018-12-27 17:31:17 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
componentDidMount() {
|
2018-12-29 17:15:59 +08:00
|
|
|
|
|
2019-01-03 17:36:59 +08:00
|
|
|
|
this.getShopCateList()
|
2018-12-29 17:15:59 +08:00
|
|
|
|
|
2018-12-27 17:31:17 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
componentWillReceiveProps(nextProps) {
|
|
|
|
|
// console.log(this.props, nextProps)
|
|
|
|
|
}
|
|
|
|
|
componentWillUnmount() { }
|
|
|
|
|
|
|
|
|
|
componentDidShow() { }
|
|
|
|
|
|
|
|
|
|
componentDidHide() { }
|
|
|
|
|
|
2018-12-29 17:15:59 +08:00
|
|
|
|
|
2018-12-27 17:31:17 +08:00
|
|
|
|
|
|
|
|
|
render() {
|
2018-12-29 17:15:59 +08:00
|
|
|
|
|
2018-12-27 17:31:17 +08:00
|
|
|
|
return (
|
|
|
|
|
<View className='goods-publish'>
|
|
|
|
|
<View className='goods-category'>
|
|
|
|
|
<View className='input-box'>
|
|
|
|
|
<Text className='require'>*</Text>
|
|
|
|
|
<AtInput
|
2019-01-02 17:31:07 +08:00
|
|
|
|
name='productName'
|
|
|
|
|
title='商品名称:'
|
|
|
|
|
type='text'
|
|
|
|
|
value={this.state.productName}
|
|
|
|
|
onChange={this.productNameChange.bind(this)}
|
2018-12-27 17:31:17 +08:00
|
|
|
|
/>
|
|
|
|
|
</View>
|
|
|
|
|
<View className='input-box'>
|
|
|
|
|
<Text className='require'>*</Text>
|
|
|
|
|
<AtInput
|
2019-01-02 17:31:07 +08:00
|
|
|
|
name='productPrice'
|
|
|
|
|
title='商品价格:'
|
|
|
|
|
type='number'
|
|
|
|
|
placeholder='¥'
|
|
|
|
|
value={this.state.productPrice}
|
|
|
|
|
onChange={this.productPriceChange.bind(this)}
|
2018-12-27 17:31:17 +08:00
|
|
|
|
/>
|
|
|
|
|
</View>
|
|
|
|
|
<View className='input-box'>
|
|
|
|
|
<Text className='require'>*</Text>
|
|
|
|
|
<AtInput
|
2019-01-02 17:31:07 +08:00
|
|
|
|
name='productUnit'
|
|
|
|
|
title='商品单位:'
|
|
|
|
|
type='text'
|
|
|
|
|
value={this.state.productUnit}
|
|
|
|
|
onChange={this.productUnitChange.bind(this)}
|
2018-12-27 17:31:17 +08:00
|
|
|
|
/>
|
|
|
|
|
</View>
|
|
|
|
|
{/* 图片上传 */}
|
|
|
|
|
<View className='img-box'>
|
|
|
|
|
<View className='title-box'>
|
|
|
|
|
<Text className='require'>*</Text>
|
|
|
|
|
<Text className='title'>上传图片:</Text>
|
|
|
|
|
</View>
|
|
|
|
|
<View className='img-container'>
|
|
|
|
|
<AtImagePicker
|
2019-01-02 17:31:07 +08:00
|
|
|
|
multiple
|
|
|
|
|
files={this.state.pickerImageUrl}
|
|
|
|
|
onChange={this.onChangeImg.bind(this)}
|
|
|
|
|
onFail={this.onFail.bind(this)}
|
|
|
|
|
onImageClick={this.onImageClick.bind(this)}
|
2018-12-27 17:31:17 +08:00
|
|
|
|
/>
|
|
|
|
|
</View>
|
|
|
|
|
</View>
|
|
|
|
|
<View className='shoptype-box'>
|
|
|
|
|
{/* 店铺分类 */}
|
|
|
|
|
<View className='title-box page-section'>
|
2019-01-02 17:31:07 +08:00
|
|
|
|
<Picker mode='selector' rangeKey='name' range={this.state.shopCategoryList} onChange={this.shopCategoryChanged.bind(this)}>
|
2018-12-27 17:31:17 +08:00
|
|
|
|
<View className='picker'>
|
|
|
|
|
<Text className='require'>*</Text>
|
|
|
|
|
<Text className='title'> 店铺分类:</Text>
|
|
|
|
|
<Text className='selected'>{this.state.shopCategoryCheckedPicker.name}</Text>
|
|
|
|
|
|
|
|
|
|
</View>
|
|
|
|
|
</Picker>
|
|
|
|
|
</View>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</View>
|
|
|
|
|
|
|
|
|
|
<View className='description-box'>
|
|
|
|
|
<View className='title-box'>
|
|
|
|
|
<Text className='require'></Text>
|
|
|
|
|
<Text className='title'>商品简介:</Text>
|
|
|
|
|
</View>
|
|
|
|
|
|
|
|
|
|
<AtTextarea
|
2019-01-02 17:31:07 +08:00
|
|
|
|
value={this.state.productDescript}
|
|
|
|
|
onChange={this.productDescriptChange.bind(this)}
|
|
|
|
|
maxlength='200'
|
|
|
|
|
placeholder='你的产品简介'
|
2018-12-27 17:31:17 +08:00
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
</View>
|
|
|
|
|
</View>
|
|
|
|
|
<View className='button-box' >
|
|
|
|
|
<View className='button' >
|
|
|
|
|
<AtButton type='primary' size='small' onClick={this.onClickUploadGoods.bind(this)}>保存</AtButton>
|
|
|
|
|
</View>
|
|
|
|
|
{/* <View className='button'>
|
|
|
|
|
<AtButton type='primary' className='button-a' size='small' >发布并新增</AtButton>
|
|
|
|
|
</View> */}
|
|
|
|
|
<View className='button' onClick={this.goToMyGoodListPage.bind(this)}>
|
|
|
|
|
<AtButton type='primary' className='button-a' size='small'>商品列表</AtButton>
|
|
|
|
|
</View>
|
|
|
|
|
</View>
|
|
|
|
|
|
|
|
|
|
<copyrightComponent></copyrightComponent>
|
|
|
|
|
|
|
|
|
|
</View>
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default MyGoodsEdit
|