This commit is contained in:
parent
7e9ec5d6f9
commit
44b339e2d2
|
|
@ -809,9 +809,9 @@
|
|||
{{showvalue.categoryId_dictText}}
|
||||
</view>
|
||||
<view class="tags-one" v-if="showvalue.typeId_dictText">{{showvalue.typeId_dictText}}</view>
|
||||
<view class="tags-one" v-if="showvalue.medicationId_dictText">
|
||||
<!-- <view class="tags-one" v-if="showvalue.medicationId_dictText">
|
||||
{{showvalue.medicationId_dictText}}
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
<view class="right-bottom-right">
|
||||
|
|
|
|||
|
|
@ -3,10 +3,10 @@
|
|||
<view v-show="moreindex!=-1" class="mengban" @click="moreindex=-1"></view>
|
||||
<view class="contain-left">
|
||||
<view class="title-input-father">
|
||||
<input class="title-input" type="text" v-model="searchValue" maxlength="15" placeholder="采购单号/采购日期/供应商"
|
||||
@confirm="search()" />
|
||||
<image v-show="searchValue" class="title-input-img" src="@/static/x.png"
|
||||
@click="searchValue='';search()" />
|
||||
<input class="title-input" type="text" v-model="plzinfo.cgdParamInfo" maxlength="15"
|
||||
placeholder="采购单号/采购日期/供应商" @confirm="search()" />
|
||||
<image v-show="plzinfo.cgdParamInfo" class="title-input-img" src="@/static/x.png"
|
||||
@click="plzinfo.cgdParamInfo=``;search()" />
|
||||
<view class="title-input-button" @click="search()">
|
||||
检索
|
||||
</view>
|
||||
|
|
@ -45,68 +45,103 @@
|
|||
<view class="pls-card-middle">
|
||||
<view class="pls-card-middle-one">
|
||||
<view class="middle-title">
|
||||
{{ v.createTime?.split(' ')[0] }}
|
||||
{{ v.qgDate }}
|
||||
</view>
|
||||
<view class="middle-heng-father">
|
||||
<view class="middle-heng"
|
||||
style="border-top-left-radius: 20rpx;border-bottom-left-radius: 20rpx;"></view>
|
||||
<view class="middle-heng" v-if="Number(v.status)<3 "
|
||||
style="border-radius: 20rpx;background-color: #1083F8;"></view>
|
||||
<view class="middle-ball"
|
||||
:style="Number(v.status)<3?{backgroundColor: `#1083F8`}:{} "></view>
|
||||
<view class="middle-heng" style="border-radius: 20rpx;background-color: #1083F8;">
|
||||
</view>
|
||||
<!-- <view class="middle-heng" v-if="Number(v.status)<3 "
|
||||
style="border-radius: 20rpx;background-color: #1083F8;"></view> -->
|
||||
<!-- <view class="middle-ball"
|
||||
:style="Number(v.status)<3?{backgroundColor: `#1083F8`}:{} "></view> -->
|
||||
<view class="middle-ball" :style="{backgroundColor: `#1083F8`}"></view>
|
||||
</view>
|
||||
<view class="end-font">
|
||||
<view class="" :style="Number(v.status)<3?{color: `#1083F8`}:{} ">
|
||||
<!-- <view class="" :style="Number(v.status)<3?{color: `#1083F8`}:{} ">
|
||||
采购
|
||||
</view> -->
|
||||
<view class="" :style="{color: `#1083F8`}">
|
||||
采购
|
||||
</view>
|
||||
<view class="">
|
||||
[ {{ v.createBy_dictText }} ]
|
||||
<view style="font-size: 25rpx;">
|
||||
{{ "[ " + v.qgBy + " ]" }}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="pls-card-middle-one">
|
||||
<view class="middle-title">
|
||||
{{ v.jhTime?.slice(0,10) }}
|
||||
</view>
|
||||
<view class="middle-heng-father">
|
||||
<view class="middle-heng"></view>
|
||||
<view class="middle-heng" v-if="Number(v.status)<3 && Number(v.status)>0 "
|
||||
<!-- <view class="middle-heng"
|
||||
style="border-radius: 20rpx;background-color: #1083F8;width: 105%;margin-left: -5%;">
|
||||
</view> -->
|
||||
<view class="middle-heng" v-if="Number(v.status)>0"
|
||||
style="border-radius: 20rpx;background-color: #1083F8;width: 105%;margin-left: -5%;">
|
||||
</view>
|
||||
<view class="middle-ball"
|
||||
:style="Number(v.status)<3 && Number(v.status)>0?{backgroundColor: `#1083F8`}:{} ">
|
||||
:style="Number(v.status)>0?{backgroundColor: `#1083F8`}:{} ">
|
||||
</view>
|
||||
<!-- <view class="middle-ball" :style="{backgroundColor: `#1083F8`}"></view> -->
|
||||
<view class="middle-ball"
|
||||
:style="Number(v.status)>0?{backgroundColor: `#1083F8`}:{} ">
|
||||
</view>
|
||||
</view>
|
||||
<view class="end-font">
|
||||
<view class=""
|
||||
:style="Number(v.status)<3 && Number(v.status)>0?{color: `#1083F8`}:{} ">
|
||||
<view class="" :style="Number(v.status)>0?{color: `#1083F8`}:{}">
|
||||
拣货
|
||||
</view>
|
||||
<view class="">
|
||||
<view style="font-size: 25rpx;" v-if="Number(v.status)>0 && v.jhBy">
|
||||
{{ "[ " + v.jhBy + " ]" }}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="pls-card-middle-one">
|
||||
<view class="middle-title">
|
||||
{{ v.wjTime?.slice(0,10) }}
|
||||
</view>
|
||||
<view class="middle-heng-father">
|
||||
<view class="middle-heng"
|
||||
style="border-top-right-radius: 20rpx;border-bottom-right-radius: 20rpx;">
|
||||
</view>
|
||||
<view class="middle-heng" v-if="Number(v.status)<3 && Number(v.status)>1 "
|
||||
<view class="middle-heng"></view>
|
||||
<!-- <view class="middle-heng"
|
||||
style="border-radius: 20rpx;background-color: #1083F8;width: 105%;margin-left: -5%;">
|
||||
</view> -->
|
||||
<view class="middle-heng" v-if="Number(v.status)>1"
|
||||
style="border-radius: 20rpx;background-color: #1083F8;width: 105%;margin-left: -5%;">
|
||||
</view>
|
||||
<view class="middle-ball"
|
||||
:style="Number(v.status)<3 && Number(v.status)>1?{backgroundColor: `#1083F8`}:{} ">
|
||||
:style="Number(v.status)>1?{backgroundColor: `#1083F8`}:{} ">
|
||||
</view>
|
||||
<!-- <view class="middle-ball" :style="{backgroundColor: `#1083F8`}"></view> -->
|
||||
<view class="middle-ball"
|
||||
:style="Number(v.status)>1?{backgroundColor: `#1083F8`}:{} ">
|
||||
</view>
|
||||
</view>
|
||||
<view class="end-font">
|
||||
<view class=""
|
||||
:style="Number(v.status)<3 && Number(v.status)>1?{color: `#1083F8`}:{} ">
|
||||
<view class="" :style="Number(v.status)>1?{color: `#1083F8`}:{}">
|
||||
完结
|
||||
</view>
|
||||
<view style="font-size: 25rpx;" v-if="Number(v.status)>0 && v.jhBy">
|
||||
{{ "[ " + v.wjBy + " ]" }}
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="middle-heng-father">
|
||||
<view class="middle-heng"
|
||||
style="border-top-right-radius: 20rpx;border-bottom-right-radius: 20rpx;">
|
||||
</view>
|
||||
|
||||
<view class="middle-ball">
|
||||
</view>
|
||||
</view>
|
||||
<view class="end-font">
|
||||
<view class="">
|
||||
完结
|
||||
</view>
|
||||
<view class="">
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
<view class="pls-card-end">
|
||||
|
|
@ -116,8 +151,12 @@
|
|||
{{ v.gysName }}
|
||||
</view>
|
||||
</view>
|
||||
<view :class="v?.cgdType=='9' ?`tag-fail`:`tag-success`">
|
||||
<!-- <view :class="v?.cgdType=='9' ?`tag-fail`:`tag-success`">
|
||||
{{ v?.cgdType=='9' ?`已作废`:`已确定` }}
|
||||
</view> -->
|
||||
<view :class="v?.cgdType=='9' ?`tag-fail`:`tag-success`">
|
||||
|
||||
{{ v?.cgdType=='9' ?`已作废`:tagesstatues[Number(v.status)] }}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -127,7 +166,8 @@
|
|||
<view class="white-zhezhao"></view>
|
||||
<view class="contain-right">
|
||||
<view class="contain-right-title">
|
||||
<view class="contain-right-button" style="border-color: #D9DADC;box-shadow: 0 1rpx 3rpx #D9DADC;" @click="ification=true">
|
||||
<view class="contain-right-button" style="border-color: #D9DADC;box-shadow: 0 1rpx 3rpx #D9DADC;"
|
||||
@click="ification=true">
|
||||
<image class="buttont-img" src="/static/index/purchaseorder/select.png" />
|
||||
<view class="button-font">
|
||||
筛选
|
||||
|
|
@ -141,7 +181,7 @@
|
|||
</view>
|
||||
</view>
|
||||
<view class="contain-right-middle">
|
||||
<scroll-view scroll-y="true" class="middle-Y" >
|
||||
<scroll-view scroll-y="true" class="middle-Y">
|
||||
<view class="middle-Y-father">
|
||||
<view class="middle-one" v-for="(v,i) in InvoicingList" :key='i'
|
||||
:style="{border: middletarget === i? '4rpx dashed #1083F8': '4rpx solid transparent'}"
|
||||
|
|
@ -179,9 +219,9 @@
|
|||
<view class="tags-one">
|
||||
{{ showvalue?.typeId_dictText }}
|
||||
</view>
|
||||
<view class="tags-one">
|
||||
<!-- <view class="tags-one">
|
||||
{{ showvalue?.tagName }}
|
||||
</view>
|
||||
</view> -->
|
||||
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -356,7 +396,8 @@
|
|||
</view>
|
||||
</view>
|
||||
<view class="mengban" v-if="ification" @click="ification = false"></view>
|
||||
<classification @confirm="confirm" :show="ification" :typenum="2" :cgdId="plsbuy[lefttarget]?.id"></classification>
|
||||
<classification @confirm="confirm" :show="ification" :typenum="2" :cgdId="plsbuy[lefttarget]?.id">
|
||||
</classification>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
|
@ -371,7 +412,7 @@
|
|||
firstgetqueryCgdList();
|
||||
serverUrl.value = uni.getStorageSync('serverUrl') + '/sys/common/static/';
|
||||
})
|
||||
|
||||
const tagesstatues = ["待入库", "待完结", "已完结"];
|
||||
const searchValue = ref("");
|
||||
const middletarget = ref(0);
|
||||
|
||||
|
|
@ -392,7 +433,7 @@
|
|||
const firstgetqueryCgdList = () => {
|
||||
queryCgdList(plzinfo).then((res : any) => {
|
||||
plsbuy.value.push(...res.result.records)
|
||||
// console.log("zzzz", plsbuy.value)
|
||||
console.log("zzzz", plsbuy.value)
|
||||
if (res.result.records.length) {
|
||||
form.cgdId = plsbuy.value[0].id
|
||||
queryInvo();
|
||||
|
|
@ -404,13 +445,13 @@
|
|||
|
||||
})
|
||||
}
|
||||
const confirm =(e:any)=>{
|
||||
const confirm = (e : any) => {
|
||||
form.categoryId = e.categoryId;
|
||||
form.typeId = e.typeId;
|
||||
form.medicationId = e.medicationId;
|
||||
form.suppliers = e.suppliers;
|
||||
form.cgdId = e.cgdId;
|
||||
form.pageNo=1;
|
||||
form.pageNo = 1;
|
||||
InvoicingList.value = [];
|
||||
queryInvo();
|
||||
ification.value = false
|
||||
|
|
@ -462,7 +503,7 @@
|
|||
typeId: '',
|
||||
medicationId: '',
|
||||
wlParamInfo: '',
|
||||
suppliers:'',
|
||||
suppliers: '',
|
||||
cgdId: "",
|
||||
isWaring: 0,
|
||||
canpull: true,
|
||||
|
|
@ -487,7 +528,8 @@
|
|||
const InvoicingList = ref([])
|
||||
const queryInvo = () => {
|
||||
queryCgdInfoList(form).then(res => {
|
||||
console.log(res.result.records)
|
||||
// console.log(res.result.records)
|
||||
InvoicingList.value = [];
|
||||
InvoicingList.value.push(...res.result.records);
|
||||
clickmiddle(middletarget.value);
|
||||
})
|
||||
|
|
@ -562,7 +604,7 @@
|
|||
const badshow = ref(false);
|
||||
const donghuacs = ref(false)
|
||||
const bebad = (v) => {
|
||||
if(Number(v.status)==1){
|
||||
if (Number(v.status) == 1) {
|
||||
setTimeout(() => {
|
||||
uni.showToast({
|
||||
title: '只有采购阶段的单据才能作废',
|
||||
|
|
|
|||
|
|
@ -574,7 +574,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|||
)
|
||||
]);
|
||||
}
|
||||
const camera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/项目/hldy_app_mini/pages/camera.nvue"]]);
|
||||
const camera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/hldy_app_mini/pages/camera.nvue"]]);
|
||||
export {
|
||||
camera as default
|
||||
};
|
||||
|
|
|
|||
|
|
@ -577,7 +577,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|||
)
|
||||
]);
|
||||
}
|
||||
const fullcamera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/项目/hldy_app_mini/pages/fullcamera.nvue"]]);
|
||||
const fullcamera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/hldy_app_mini/pages/fullcamera.nvue"]]);
|
||||
export {
|
||||
fullcamera as default
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue