Commit 4f9a83d5 authored by 黄奎's avatar 黄奎

新增页面

parent 3991e9e4
This diff is collapsed.
...@@ -196,7 +196,7 @@ ...@@ -196,7 +196,7 @@
</span> </span>
</el-dialog> </el-dialog>
<el-dialog title="立即支付" :visible.sync="payVisible" width="400px"> <el-dialog title="立即支付" :visible.sync="payVisible" width="400px">
<payurlItem1></payurlItem1> <payMall :item="payObj"></payMall>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button size="small" @click="payVisible = false">取 消</el-button> <el-button size="small" @click="payVisible = false">取 消</el-button>
</span> </span>
...@@ -204,10 +204,15 @@ ...@@ -204,10 +204,15 @@
</div> </div>
</template> </template>
<script> <script>
import payURL1 from "../commonPage/payURL1.vue"; import payMall from "../commonPage/payMall.vue";
export default { export default {
data() { data() {
return { return {
payObj: {
orderId: 1,
OrderSource: 16,
TotalPrice:0,
},
statusValue: 0, //请选择 statusValue: 0, //请选择
//数据列表 //数据列表
DataList: [], DataList: [],
...@@ -289,13 +294,13 @@ ...@@ -289,13 +294,13 @@
trigger: 'change' trigger: 'change'
}], }],
}, },
orderDialog:false, orderDialog: false,
goodVisible: false, goodVisible: false,
payVisible:true, payVisible: true,
}; };
}, },
components: { components: {
payurlItem1: payURL1, payMall: payMall,
}, },
methods: { methods: {
...@@ -426,7 +431,7 @@ ...@@ -426,7 +431,7 @@
res => { res => {
this.loading = false; this.loading = false;
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
console.log(res,'数据'); console.log(res, '数据');
var tempArray = res.data.data.pageData; var tempArray = res.data.data.pageData;
if (tempArray && tempArray.length > 0) { if (tempArray && tempArray.length > 0) {
tempArray.forEach(item => { tempArray.forEach(item => {
...@@ -526,7 +531,7 @@ ...@@ -526,7 +531,7 @@
this.Success("下单成功!"); this.Success("下单成功!");
this.clreaMsg(); this.clreaMsg();
this.getGoodList(); this.getGoodList();
this.orderDialog=false; this.orderDialog = false;
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment