|
@@ -6,17 +6,8 @@
|
|
|
<view class="module-com">
|
|
<view class="module-com">
|
|
|
<view class="commodity-view">
|
|
<view class="commodity-view">
|
|
|
<view class="commodity-list">
|
|
<view class="commodity-list">
|
|
|
- <view
|
|
|
|
|
- class="commodity-item"
|
|
|
|
|
- v-for="(item, index) in selectList"
|
|
|
|
|
- :key="index"
|
|
|
|
|
- >
|
|
|
|
|
- <image
|
|
|
|
|
- class="item-icon"
|
|
|
|
|
- :src="item.itemCover || item.cover"
|
|
|
|
|
- alt="商品图"
|
|
|
|
|
- />
|
|
|
|
|
-
|
|
|
|
|
|
|
+ <view class="commodity-item" v-for="(item, index) in selectList" :key="index" >
|
|
|
|
|
+ <image class="item-icon" :src="item.itemCover || item.cover" alt="商品图" />
|
|
|
<view class="item-info">
|
|
<view class="item-info">
|
|
|
<view class="info-line">
|
|
<view class="info-line">
|
|
|
<text class="item-name">{{ item.itemName }}</text>
|
|
<text class="item-name">{{ item.itemName }}</text>
|
|
@@ -31,9 +22,7 @@
|
|
|
<view class="info-line">
|
|
<view class="info-line">
|
|
|
<text class="item-type">b级</text>
|
|
<text class="item-type">b级</text>
|
|
|
<text class="item-count">
|
|
<text class="item-count">
|
|
|
- <text v-if="item.bigCount > 0 || item.smallCount > 0">{{
|
|
|
|
|
- `${item.bigCount}`
|
|
|
|
|
- }}</text>
|
|
|
|
|
|
|
+ <text v-if="item.bigCount > 0 || item.smallCount > 0">{{ `${item.bigCount}` }}</text>
|
|
|
<text v-if="item.smallCount > 0">/</text>
|
|
<text v-if="item.smallCount > 0">/</text>
|
|
|
<text v-if="item.smallCount > 0">{{ `${item.smallCount}` }}</text>
|
|
<text v-if="item.smallCount > 0">{{ `${item.smallCount}` }}</text>
|
|
|
</text>
|
|
</text>
|
|
@@ -54,31 +43,13 @@
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
- <!-- <view class="prompt-text">注: 请先关注公众号,绑定后可以在移动端自动登录</view> -->
|
|
|
|
|
-
|
|
|
|
|
<view class="module-com input-line-wrap">
|
|
<view class="module-com input-line-wrap">
|
|
|
<tui-list-cell class="line-cell" :hover="false" :arrow="false">
|
|
<tui-list-cell class="line-cell" :hover="false" :arrow="false">
|
|
|
<view class="tui-title ">供应商</view>
|
|
<view class="tui-title ">供应商</view>
|
|
|
<text>
|
|
<text>
|
|
|
{{ detailsInfo.supplierName || "" }}
|
|
{{ detailsInfo.supplierName || "" }}
|
|
|
- <!-- 欠款:91658.00 -->
|
|
|
|
|
</text>
|
|
</text>
|
|
|
</tui-list-cell>
|
|
</tui-list-cell>
|
|
|
- <!-- <tui-list-cell class="line-cell" :hover="false">
|
|
|
|
|
- <view class="tui-title "></view>
|
|
|
|
|
-
|
|
|
|
|
- <view class="tag-list">
|
|
|
|
|
- <view class="tag-item">
|
|
|
|
|
- 盛丰
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="tag-item">
|
|
|
|
|
- 盛丰
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="tag-item">
|
|
|
|
|
- 盛丰
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
- </tui-list-cell> -->
|
|
|
|
|
</view>
|
|
</view>
|
|
|
<view class="module-com input-line-wrap">
|
|
<view class="module-com input-line-wrap">
|
|
|
<tui-list-cell class="line-cell" :hover="false">
|
|
<tui-list-cell class="line-cell" :hover="false">
|
|
@@ -138,11 +109,6 @@
|
|
|
</tui-list-cell>
|
|
</tui-list-cell>
|
|
|
<tui-list-cell class="line-cell" :hover="false" :arrow="true">
|
|
<tui-list-cell class="line-cell" :hover="false" :arrow="true">
|
|
|
<view class="tui-title ">入库日期</view>
|
|
<view class="tui-title ">入库日期</view>
|
|
|
- <!-- <view class="tui-input" v-if="form.province || form.city">
|
|
|
|
|
- {{ form.province + "-" + form.city }}
|
|
|
|
|
- </view> -->
|
|
|
|
|
- <!-- <view class="tui-placeholder" v-else>请选择</view>
|
|
|
|
|
- <input v-model="form.province" name="province" hidden /> -->
|
|
|
|
|
<AppDatePicker
|
|
<AppDatePicker
|
|
|
v-if="canIEdit"
|
|
v-if="canIEdit"
|
|
|
:dateVal="form.entryTime"
|
|
:dateVal="form.entryTime"
|
|
@@ -179,11 +145,7 @@
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
<!-- 选择客户 -->
|
|
<!-- 选择客户 -->
|
|
|
- <AppCustomerSel
|
|
|
|
|
- :show.sync="showCustomer"
|
|
|
|
|
- @change="changeCustomerFn"
|
|
|
|
|
- :city="form.customer"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ <AppCustomerSel :show.sync="showCustomer" @change="changeCustomerFn" :city="form.customer" />
|
|
|
</view>
|
|
</view>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -194,14 +156,9 @@ import AppAvatarModule from "@/components/module/app-avatar";
|
|
|
import AppCustomerSel from "@/components/app-customer-sel";
|
|
import AppCustomerSel from "@/components/app-customer-sel";
|
|
|
const form = require("@/utils/formValidation.js");
|
|
const form = require("@/utils/formValidation.js");
|
|
|
import productMins from "@/mixins/product";
|
|
import productMins from "@/mixins/product";
|
|
|
-import {
|
|
|
|
|
- getPurchaseDetailApi,
|
|
|
|
|
- createPurchaseOrderApi
|
|
|
|
|
-} from "@/api/purchase/index";
|
|
|
|
|
|
|
+import { getPurchaseDetailApi, createPurchaseOrderApi } from "@/api/purchase/index";
|
|
|
import { PURCHASE_ORDER_STATUS } from "@/utils/declare";
|
|
import { PURCHASE_ORDER_STATUS } from "@/utils/declare";
|
|
|
-
|
|
|
|
|
import AppDatePicker from "@/components/app-date-picker";
|
|
import AppDatePicker from "@/components/app-date-picker";
|
|
|
-
|
|
|
|
|
export default {
|
|
export default {
|
|
|
// 采购详情
|
|
// 采购详情
|
|
|
components: {
|
|
components: {
|