|
@@ -202,17 +202,17 @@
|
|
|
>
|
|
|
</a-select>
|
|
|
</template>
|
|
|
- <template #wholesaleDecimal="{ handleChange, value, index}">
|
|
|
+ <template #wholesaleDecimal="{ handleChange, value, index, allValues}">
|
|
|
<a-input :value="value" @change="($event) => onChangePrice($event,handleChange)">
|
|
|
<a-tooltip slot="suffix" title="修改后和默认价格不一致">
|
|
|
- <a-icon type="info-circle" style="color: #f5222d" v-if="getDefaultWholesaleDecimal(index,'defaultWholesaleDecimal',value)" />
|
|
|
+ <a-icon type="info-circle" style="color: #f5222d" v-if="getDefaultWholesaleDecimal(index,'defaultWholesaleDecimal',value,allValues)" />
|
|
|
</a-tooltip>
|
|
|
</a-input>
|
|
|
</template>
|
|
|
- <template #unitPrice="{ handleChange, value, index}">
|
|
|
+ <template #unitPrice="{ handleChange, value, index, allValues}">
|
|
|
<a-input :value="value" @change="($event) => onChangePrice($event,handleChange)">
|
|
|
<a-tooltip slot="suffix" title="修改后和默认价格不一致">
|
|
|
- <a-icon type="info-circle" style="color: #f5222d" v-if="getDefaultWholesaleDecimal(index,'defaultPurchaseDecimal',value)" />
|
|
|
+ <a-icon type="info-circle" style="color: #f5222d" v-if="getDefaultWholesaleDecimal(index,'defaultPurchaseDecimal',value,allValues)" />
|
|
|
</a-tooltip>
|
|
|
</a-input>
|
|
|
</template>
|
|
@@ -539,6 +539,8 @@ export default {
|
|
|
{ title: '价税合计', key: 'taxLastMoney', width: '120px', type: FormTypes.inputNumber,readonly: true, statistics: true },
|
|
|
{ title: '备注', key: 'remark', width: '200px', type: FormTypes.input },
|
|
|
{ title: '关联id', key: 'linkId', width: '120px', type: FormTypes.hidden },
|
|
|
+ { title: '默认销售价', key: 'defaultWholesaleDecimal', width: '120px', type: FormTypes.hidden },
|
|
|
+ { title: '默认采购价', key: 'defaultPurchaseDecimal', width: '120px', type: FormTypes.hidden },
|
|
|
],
|
|
|
},
|
|
|
confirmLoading: false,
|