|
@@ -5,7 +5,7 @@
|
|
|
centered
|
|
|
:maskClosable="false"
|
|
|
:confirmLoading="confirmLoading"
|
|
|
- width="30%"
|
|
|
+ width="25%"
|
|
|
:footer="null"
|
|
|
@cancel="cancel"
|
|
|
>
|
|
@@ -13,18 +13,18 @@
|
|
|
<div style="display:flex;align-items:center;justify-content:center;">
|
|
|
<a-icon type="warning" theme="twoTone" two-tone-color="#D9001b" style="font-size:60px;margin-right:30px;"/>
|
|
|
<div>
|
|
|
- <div>销售单部分产品价格发生变更,请确认</div>
|
|
|
+ <div style="margin-bottom:10px;font-weight:bold;">销售单部分产品价格发生变更,请确认</div>
|
|
|
<a-radio-group v-model="priceVal">
|
|
|
<a-radio value="0" :style="radioStyle">
|
|
|
- 以之前价格为准
|
|
|
+ 以订单当前价格为准
|
|
|
</a-radio>
|
|
|
<a-radio value="1" :style="radioStyle">
|
|
|
- 以当前价格为准
|
|
|
+ 以OCS最新价格为准
|
|
|
</a-radio>
|
|
|
</a-radio-group>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div style="margin-top:30px;text-align:center;">
|
|
|
+ <div style="margin-top:36px;text-align:center;">
|
|
|
<a-button @click="cancel" style="margin-right: 15px" id="chooseCustom-btn-back">取消</a-button>
|
|
|
<a-button type="primary" :loading="confirmLoading" @click="handleSubmit" id="chooseCustom-btn-submit">确定</a-button>
|
|
|
</div>
|
|
@@ -56,6 +56,10 @@ export default {
|
|
|
methods: {
|
|
|
// 保存
|
|
|
handleSubmit () {
|
|
|
+ if (!this.priceVal) {
|
|
|
+ this.$message.warning('请选择价格变更类型!')
|
|
|
+ return
|
|
|
+ }
|
|
|
this.$emit('ok', this.priceVal)
|
|
|
},
|
|
|
cancel () {
|