Commit 82712eff by cwq0219

修改

1 parent da2bf82a
......@@ -1001,6 +1001,8 @@ export default {
display: none;
height: 100%;
position: absolute;
width: 88px;
height: 74px;
left: 0;
top: 0;
z-index: 2;
......
......@@ -164,7 +164,7 @@ export default {
type: 'select',
optionList: [],
optionId: 'id',
optionLabel: 'goodsTypeName',
optionLabel: 'goodsName',
optionsName: 'goodList'
}, {
label: '预录员',
......@@ -212,7 +212,8 @@ export default {
// console.log(res)
this.baseData.goodList = res || []
this.baseData.goodList.forEach(item => {
item.goodsTypeName = item.goodsInfo.goodsTypeName
// item.goodsTypeName = item.goodsInfo.goodsTypeName
item.goodsName = item.goodsInfo.goodsName
})
this.getOptionsList()
})
......@@ -330,7 +331,7 @@ export default {
},
// 上传文件,转码为base64
importFile(e) {
let size = e.target.files[0].size / 1024 / 1024
const size = e.target.files[0].size / 1024 / 1024
if (size < 9) {
this.$set(this.fileForm, 'fileName', e.target.files[0].name)
// // 转码base64
......
......@@ -198,10 +198,9 @@ export default {
getGoodsInfoById({ id: this.$route.params.row.id }).then(res => {
// console.log(res)
var tempIndex = this.editForm.findIndex(i => i.title === '基础商品信息')
console.log(tempIndex)
this.editForm[tempIndex].formBlock[0].isDisabled = true
this.editData = {
yqMerchantId: this.userInfo.beSuper ? '' : this.userInfo.detail.merchantId,
yqMerchantId: this.userInfo.beSuper ? res.yqMerchantId : this.userInfo.detail.merchantId,
id: res.id,
goodsCode: res.goodsCode,
goodsName: res.goodsInfo.goodsName,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!