Commit b76303e8 by liangjianmin

refactor(arrivalRegister): 统一模板中变量空格格式,提升代码可读性

- 在到货登记页面中统一了模板中变量的空格格式,增强了代码的一致性和可读性
- 优化了方法参数的格式,确保代码整洁性
- 继续改善到货登记逻辑,提升用户体验
parent 490993ad
Showing with 6 additions and 6 deletions
......@@ -64,7 +64,7 @@
</view>
<view class="text-item row verCenter">
<text class="label">采购员:</text>
<text class="t1">{{ item.stock_in_items[0].purchase_user }}/{{item.purchase_department_name}}</text>
<text class="t1">{{ item.stock_in_items[0].purchase_user }}/{{ item.purchase_department_name }}</text>
</view>
<view class="bor row"></view>
<view class="text-item row verCenter">
......@@ -109,7 +109,7 @@
</view>
<view class="text-item row verCenter" v-if="item.upstream_remark">
<text class="label">上游备注:</text>
<text class="tt" style="color: red;">{{item.upstream_remark}}</text>
<text class="tt" style="color: red;">{{ item.upstream_remark }}</text>
</view>
<view class="btn-box row bothSide">
<view class="row verCenter" style="margin-left: 79rpx;">
......@@ -173,7 +173,7 @@
<text class="t2">{{ item.goods_name }}</text>
</view>
<view class="row verCenter">
<text class="t3" style="margin-right: 10rpx;" v-if="item.box_sn">箱号:{{ item.box_sn}}</text>
<text class="t3" style="margin-right: 10rpx;" v-if="item.box_sn">箱号:{{ item.box_sn }}</text>
<text class="t3">销售员:{{ item.sale_user }}</text>
</view>
</view>
......@@ -304,7 +304,7 @@
}
this.getData();
},
bindPickerChange: function(e) {
bindPickerChange: function (e) {
console.log('picker发送选择改变,携带值为', e.detail.value);
this.index = e.detail.value;
},
......@@ -338,7 +338,7 @@
this.all_flag = !this.all_flag;
this.filter_list = createArray(this.list.length, this.all_flag);
if (this.all_flag) {
this.filter_id = this.list.map(function(item) {
this.filter_id = this.list.map(function (item) {
return item.stock_in_sn;
});
} else {
......@@ -378,7 +378,7 @@
* 单号搜索
* @param {Object} event
*/
handleInput: debounce(function(type, event) {
handleInput: debounce(function (type, event) {
this.resetChange();
var val = event.target.value;
this.searchParams.mobile_register_all_search = '';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment