Commit 49554d1a by zhangxw

对账 两个按钮 bug修改

1 parent e8f1c1ab
...@@ -59,8 +59,8 @@ ...@@ -59,8 +59,8 @@
v-for="(subItem, subIndex) in goodsInfoData.goodsSpecificationSingleList" v-for="(subItem, subIndex) in goodsInfoData.goodsSpecificationSingleList"
:key="subIndex"> :key="subIndex">
<td :style="{ width: specsWidth }"> <td :style="{ width: specsWidth }">
<span style="display: flex;align-items: center;justify-content: center;" v-if="!subItem.editGoodNameInput"> <span style="display: flex;align-items: center;justify-content: center;overflow: hidden;" v-if="!subItem.editGoodNameInput">
<span style="max-width: 160px;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;">{{ subItem.specificationData }}</span> <span style="max-width: 120px;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;">{{ subItem.specificationData }}</span>
<img src="@/assets/icon-edit.png" style="cursor: pointer;margin-left: 5px;width: 16px;height: 16px;" @click="editSpecificationData(subIndex)" /> <img src="@/assets/icon-edit.png" style="cursor: pointer;margin-left: 5px;width: 16px;height: 16px;" @click="editSpecificationData(subIndex)" />
</span> </span>
<el-input v-else placeholder="商品名称" <el-input v-else placeholder="商品名称"
......
...@@ -407,7 +407,7 @@ ...@@ -407,7 +407,7 @@
<el-radio :label="2"> 按整单计算 </el-radio> <el-radio :label="2"> 按整单计算 </el-radio>
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
<div> <div style="display: flex;">
<el-form-item <el-form-item
:prop="'platformPublic.' + index + '.expenseCategoryCalculateType'" :prop="'platformPublic.' + index + '.expenseCategoryCalculateType'"
:rules="[ :rules="[
...@@ -430,7 +430,6 @@ ...@@ -430,7 +430,6 @@
/> />
</el-select> </el-select>
</el-form-item> </el-form-item>
</div>
<el-form-item <el-form-item
required required
:prop="'platformPublic.' + index + '.expenseCategoryValue'" :prop="'platformPublic.' + index + '.expenseCategoryValue'"
...@@ -476,6 +475,7 @@ ...@@ -476,6 +475,7 @@
</el-input> </el-input>
</el-form-item> </el-form-item>
</div> </div>
</div>
<!-- <p>区别</p> --> <!-- <p>区别</p> -->
</el-form> </el-form>
......
...@@ -840,7 +840,7 @@ export default { ...@@ -840,7 +840,7 @@ export default {
.map((item) => { .map((item) => {
item.targetMerchantName = item.merchant?.merchantName item.targetMerchantName = item.merchant?.merchantName
item.targetMerchantId = item.merchant?.merchantId item.targetMerchantId = item.merchant?.merchantId
item.merchant = null // item.merchant = null
return item return item
}) })
// console.log('flowServiceCostArr: ', flowServiceCostArr) // console.log('flowServiceCostArr: ', flowServiceCostArr)
......
...@@ -435,6 +435,8 @@ export default { ...@@ -435,6 +435,8 @@ export default {
}, },
// 校验所有form数据 // 校验所有form数据
async verifyFormData() { async verifyFormData() {
// 校验重置数据 防止重复push
this.goodsTypeGroupRulesAll = []
for (var index = 0; index < this.editableTabs.length; index++) { for (var index = 0; index < this.editableTabs.length; index++) {
const node = this.$refs[`classification${this.editableTabs[index].name}`][0] const node = this.$refs[`classification${this.editableTabs[index].name}`][0]
this.errorIndex = index this.errorIndex = index
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!