|
|
@@ -5,19 +5,11 @@
|
|
|
<form>
|
|
|
<view class="module-com input-line-wrap">
|
|
|
<TuiListCell class="line-cell" :hover="false" :arrow="false">
|
|
|
- <view class="tui-title ">门店</view>
|
|
|
- {{ shopInfo.shopName }}
|
|
|
+ <view class="tui-title ">门店</view>{{ shopInfo.shopName }}
|
|
|
</TuiListCell>
|
|
|
<TuiListCell class="line-cell" :hover="false" :arrow="false">
|
|
|
<view class="tui-title ">备注</view>
|
|
|
- <input
|
|
|
- v-model="remark"
|
|
|
- placeholder-class="phcolor"
|
|
|
- class="tui-input"
|
|
|
- placeholder="选填"
|
|
|
- maxlength="50"
|
|
|
- type="text"
|
|
|
- />
|
|
|
+ <input v-model="remark" placeholder-class="phcolor" class="tui-input" placeholder="选填" maxlength="50" type="text" />
|
|
|
</TuiListCell>
|
|
|
</view>
|
|
|
</form>
|
|
|
@@ -26,15 +18,11 @@
|
|
|
<block v-if="!$util.isEmpty(selectList)">
|
|
|
|
|
|
<view class="table-view">
|
|
|
- <view
|
|
|
- class="table-header"
|
|
|
- :style="{ backgroundColor: headerBackgroundColor }"
|
|
|
- >
|
|
|
+ <view class="table-header" >
|
|
|
<view class="table-th" v-for="(item, index) in columns" :key="index"
|
|
|
:style="{flex: item.width ? `0 0 ${item.width}upx` : '1',
|
|
|
textAlign: item.align || 'left',
|
|
|
- fontSzie: `${headerFontSize}upx`,
|
|
|
- margin: `0 ${gutter}upx`}">
|
|
|
+ }">
|
|
|
{{ item.name || "" }}
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -42,8 +30,8 @@
|
|
|
<view class="table-td" v-for="(column, columnIndex) in columns" :key="columnIndex"
|
|
|
:style="{flex: column.width ? `0 0 ${column.width}upx` : '1',
|
|
|
textAlign: column.align || 'left',
|
|
|
- fontSzie: `${fontSize}upx`,
|
|
|
- margin: `0 ${gutter}upx`}">
|
|
|
+
|
|
|
+ }">
|
|
|
<view v-if="column.custom == 'icon'" class="list-icon">
|
|
|
<image class="icon-image" :src="item.cover" alt="商品图" />
|
|
|
<view class="icon-info">
|
|
|
@@ -110,7 +98,7 @@ export default {
|
|
|
orderSn: null,
|
|
|
infoData: null,
|
|
|
autoLoad: false,
|
|
|
- shopInfo:null,
|
|
|
+ shopInfo:{shopName:''},
|
|
|
remark: "",
|
|
|
pageType: "inventory",
|
|
|
columns: [
|