物流单号

This commit is contained in:
闫晓茹 2022-11-14 15:29:20 +08:00
parent 82ff8d771a
commit 3bb7712979
2 changed files with 10 additions and 48 deletions

View File

@ -10,7 +10,7 @@
>
<el-form-item label="所属护理站" prop="nurseStationName">
<el-select
v-model="queryParams.nurseStationId"
v-model="queryParams.nurseStationName"
placeholder="请选择护理站"
v-loadmore="loadMore"
>
@ -55,7 +55,6 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item label="是否上架" prop="whetherShelf">
<el-select v-model="queryParams.whetherShelf" placeholder="请选择">
<el-option
@ -475,7 +474,7 @@
:total="total2"
:page.sync="getListByUserquery.pageNum"
:limit.sync="getListByUserquery.pageSize"
@pagination="handleQuery2"
@pagination="info"
/>
</el-dialog>
</div>
@ -564,10 +563,7 @@ export default {
id: null,
whetherShelf: null,
},
getListByUserquery: {
pageNum: 1,
pageSize: 10,
},
queryParams: {
id: null,
pageNum: 1,
@ -589,6 +585,8 @@ export default {
getListByUserquery: {
pageNum: 1,
pageSize: 10,
// nurseStationCode:"",
// nurseStationId:"",
},
//
form: {
@ -759,7 +757,6 @@ export default {
},
addcancel() {
this.innerVisible = false;
// this.innerVisiblexg = false;
this.resetQuery2();
},
@ -878,7 +875,6 @@ export default {
addGoodsInfo(this.form).then((response) => {
console.log(this.form);
this.$modal.msgSuccess("新增成功");
this.StationName = "请选择所属护理站";
this.open = false;
this.getList();
@ -899,34 +895,10 @@ export default {
delGoodsInfo(row.goodsInfoId).then((res) => {
this.$message.success("删除成功");
this.getList();
// console.log('this.OrderDetailsList :>> ', this.OrderDetailsList);
});
})
.catch(() => { });
},
// handleDelete(row) {
// const ids = row.id || this.ids;
// this.$modal
// .confirm("")
// .then(function () {
// return delGoodsInfo(ids);
// })
// .then(() => {
// this.getList();
// this.$modal.msgSuccess("");
// })
// .catch(() => {});
// },
// /** */
// handleExport() {
// this.download(
// "system/goodsInfo/export",
// {
// ...this.queryParams,
// },
// `goodsInfo_${new Date().getTime()}.xlsx`
// );
// },
imgUrl(imgUrl) {
console.log(imgUrl);
this.form.goodsPictureUrl = imgUrl;
@ -961,16 +933,6 @@ export default {
this.nurseStationlist = res.rows;
this.total2 = res.total;
console.log(res)
// if (res.rows[0].isAdmin == "1") {
// this.nurseStationlist = res.rows;
// this.total2 = res.total;
// } else {
// this.total2 = res.total;
// this.nurseStationlist = res.rows;
// this.queryParams.nurseStationId = res.rows[0].id;
// this.form.nurseStationId = res.rows[0].id;
// this.handleQuery();
// }
});
},
//

View File

@ -167,7 +167,7 @@
v-hasPermi="['system:goodsOrder:editExpressNo']"
>录入物流单号</el-button
>
<el-button
<!-- <el-button
v-if="scope.row.orderStatus != 'WAIT_RECEIVED_GOODS'"
size="mini"
type="text"
@ -175,7 +175,7 @@
disabled
v-hasPermi="['system:goodsOrder:editExpressNo']"
>不可录入物流单号</el-button
>
> -->
</template>
</el-table-column>
<el-table-column
@ -202,7 +202,7 @@
v-hasPermi="['system:goodsOrder:goodsOrderRefund']"
>确认退款</el-button
>
<el-button
<!-- <el-button
v-else
size="mini"
type="text"
@ -210,7 +210,7 @@
disabled
v-hasPermi="['system:goodsOrder:goodsOrderRefund']"
>确认退款</el-button
>
> -->
</template>
</el-table-column>
</el-table>
@ -1023,7 +1023,7 @@ export default {
}
}
},
},
};
</script>