|
@@ -2,12 +2,12 @@
|
|
<div class="BidSystemDeepeningOrderDetail">
|
|
<div class="BidSystemDeepeningOrderDetail">
|
|
<Toptitle title="深化单详情">
|
|
<Toptitle title="深化单详情">
|
|
<slot name="titleButton">
|
|
<slot name="titleButton">
|
|
- <Button
|
|
|
|
|
|
+ <!-- <Button
|
|
@click="handleFinish()"
|
|
@click="handleFinish()"
|
|
type="primary"
|
|
type="primary"
|
|
style="margin-right: 10px"
|
|
style="margin-right: 10px"
|
|
>完成</Button
|
|
>完成</Button
|
|
- >
|
|
|
|
|
|
+ > -->
|
|
<Upload
|
|
<Upload
|
|
style="display: inline"
|
|
style="display: inline"
|
|
name="your_file"
|
|
name="your_file"
|
|
@@ -1361,36 +1361,36 @@ export default {
|
|
item.showValue = value.label;
|
|
item.showValue = value.label;
|
|
item.showId = value.value;
|
|
item.showId = value.value;
|
|
},
|
|
},
|
|
- handleFinish() {
|
|
|
|
- if (this.selected.length < 1) {
|
|
|
|
- this.$Message.warning("请选择数据");
|
|
|
|
- } else {
|
|
|
|
- const order_area_product_id = this.selected.map(
|
|
|
|
- (item) => item.order_area_product_id || item.id
|
|
|
|
- );
|
|
|
|
- this.$Modal.confirm({
|
|
|
|
- title: "确认完成?",
|
|
|
|
- // content: "此操作确认后不可恢复,请确认!",
|
|
|
|
- onOk: () => {
|
|
|
|
- this.axios({
|
|
|
|
- method: "post",
|
|
|
|
- url: "/api/order_area_product_status",
|
|
|
|
- data: {
|
|
|
|
- order_area_product_id,
|
|
|
|
- },
|
|
|
|
- }).then((res) => {
|
|
|
|
- if (res.code == 200) {
|
|
|
|
- this.$Message.success(res.msg);
|
|
|
|
- this.initData(this.formData.order_no, this.oa_id);
|
|
|
|
- this.handleShowCurrencyArea(item,index)
|
|
|
|
- this.getListData()
|
|
|
|
- }
|
|
|
|
- });
|
|
|
|
- },
|
|
|
|
- onCancel: () => {},
|
|
|
|
- });
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
|
|
+ // handleFinish() {
|
|
|
|
+ // if (this.selected.length < 1) {
|
|
|
|
+ // this.$Message.warning("请选择数据");
|
|
|
|
+ // } else {
|
|
|
|
+ // const order_area_product_id = this.selected.map(
|
|
|
|
+ // (item) => item.order_area_product_id || item.id
|
|
|
|
+ // );
|
|
|
|
+ // this.$Modal.confirm({
|
|
|
|
+ // title: "确认完成?",
|
|
|
|
+ // // content: "此操作确认后不可恢复,请确认!",
|
|
|
|
+ // onOk: () => {
|
|
|
|
+ // this.axios({
|
|
|
|
+ // method: "post",
|
|
|
|
+ // url: "/api/order_area_product_status",
|
|
|
|
+ // data: {
|
|
|
|
+ // order_area_product_id,
|
|
|
|
+ // },
|
|
|
|
+ // }).then((res) => {
|
|
|
|
+ // if (res.code == 200) {
|
|
|
|
+ // this.$Message.success(res.msg);
|
|
|
|
+ // this.initData(this.formData.order_no, this.oa_id);
|
|
|
|
+ // this.handleShowCurrencyArea(item,index)
|
|
|
|
+ // this.getListData()
|
|
|
|
+ // }
|
|
|
|
+ // });
|
|
|
|
+ // },
|
|
|
|
+ // onCancel: () => {},
|
|
|
|
+ // });
|
|
|
|
+ // }
|
|
|
|
+ // },
|
|
looks(img) {
|
|
looks(img) {
|
|
const array = [{ img_url: img }];
|
|
const array = [{ img_url: img }];
|
|
this.$previewImg({
|
|
this.$previewImg({
|