新增
{
scope.row.brandId = e.id
scope.row.brandName = e.brandName
}" value-key="id" :disabled="isEdit1 != scope.$index || formType == 2" placeholder="请选择" style="width: 100%;">
{
scope.row.mainId = e.categoryId
scope.row.mainName = e.name
//if(e.categoryId == 0){
// scope.row.small = {categoryId: '0', name: '不限'}
// scope.row.smallName = '不限'
// scope.row.smallId = '0'
//}else{
// scope.row.small = null
// scope.row.smallName = ''
// scope.row.smallId = ''
//}
//scope.row.smallList = e.children?[...[{categoryId: '0', name: '不限'}],...e.children]:[]
scope.row.small = null
scope.row.smallName = ''
scope.row.smallId = ''
scope.row.smallList = e.children?e.children:[]
}" :disabled="isEdit1 != scope.$index || formType == 2" placeholder="请选择" style="width: 100%;">
{
if(!scope.row.main){return this.$message.warning('请先选择产品大类!');}
}" @change="(e)=>{
scope.row.smallName = e.name
scope.row.smallId = e.categoryId
scope.row.smallImg = e.imgUrl
}" :disabled="isEdit1 != scope.$index || formType == 2" value-key="categoryId" placeholder="请选择" style="width: 100%;">
编辑
删除
编辑
删除
{
scope.row.websitId = e.websitId
scope.row.websitName = e.name
scope.row.linkName = e.linkName
scope.row.mobile = e.websitPhone
scope.row.address = e.address
}" value-key="websitId" :disabled="isEdit3 != scope.$index || formType == 2" placeholder="请选择" style="width: 100%;">
编辑
删除
{{scope.row.parentCategoryName}}
{{scope.row.goodsCategoryName}}
{
scope.row.goodsId = e.normId
scope.row.goodsName = e.normName
scope.row.goodsCategoryName = e.categoryName
scope.row.goodsCategoryId = e.categoryId
scope.row.parentCategoryName = e.parentCategoryName
scope.row.parentCategoryId = e.parentCategoryId
scope.row.goodsCode = e.normCode
scope.row.goodsSpecification = e.specification
scope.row.goodsStockUnit = e.unit
scope.row.normType = e.normType
scope.row.normAmount = e.normAmount
}" :disabled="isEdit4 != scope.$index || formType == 2" value-key="normId" placeholder="请选择" style="width: 100%;">
{{scope.row.goodsCode}}
{{scope.row.goodsSpecification}}
{{scope.row.goodsStockUnit}}
{{scope.row.normType == 'M'?'配件物料':scope.row.normType == 'S'?'服务收费':''}}
编辑
删除
{
scope.row.goodsId = e.goodsId
scope.row.goodsName = e.goodsName
scope.row.goodsCode = e.goodsCode
scope.row.goodsStockUnit = e.goodsStockUnit
scope.row.normType = e.normType
scope.row.normAmount = e.normAmount
scope.row.brandRelaName = e.brandRelaName
scope.row.productRelaName = e.productRelaName
}" :disabled="isEdit5 != scope.$index || formType == 2" value-key="goodsId" placeholder="请选择" style="width: 100%;">
{{scope.row.goodsStockUnit}}
{{scope.row.goodsCode}}
{{scope.row.normType == 'M'?'配件物料':scope.row.normType == 'S'?'服务收费':''}}
{{scope.row.brandRelaName}}
{{scope.row.productRelaName}}
编辑
删除