|
@@ -6,7 +6,7 @@
|
|
|
:maskClosable="false"
|
|
|
title="新增采购单"
|
|
|
v-model="isShow"
|
|
|
- @cancel="cancel"
|
|
|
+ @cancel="isShow=false"
|
|
|
:width="800">
|
|
|
<a-spin :spinning="spinning" tip="Loading...">
|
|
|
<a-form-model
|
|
@@ -38,7 +38,7 @@
|
|
|
</a-form-model-item>
|
|
|
<a-form-model-item :wrapper-col="{ span: 12, offset: 6 }" style="text-align: center;">
|
|
|
<a-button type="primary" :loading="confirmLoading" @click="handleSubmit" id="chooseCustom-btn-submit">保存</a-button>
|
|
|
- <a-button @click="cancel" style="margin-left: 15px" id="chooseCustom-btn-back">取消</a-button>
|
|
|
+ <a-button @click="isShow=false" style="margin-left: 15px" id="chooseCustom-btn-back">取消</a-button>
|
|
|
</a-form-model-item>
|
|
|
</a-form-model>
|
|
|
</a-spin>
|
|
@@ -152,10 +152,6 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- // 取消
|
|
|
- cancel () {
|
|
|
- this.$emit('cancel')
|
|
|
- },
|
|
|
// 选择地址
|
|
|
handleChoose () {
|
|
|
this.openAddrModal = true
|