|
@@ -21,8 +21,8 @@
|
|
<a-form-model-item style="margin:0" label="调拨退货对象">{{ itemData&&itemData.targetName || '--' }}</a-form-model-item>
|
|
<a-form-model-item style="margin:0" label="调拨退货对象">{{ itemData&&itemData.targetName || '--' }}</a-form-model-item>
|
|
<a-form-model-item label="产品价格" prop="priceType">
|
|
<a-form-model-item label="产品价格" prop="priceType">
|
|
<a-radio-group v-model="form.priceType">
|
|
<a-radio-group v-model="form.priceType">
|
|
- <a-radio value="thj">退货价</a-radio>
|
|
|
|
- <a-radio value="cbj">成本价</a-radio>
|
|
|
|
|
|
+ <a-radio value="thj" v-if="$hasPermissions('B_transferReturnPrint_salesPrice')">退货价</a-radio>
|
|
|
|
+ <a-radio value="cbj" v-if="$hasPermissions('B_transferReturnPrint_costPrice')">成本价</a-radio>
|
|
<a-radio value="bdy">不打印</a-radio>
|
|
<a-radio value="bdy">不打印</a-radio>
|
|
</a-radio-group>
|
|
</a-radio-group>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
@@ -120,6 +120,10 @@ export default {
|
|
if (!newValue) {
|
|
if (!newValue) {
|
|
this.$emit('close')
|
|
this.$emit('close')
|
|
this.$refs.ruleForm.resetFields()
|
|
this.$refs.ruleForm.resetFields()
|
|
|
|
+ }else{
|
|
|
|
+ if(!this.$hasPermissions('B_transferReturnPrint_salesPrice')&&!this.$hasPermissions('B_transferReturnPrint_costPrice')){
|
|
|
|
+ this.form.priceType = "bdy"
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|