|
|
@@ -1,13 +1,13 @@
|
|
|
<template>
|
|
|
<!-- 点价登记-->
|
|
|
- <a-modal class="custom-detail add-custom "
|
|
|
+ <a-modal class="commonModal custom-detail"
|
|
|
:title="selectedRow.contracttype===1? '采购合同-点价登记': '销售合同-点价登记'"
|
|
|
v-model:visible="visible"
|
|
|
@cancel="cancel"
|
|
|
width="890px">
|
|
|
<template #footer>
|
|
|
<a-button key="submit"
|
|
|
- type="primary"
|
|
|
+ class="cancelBtn"
|
|
|
@click="cancel">取消
|
|
|
</a-button>
|
|
|
<a-button key="submit"
|
|
|
@@ -91,7 +91,7 @@
|
|
|
<a-row :gutter="24">
|
|
|
<a-col :span="12">
|
|
|
<a-form-item label="点价价格" name="PricedPrice">
|
|
|
- <a-input-number id="dialogInput" style="width: 200px" v-model:value="formState.PricedPrice" :min="0" placeholder="请输入点价价格"/>
|
|
|
+ <a-input-number class="dialogInput" style="width: 200px" v-model:value="formState.PricedPrice" :min="0" placeholder="请输入点价价格"/>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :span="12">
|
|
|
@@ -108,10 +108,12 @@
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :span="12">
|
|
|
- <a-form-item label="点价数量" name="PricedQty">
|
|
|
- <a-input-number id="dialogInput" style="width: 200px" v-model:value="formState.PricedQty" :min="0" :max="selectedRow.unpricedqty" placeholder="请输入点价数量"/>
|
|
|
- <span class="white">未定价量{{selectedRow.unpricedqty}}{{selectedRow.enumdicname}} </span>
|
|
|
- <span class="white" @click="formState.PricedQty = selectedRow.unpricedqty"> 全部登记</span>
|
|
|
+ <a-form-item label="点价数量" name="PricedQty" class="relative">
|
|
|
+ <a-input-number class="dialogInput" style="width: 200px" v-model:value="formState.PricedQty" :min="0" :max="selectedRow.unpricedqty" placeholder="请输入点价数量"/>
|
|
|
+ <div class="itemTip">
|
|
|
+ <span class="white">未定价量{{selectedRow.unpricedqty}}{{selectedRow.enumdicname}} </span>
|
|
|
+ <span class="white" @click="formState.PricedQty = selectedRow.unpricedqty"> 全部登记</span>
|
|
|
+ </div>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
</a-row>
|
|
|
@@ -215,4 +217,14 @@ export default defineComponent({
|
|
|
</script>
|
|
|
|
|
|
<style lang="less">
|
|
|
+.custom-detail {
|
|
|
+ .ant-modal-content {
|
|
|
+ .ant-modal-body {
|
|
|
+ padding: 24px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .itemTip {
|
|
|
+ position: absolute;
|
|
|
+ }
|
|
|
+}
|
|
|
</style>;
|