| | |
| | | >{{ item.name }}</span |
| | | > |
| | | </div> |
| | | <div class="bt"> |
| | | <!-- <div class="bt"> |
| | | <span>{{ item.code }}</span> |
| | | </div> |
| | | </div> --> |
| | | </div></van-col |
| | | > |
| | | |
| | | <van-col span="9"> |
| | | <div style="text-align: left"> |
| | | <div class="tp"> |
| | | <span class="price_color">{{ item.price }}</span> |
| | | <span class="price_color">{{ |
| | | item.price | _toLocaleString(false) |
| | | }}</span> |
| | | </div> |
| | | <div class="bt"> |
| | | <span>Max: {{ item.orderNumber }}</span> |
| | |
| | | <div class="laber"> |
| | | {{ shengouObj.type === 1 ? $t("hj57") : $t("配售数量") }}: |
| | | </div> |
| | | <input type="number" :value="fromData.value" @input="fromDatavalue" /> |
| | | <input type="text" :maxlength="9" v-model="fromData.value" @input="fromDatavalue" /> |
| | | </div> |
| | | |
| | | <div class="shijian"> |
| | |
| | | </div> |
| | | <div class="xgsj"> |
| | | <div class="sjtlt">{{ $t("hj120") }}:</div> |
| | | <div class="xgTime">{{ shengouObj.price }}</div> |
| | | <div class="xgTime"> |
| | | {{ shengouObj.price | _toLocaleString(false) }} |
| | | </div> |
| | | </div> |
| | | <!-- <div class="xgsj"> |
| | | <div class="sjtlt">上市時間:</div> |
| | |
| | | }, |
| | | methods: { |
| | | fromDatavalue(e) { |
| | | this.fromData.value = e.target.value; |
| | | this.fromData.value = this.fromData.value.replace(/^(0+)|[^\d]+/g, '') |
| | | }, |
| | | async newAddxg() { |
| | | console.log(this.shengouObj, "====="); |
| | | const res = await api.getNewAdd({ |
| | | newCode: this.shengouObj.code, |
| | | applyNums: this.fromData.value, |
| | | type: this.shengouObj.type, |
| | | }); |
| | | if (res.status === 0) { |
| | | Notify({ type: "success", message: res.msg }); |
| | | this.show = false; |
| | | this.fromData.value = ""; |
| | | } else { |
| | | Notify({ type: "warning", message: res.msg }); |
| | | } |
| | |
| | | stockType = array[0].name; |
| | | } |
| | | let opt = { |
| | | // pageNum: this.pageNumVal, |
| | | // pageSize: 15, |
| | | // stockPlate: "", |
| | | keyWords: this.sousuo, |
| | | // stockType: stockType, |
| | | // orderBy: "", |
| | | zt: 0, |
| | | getType: 1, |
| | | pageSize: 1000, |
| | | }; |
| | | let data = await api.getStocklist(opt); |
| | | this.loading = false; |
| | |
| | | text-align: center; |
| | | line-height: 35px; |
| | | } |
| | | </style> |
| | | </style> |